Always print output on failure in cmake tests on Travis.

Not only the second time it fails.
This commit is contained in:
iphydf 2018-08-21 17:40:39 +00:00
parent 2b73b6298b
commit 46b48f06ed
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -92,8 +92,8 @@ travis_script() {
cd _build # pushd cd _build # pushd
make "-j$NPROC" -k install make "-j$NPROC" -k install
make "-j$NPROC" test ARGS="-j50" || \ ctest -j50 --output-on-failure || \
make "-j$NPROC" test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE=1 ctest -j50 --output-on-failure --rerun-failed
cd - # popd cd - # popd
} }