qt5base-lts/tests/auto/testlib/selftests/selftest.pro

24 lines
558 B
Prolog
Raw Normal View History

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)