23 lines
497 B
Prolog
23 lines
497 B
Prolog
|
CONFIG += testcase
|
||
|
SOURCES += tst_selftests.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)
|
||
|
!android:!winrt: for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "$${file}/$${file}"
|
||
|
|
||
|
include($$QT_SOURCE_TREE/src/testlib/selfcover.pri)
|