cmake: set CTEST_OUTPUT_ON_FAILURE globally

We should always use this.
This commit is contained in:
Matthew Bauer
2018-11-19 16:16:16 -06:00
parent b75d5adb33
commit 285eb9a894
5 changed files with 4 additions and 9 deletions
@@ -15,6 +15,8 @@ fixCmakeFiles() {
cmakeConfigurePhase() {
runHook preConfigure
export CTEST_OUTPUT_ON_FAILURE=1
if [ -z "$dontFixCmake" ]; then
fixCmakeFiles .
fi
@@ -15,7 +15,6 @@ ninjaBuildPhase() {
echoCmd 'build flags' "${flagsArray[@]}"
ninja "${flagsArray[@]}"
unset flagsArray
runHook postBuild
}
@@ -35,7 +34,6 @@ ninjaInstallPhase() {
echoCmd 'install flags' "${flagsArray[@]}"
ninja "${flagsArray[@]}"
unset flagsArray
runHook postInstall
}
@@ -70,7 +68,6 @@ ninjaCheckPhase() {
echoCmd 'check flags' "${flagsArray[@]}"
ninja "${flagsArray[@]}"
unset flagsArray
fi
runHook postCheck