diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-21 17:40:39 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-21 17:52:56 +0000 |
commit | 46b48f06ed8a2d60d6d8579db7d4015a3dea176c (patch) | |
tree | c8b52dd6576b180b68da45f032fcd3f93a906d8b /.travis | |
parent | 2b73b6298b1a496895b0baba90178948f6efa5e1 (diff) |
Always print output on failure in cmake tests on Travis.
Not only the second time it fails.
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/cmake-linux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis/cmake-linux b/.travis/cmake-linux index 347034af..fe5de10a 100755 --- a/.travis/cmake-linux +++ b/.travis/cmake-linux | |||
@@ -92,8 +92,8 @@ travis_script() { | |||
92 | 92 | ||
93 | cd _build # pushd | 93 | cd _build # pushd |
94 | make "-j$NPROC" -k install | 94 | make "-j$NPROC" -k install |
95 | make "-j$NPROC" test ARGS="-j50" || \ | 95 | ctest -j50 --output-on-failure || \ |
96 | make "-j$NPROC" test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE=1 | 96 | ctest -j50 --output-on-failure --rerun-failed |
97 | cd - # popd | 97 | cd - # popd |
98 | } | 98 | } |
99 | 99 | ||