qt5base-lts/tests/auto/testlib/selftests/expected_deleteLater.tap
Edward Welbourne 1c24b4b8d9 Match up testlib selftest's lists of generated files
The actual files present for expected data, the test function that
selected which tests to skip and the python function to select which
to not generate data for weren't in sync with one another.

The test-code's reason for omitting three tests was that we lacked
data files for them. So generate those and skip that exception. The
generator script's code to decide which to generate didn't exclude
anything like as many, so update it to match the test-code. In the
process, save repeating a startswith test that was used both
positively and negatively, unifying two conditions.

Extend the generator script's handling of its --skip-callgrind option
by auto-setting that option if valgrind isn't available, to match the
driver program's similar skipping.

The generated data included many files for tests we skip and, as
mentioned already, lacked files for some tests we only skipped because
we lacked them. Remove the unused files, add the lacking ones.

Change-Id: If91696cdd95b7b0d5f3d686bff839f1bf15e121b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2021-12-09 20:54:25 +01:00

12 lines
275 B
Plaintext

TAP version 13
# tst_DeleteLater
ok 1 - initTestCase()
ok 2 - qtestLibShouldFlushDeleteLaterBetweenTests_setup()
ok 3 - qtestLibShouldFlushDeleteLaterBetweenTests_check()
ok 4 - qtestLibShouldFlushDeleteLaterOnExit()
ok 5 - cleanupTestCase()
1..5
# tests 5
# pass 5
# fail 0