qt5base-lts/tests/auto/testlib
Tor Arne Vestbø 24e83de8d1 Rewrite Qt Testlib selftest to not rely on Qt Testlib itself
We use the Catch2 testing framework to test Qt Testlib, which also opens
up the possibility of using it for other internal testing once it's made
available through the build system.

The test now has a --rebase mode which will write out the actual results
as new expected files. Once we add the required post-processing to the
results to remove timestamps and other testrun-specific data we can
remove the standalone python script generate_expected_output.py that
today has to be kept in sync with the test itself.

No attempt has been made to clean up the comparison-functions, but
these could all benefit from moving their logic from the comparison
to the sanitization step. This will both make the expected files
more generic, and will reduce the diff once a failure occurs, since
we're not seeing all the hunks that the comparison-functions ignored.

Change-Id: I1769d42e7958d56d1ad5da958db0e8fe3a2a3c23
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-05-11 15:42:28 +02:00
..
initmain QTestLib: Introduce initMain() to run in main before qApp exists 2019-08-13 19:07:05 +02:00
outformat
qabstractitemmodeltester Regenerate tests/auto/testlib 2019-11-13 13:36:00 +00:00
qsignalspy Regenerate tests/auto/testlib 2019-11-13 13:36:00 +00:00
selftests Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
.prev_CMakeLists.txt Regenerate some of the test projects that do SUBDIRS += foo 2019-08-07 11:55:38 +00:00
CMakeLists.txt CMake: Enable testlib selftests 2020-03-18 16:28:30 +01:00
testlib.pro QTestLib: Introduce initMain() to run in main before qApp exists 2019-08-13 19:07:05 +02:00