diff --git a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml index d9c8892573d..05cc5262fbe 100644 --- a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml +++ b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml @@ -61,6 +61,11 @@ instructions: property: features contains_value: UseAddressSanitizer + # Always print the output from a failing test, even when ctest is not in verbose mode + - type: EnvironmentVariable + variableName: CTEST_OUTPUT_ON_FAILURE + variableValue: "1" + - type: AppendToEnvironmentVariable variableName: CTEST_ARGS variableValue: " --stop-on-failure"