3a5f86d784
Based on Asmo Saarela's advice (QTPM-686), adapted on advice from FrogLogic support and converted to a feature so that the selftest and testlib qmake config can be co-ordinated. Task-number: QTPM-1385 Change-Id: Icd706f086009e1e08b3f8c5cd553f792402e28c0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
23 lines
521 B
Prolog
23 lines
521 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)
|