diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2023-11-03 13:15:54 +0100 |
---|---|---|
committer | Dimitrios Apostolou <jimis@qt.io> | 2023-11-05 12:20:12 +0100 |
commit | 737ed178033e6dd3358fbcc87db300ab21d65b32 (patch) | |
tree | 837eef6d1a6164bbc76807df36c209df052d5d3b /coin | |
parent | 6780195d4ed03c11adb7b97b79c73b711ffeba7b (diff) |
Always print output of a failing test
For now this affects only the ASAN-enabled testruns that are run
without "-V" in ctest's command line.
Pick-to: 6.6 6.5
Change-Id: Iaa889f950e5de0657523dc9bcb457968c1cbf29e
Reviewed-by: Toni Saario <toni.saario@qt.io>
Diffstat (limited to 'coin')
-rw-r--r-- | coin/instructions/cmake_run_ctest_enforce_exit_code.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml index 6846a79b15..db8c8242be 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" |