mirror of https://github.com/qt/qtbase.git
Print output of failed tests only once
Fixes: QTBUG-118983 Change-Id: I4473f64a7f9ec838a2bc2f705af77fb4c5df35de Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit9379b634a8
) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit090acf35d1
) (cherry picked from commit84a9abad02
)
This commit is contained in:
parent
875f8a795f
commit
0b8cc04bb8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue