From d48e9c713e32857688682a467ce83039fa262d8c Mon Sep 17 00:00:00 2001 From: Jaeden Amero Date: Thu, 7 Feb 2019 17:43:39 +0000 Subject: [PATCH] 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. --- tests/scripts/all.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 11d10a367..19c725f2f 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -137,6 +137,9 @@ pre_initialize_variables () { export MAKEFLAGS="-j" fi + # Include more verbose output for failing tests run by CMake + export CTEST_OUTPUT_ON_FAILURE=1 + # Gather the list of available components. These are the functions # defined in this script whose name starts with "component_". # Parse the script with sed, because in sh there is no way to list