diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2023-10-18 15:45:44 +0200 |
---|---|---|
committer | Dimitrios Apostolou <jimis@qt.io> | 2023-10-19 19:09:01 +0200 |
commit | ba1eec62a864428e4486b1e15f41ff06fc8f60d4 (patch) | |
tree | 3b3418d6772bd38856551c18ed40f8dc13ab0fc5 /coin | |
parent | 113a6b89b8ddc841ef6717d79b8b119f8449703b (diff) |
Keep the testrun quiet for ASAN testruns
This is purely cosmetic, to avoid confusion when reading the logs and
find many "FAIL!" strings all over the place. The ASAN testrun only
cares for "ERROR: AddressSanitizer" type errors, and tests pass even
if they print "FAIL!" (that is taken care by sanitizer-testrunner.py).
Fixes: QTQAINFRA-5896
Pick-to: 6.6 6.5
Change-Id: Ib7a5fb2c3ee56581db20efb4dd7cf24a053d5c13
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'coin')
-rw-r--r-- | coin/instructions/cmake_run_ctest_enforce_exit_code.yaml | 7 |
1 files changed, 7 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 e3017a4005..b68792f890 100644 --- a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml +++ b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml @@ -51,9 +51,16 @@ instructions: condition: property property: host.os equals_value: Windows + - 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 + - type: AppendToEnvironmentVariable variableName: CTEST_ARGS variableValue: " --stop-on-failure" |