summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-09-27 16:05:46 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-12-09 20:54:26 +0100
commit8d0b5270fa57f9825215ffdb29ad450457ddb05b (patch)
tree955179fc1282c61dd9566cf59e37b780d8f9f7c8 /tests/auto/testlib/selftests
parent24b4f5b16cd27371152154dc667387d6f54713ff (diff)
TAP test logger: skip XFail results as well as pass after an XFail
The rationale for skipping pass after XFail is "to emit a single test point for" the test; emitting several XFails violates that aim. Task-number: QTBUG-96844 Change-Id: Ia8626dfc2dded234b3aa530fc2dc2324f1e28400 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/testlib/selftests')
-rw-r--r--tests/auto/testlib/selftests/expected_expectfail.tap12
-rw-r--r--tests/auto/testlib/selftests/expected_strcmp.tap12
2 files changed, 0 insertions, 24 deletions
diff --git a/tests/auto/testlib/selftests/expected_expectfail.tap b/tests/auto/testlib/selftests/expected_expectfail.tap
index ef464e41b0..c520bc25c0 100644
--- a/tests/auto/testlib/selftests/expected_expectfail.tap
+++ b/tests/auto/testlib/selftests/expected_expectfail.tap
@@ -70,12 +70,6 @@ not ok 11 - xfailWithQString() # TODO A string
file: qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp
line: 0
...
-not ok 11 - xfailWithQString() # TODO Bug 5 (The message)
- ---
- at: tst_ExpectFail::xfailWithQString() (qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp:0)
- file: qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp
- line: 0
- ...
ok 12 - xfailDataDrivenWithQString(Pass Abort) # SKIP Each Continue or Pass reports this and increments skip-count
ok 13 - xfailDataDrivenWithQString(Pass Continue) # SKIP Each Continue or Pass reports this and increments skip-count
not ok 14 - xfailDataDrivenWithQString(Fail Abort) # TODO A string
@@ -90,12 +84,6 @@ not ok 15 - xfailDataDrivenWithQString(Fail Continue) # TODO A string
file: qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp
line: 0
...
-not ok 15 - xfailDataDrivenWithQString(Fail Continue) # TODO Bug 5 (The message)
- ---
- at: tst_ExpectFail::xfailDataDrivenWithQString() (qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp:0)
- file: qtbase/tests/auto/testlib/selftests/expectfail/tst_expectfail.cpp
- line: 0
- ...
ok 15 - xfailDataDrivenWithQString(Fail Continue) # SKIP Each Continue or Pass reports this and increments skip-count
ok 16 - xfailDataDrivenWithQVerify(Pass Abort)
ok 17 - xfailDataDrivenWithQVerify(Pass Continue)
diff --git a/tests/auto/testlib/selftests/expected_strcmp.tap b/tests/auto/testlib/selftests/expected_strcmp.tap
index c516df367d..0ff00d9b67 100644
--- a/tests/auto/testlib/selftests/expected_strcmp.tap
+++ b/tests/auto/testlib/selftests/expected_strcmp.tap
@@ -8,18 +8,6 @@ not ok 3 - compareByteArray() # TODO Next test should fail
file: qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp
line: 0
...
-not ok 3 - compareByteArray() # TODO Next test should fail
- ---
- at: tst_StrCmp::compareByteArray() (qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp:0)
- file: qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp
- line: 0
- ...
-not ok 3 - compareByteArray() # TODO Next test should fail
- ---
- at: tst_StrCmp::compareByteArray() (qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp:0)
- file: qtbase/tests/auto/testlib/selftests/strcmp/tst_strcmp.cpp
- line: 0
- ...
not ok 3 - compareByteArray()
---
type: QCOMPARE