mirror of https://github.com/Gnucash/gnucash
Setting CTEST_OUTPUT_ON_FAILURE will cause ctest to log all output from failing tests (and only from failing tests). This will reduce our ci output in case of failures as our homebrew script 'afterfailure' would output all test logs in case of failure not only the output of failed tests.pull/656/head
parent
95857a8b99
commit
b5dfef628e
@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ "$BUILDTYPE" == "cmake-make" ]] || [[ "$BUILDTYPE" == "cmake-ninja" ]]; then
|
||||
echo "########################";
|
||||
echo "##### LastTest.log #####";
|
||||
echo "########################";
|
||||
cat /build/Testing/Temporary/LastTest.log;
|
||||
else
|
||||
echo "Unknown BUILDTYPE: \"$BUILDTYPE\", cannot create failure information.";
|
||||
fi
|
||||
# This script should fail so that the entire script will fail.
|
||||
exit 1;
|
||||
Loading…
Reference in new issue