From 048aee1fb719a2da47ea2790e447b090479cced9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 1 Oct 2018 10:25:00 +0300 Subject: [PATCH] Print output of failed Travis tests If a unit test fails, print the output. --- .travis/build_maxscale.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/build_maxscale.sh b/.travis/build_maxscale.sh index 153ccb6e3..94adeb3e0 100644 --- a/.travis/build_maxscale.sh +++ b/.travis/build_maxscale.sh @@ -18,7 +18,7 @@ cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=Y make -make test || exit 1 +ctest --output-on-failure || exit 1 sudo make install sudo ./postinst