qt5base-lts/tests/auto/testlib/selftests/test/test.pro
Rohan McGovern b1e59467fb Make tst_selftests parallel-safe.
Use a QTemporaryDir for temporary files, instead of the current working
directory.

Change-Id: Ifeb2944238f785a1f7beb0dc2a7c1e092d121db5
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
2012-05-29 09:39:18 +02:00

22 lines
475 B
Prolog

CONFIG += testcase
CONFIG += parallel_test
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})