Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ctest: Only output test output on failure
The test output of passing tests is most of the time unnecessary noise when investigating a test failure in a failing test. With the size of the qtbase log being 25MB uncompressed, working with these logs locally or in a (mobile) browser is also painful. We now disable verbose test output in ctest, and only output test output if the test fails. We still run our tests with -o foo.txt,txt and these files are uploaded to coin's artifact storage, so the full logs are available if closer inspections are needed. We also store CMake's LastTest.log, which include verbose output of all non-testlib tests. The verboseness of the coin config can also be enabled via the VerboseCTestOutput feature, either for specific configs, or on demand when scheduling a check via coin. Fixes: QTQAINFRA-6592 Fixes: QTBUG-109441 Change-Id: I5cdfb8839190b1598f12b7f9ea1d9a242a32a790 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Daniel Smith <daniel.smith@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
- Loading branch information