From f6c7eb5f0f59f183d327b732a088646f972805d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 2 Aug 2021 16:05:07 +0200 Subject: testlib: Only generate expecations for silent test with plain logger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The -silent option to tests is only supported with the plain text logger, so we don't need to maintain expectation files for the others. Pick-to: 6.2 Change-Id: I0f42bfe90d82b7ce04f550c747d4a80e99621e74 Reviewed-by: Edward Welbourne Reviewed-by: MÃ¥rten Nordheim --- tests/auto/testlib/selftests/expected_silent.teamcity | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 tests/auto/testlib/selftests/expected_silent.teamcity (limited to 'tests/auto/testlib/selftests/expected_silent.teamcity') diff --git a/tests/auto/testlib/selftests/expected_silent.teamcity b/tests/auto/testlib/selftests/expected_silent.teamcity deleted file mode 100644 index a8b90b296a..0000000000 --- a/tests/auto/testlib/selftests/expected_silent.teamcity +++ /dev/null @@ -1,12 +0,0 @@ -##teamcity[testSuiteStarted name='tst_Silent' flowId='tst_Silent'] -##teamcity[testStarted name='fail()' flowId='tst_Silent'] -##teamcity[testFailed name='fail()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/silent/tst_silent.cpp(0)|]' details='|'false|' returned FALSE. (This test should fail)' flowId='tst_Silent'] -##teamcity[testFinished name='fail()' flowId='tst_Silent'] -##teamcity[testStarted name='xpass()' flowId='tst_Silent'] -##teamcity[testFailed name='xpass()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/silent/tst_silent.cpp(0)|]' details='|'true|' returned TRUE unexpectedly. (This test should XPASS)' flowId='tst_Silent'] -##teamcity[testFinished name='xpass()' flowId='tst_Silent'] -##teamcity[testStarted name='messages()' flowId='tst_Silent'] -##teamcity[testFailed name='messages()' message='Failure! |[Loc: qtbase/tests/auto/testlib/selftests/silent/tst_silent.cpp(0)|]' details='Received a fatal error.' flowId='tst_Silent'] -##teamcity[testStdOut name='messages()' out='QFATAL: This is a fatal error message that should still appear in silent test output' flowId='tst_Silent'] -##teamcity[testFinished name='messages()' flowId='tst_Silent'] -##teamcity[testSuiteFinished name='tst_Silent' flowId='tst_Silent'] -- cgit v1.2.3