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>
This commit is contained in:
parent
ca34c1c647
commit
090acf35d1
@ -52,19 +52,22 @@ instructions:
|
|||||||
property: host.os
|
property: host.os
|
||||||
equals_value: Windows
|
equals_value: Windows
|
||||||
|
|
||||||
|
# Keep the testrun quiet for ASAN testruns, since there are FAILs happening all over the place...
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
variableName: CTEST_ARGS
|
variableName: CTEST_ARGS
|
||||||
variableValue: "-V"
|
variableValue: "-V"
|
||||||
# Keep the testrun quiet for ASAN testruns, since there are FAILs happening all over the place
|
|
||||||
disable_if:
|
disable_if:
|
||||||
condition: property
|
condition: property
|
||||||
property: features
|
property: features
|
||||||
contains_value: UseAddressSanitizer
|
contains_value: UseAddressSanitizer
|
||||||
|
# ...and only print the output from a failing test, i.e. test with ASAN errors.
|
||||||
# Always print the output from a failing test, even when ctest is not in verbose mode
|
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
variableName: CTEST_OUTPUT_ON_FAILURE
|
variableName: CTEST_OUTPUT_ON_FAILURE
|
||||||
variableValue: "1"
|
variableValue: "1"
|
||||||
|
enable_if:
|
||||||
|
condition: property
|
||||||
|
property: features
|
||||||
|
contains_value: UseAddressSanitizer
|
||||||
|
|
||||||
- type: AppendToEnvironmentVariable
|
- type: AppendToEnvironmentVariable
|
||||||
variableName: CTEST_ARGS
|
variableName: CTEST_ARGS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user