qt5base-lts/tests/auto/testlib/selftests/selftest.pro
Tor Arne Vestbø e85c531c51 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>
2020-07-23 11:08:15 +02:00

24 lines
558 B
Prolog

CONFIG += testcase catch
SOURCES += tst_selftests.cpp catch.cpp
QT = core testlib-private
TARGET = tst_selftests
win32 {
CONFIG(debug, debug|release) {
TARGET = ../debug/tst_selftests
} else {
TARGET = ../release/tst_selftests
}
}
expected_files.files = $$files($$PWD/expected_*)
expected_files.base = $$PWD
RESOURCES += expected_files
include(selftests.pri)
DEFINES += SUBPROGRAMS=$$shell_quote($$SUBPROGRAMS)
!android: for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "$${file}/$${file}"
include($$QT_SOURCE_TREE/src/testlib/selfcover.pri)