summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_globaldata.junitxml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-01-13 11:21:01 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-01-15 18:05:40 +0100
commit539553a57216c4ece292ff54fb623807c334cdb6 (patch)
tree55c4c80b5fe764717dbe32169dd1906a5cf6bcb5 /tests/auto/testlib/selftests/expected_globaldata.junitxml
parent7f5d41e286e043c5f3061e2eb5a0128102a38c80 (diff)
QTestlib/JUnit XML: Log most messages to standard output instead of error output
Add an enumeration for system-out and alog element for it. Redirect the messages types that are not warnings/errors to this element. For compatibility, write it out only if it is not empty. Rename enumerations and members accordingly. [ChangeLog][QtTestLib] In JUnit XML, output that is not a warning/error is now logged under <system-out> instead of <system-err>. Fixes: QTBUG-86540 Change-Id: I55598eafa7dafa486ac5a8221029c332ff47413b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_globaldata.junitxml')
-rw-r--r--tests/auto/testlib/selftests/expected_globaldata.junitxml5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/testlib/selftests/expected_globaldata.junitxml b/tests/auto/testlib/selftests/expected_globaldata.junitxml
index 6a24fd099b..d371a5affd 100644
--- a/tests/auto/testlib/selftests/expected_globaldata.junitxml
+++ b/tests/auto/testlib/selftests/expected_globaldata.junitxml
@@ -60,7 +60,7 @@
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@">
<!-- type="qdebug" message="cleanupTestCase cleanupTestCase (null)" -->
</testcase>
- <system-err>
+ <system-out>
<![CDATA[initTestCase initTestCase (null)]]>
<![CDATA[init testGlobal local=false]]>
<![CDATA[global: false]]>
@@ -104,5 +104,6 @@
<![CDATA[global: true local: true]]>
<![CDATA[cleanup skipSingle local=true]]>
<![CDATA[cleanupTestCase cleanupTestCase (null)]]>
- </system-err>
+ </system-out>
+ <system-err/>
</testsuite>