Fixed appveyor not displaying the test logs in the event of failure
This commit is contained in:
parent
5388dd0341
commit
3e0cba01f4
1 changed files with 5 additions and 1 deletions
|
@ -60,7 +60,11 @@ before_deploy:
|
|||
|
||||
test_script:
|
||||
- cmake --build . --target criterion_tests
|
||||
- ps: try { ctest -j2 } catch { type Testing/Temporary/LastTest.log }
|
||||
- ps: |
|
||||
ctest -j2
|
||||
if (-not $lastexitcode -eq 0) {
|
||||
type Testing/Temporary/LastTest.log
|
||||
}
|
||||
|
||||
#after_test:
|
||||
# - 'make coveralls'
|
||||
|
|
Loading…
Add table
Reference in a new issue