2020-02-11 13:52:49 +00:00
|
|
|
CONFIG += testcase
|
2020-02-07 14:42:10 +00:00
|
|
|
SOURCES += tst_selftests.cpp catch.cpp
|
2020-02-11 13:52:49 +00:00
|
|
|
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)
|
2020-02-07 14:42:10 +00:00
|
|
|
DEFINES += SUBPROGRAMS=$$shell_quote($$SUBPROGRAMS)
|
2020-02-11 13:52:49 +00:00
|
|
|
!android:!winrt: for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "$${file}/$${file}"
|
|
|
|
|
|
|
|
include($$QT_SOURCE_TREE/src/testlib/selfcover.pri)
|