diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-23 09:53:18 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-23 11:08:15 +0200 |
commit | e85c531c5111bf8305d5789d90d151204952ddb1 (patch) | |
tree | 49f0a2b34c192484cae7aa2a1556ce071d9c6e0f /tests/auto/testlib | |
parent | f16ab166bc7e33c6d4d4aa606618c8ed152608f1 (diff) |
testlib selftest: Don't pass TESTARGS to Catch2
It doesn't understand the arguments we usually pass to testlib.
Change-Id: Iea83d1d8c31a510b2bc442cbfc810eac631322e7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/testlib')
-rw-r--r-- | tests/auto/testlib/selftests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/auto/testlib/selftests/selftest.pro | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/CMakeLists.txt b/tests/auto/testlib/selftests/CMakeLists.txt index bce68a37d8..7445776561 100644 --- a/tests/auto/testlib/selftests/CMakeLists.txt +++ b/tests/auto/testlib/selftests/CMakeLists.txt @@ -8,6 +8,7 @@ include(../../../../src/testlib/selfcover.cmake) qt_add_test(tst_selftests OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/" EXCEPTIONS + CATCH SOURCES ../../../shared/emulationdetector.h tst_selftests.cpp diff --git a/tests/auto/testlib/selftests/selftest.pro b/tests/auto/testlib/selftests/selftest.pro index 4d926d3572..4cb3cf6798 100644 --- a/tests/auto/testlib/selftests/selftest.pro +++ b/tests/auto/testlib/selftests/selftest.pro @@ -1,4 +1,4 @@ -CONFIG += testcase +CONFIG += testcase catch SOURCES += tst_selftests.cpp catch.cpp QT = core testlib-private |