Fixed appveyor not displaying the test logs in the event of failure

This commit is contained in:
Snaipe 2015-11-16 16:34:00 +01:00
parent 5388dd0341
commit 3e0cba01f4

View file

@ -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'