Skip to content

Commit ff0d194

Browse files
committed
ci: output message when test fails
1 parent 1e482ab commit ff0d194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ echo "building before tests ..."
2626
$ROOT/scripts/build.sh $DEBUG
2727

2828
echo "running test in debug build ..."
29-
cd $DBGDIR && ctest $ROOT
29+
cd $DBGDIR && ctest $ROOT --output-on-failure
3030

3131
if [ "$DEBUG" != "--debug" ]; then
3232
echo "running test in release build ..."
33-
cd $RELDIR && ctest $ROOT
33+
cd $RELDIR && ctest $ROOT --output-on-failure
3434
echo "TEST PASSED"
3535
else
3636
echo "DEBUG TEST PASSED"

0 commit comments

Comments
 (0)