summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorDimitrios Apostolou <jimis@qt.io>2024-02-22 15:50:46 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-02-26 21:34:48 +0000
commit090acf35d1b946f165ee5361446d8d28c3e8af6f (patch)
tree1e9b8b4f45389e3a941871553d62d7207a48c195 /coin
parentca34c1c6475d27c2aa2c6ba0f7e5603c275c5dd8 (diff)
Print output of failed tests only once
Pick-to: 6.6 6.5 Fixes: QTBUG-118983 Change-Id: I4473f64a7f9ec838a2bc2f705af77fb4c5df35de Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit 9379b634a8a49d809441b0616bac7733dad670ae) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'coin')
-rw-r--r--coin/instructions/cmake_run_ctest_enforce_exit_code.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml
index 8551cbbda2..4d5d25a240 100644
--- a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml
+++ b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml
@@ -52,19 +52,22 @@ instructions:
property: host.os
equals_value: Windows
+ # Keep the testrun quiet for ASAN testruns, since there are FAILs happening all over the place...
- type: EnvironmentVariable
variableName: CTEST_ARGS
variableValue: "-V"
- # Keep the testrun quiet for ASAN testruns, since there are FAILs happening all over the place
disable_if:
condition: property
property: features
contains_value: UseAddressSanitizer
-
- # Always print the output from a failing test, even when ctest is not in verbose mode
+ # ...and only print the output from a failing test, i.e. test with ASAN errors.
- type: EnvironmentVariable
variableName: CTEST_OUTPUT_ON_FAILURE
variableValue: "1"
+ enable_if:
+ condition: property
+ property: features
+ contains_value: UseAddressSanitizer
- type: AppendToEnvironmentVariable
variableName: CTEST_ARGS