qt5base-lts/tests/auto/testlib/selftests/test/test.pro
Kurt Korbatits 28bfa8f6cc Changed selftests unittest to work from installation directory.
- All subprograms installed as part of test instead of separate installs
- Added installTestHelperApp() to testcase.prf

Change-Id: I02fbbb299f095054c9216ad0e5f91f574fb0fe3d
Reviewed-by: Kurt Korbatits  <kurt.korbatits@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-01-11 04:09:26 +01:00

21 lines
451 B
Prolog

CONFIG += testcase
SOURCES += ../tst_selftests.cpp
QT = core xml testlib-private
TARGET = ../tst_selftests
win32 {
CONFIG(debug, debug|release) {
TARGET = ../../debug/tst_selftests
} else {
TARGET = ../../release/tst_selftests
}
}
RESOURCES += ../selftests.qrc
include(../selftests.pri)
load(testcase) # for target.path and installTestHelperApp()
for(file, SUBPROGRAMS): installTestHelperApp("../$${file}/$${file}",$${file},$${file})