Skip to content

Commit d48e9c7

Browse files
committed
all.sh: Enable verbose failure messages for CMake
Set the CMake-observed variable `CTEST_OUTPUT_ON_FAILURE`, so that when a "make test" run by CMake fails, verbose test output about the detail of failure is available.
1 parent 8a23dc6 commit d48e9c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/scripts/all.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ pre_initialize_variables () {
137137
export MAKEFLAGS="-j"
138138
fi
139139

140+
# Include more verbose output for failing tests run by CMake
141+
export CTEST_OUTPUT_ON_FAILURE=1
142+
140143
# Gather the list of available components. These are the functions
141144
# defined in this script whose name starts with "component_".
142145
# Parse the script with sed, because in sh there is no way to list

0 commit comments

Comments
 (0)