From 46b48f06ed8a2d60d6d8579db7d4015a3dea176c Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 21 Aug 2018 17:40:39 +0000 Subject: [PATCH] Always print output on failure in cmake tests on Travis. Not only the second time it fails. --- .travis/cmake-linux | 4 ++-- 1 file 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() { cd _build # pushd make "-j$NPROC" -k install - make "-j$NPROC" test ARGS="-j50" || \ - make "-j$NPROC" test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE=1 + ctest -j50 --output-on-failure || \ + ctest -j50 --output-on-failure --rerun-failed cd - # popd }