From 94fc8750797ffd3ef867d0cdc7849492cfee2c23 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 7 Nov 2011 16:46:52 +1000 Subject: Cleanup corelib autotests Tidy the autotest .pro files. Most autotest .pro files should look like this: CONFIG += testcase TARGET = tst_something QT = core testlib SOURCES = tst_something.cpp Change-Id: I877c2194e9fa9dd13478d117895e1e255a948ad7 Reviewed-by: Rohan McGovern --- tests/auto/corelib/plugin/qpluginloader/tst/tst.pro | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'tests/auto/corelib/plugin/qpluginloader/tst/tst.pro') diff --git a/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro b/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro index 4a11bf4935..8714597988 100644 --- a/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro +++ b/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro @@ -1,25 +1,22 @@ CONFIG += testcase -SOURCES += ../tst_qpluginloader.cpp TARGET = ../tst_qpluginloader QT = core testlib -HEADERS += ../theplugin/plugininterface.h +SOURCES = ../tst_qpluginloader.cpp +HEADERS = ../theplugin/plugininterface.h +DEFINES += SRCDIR=\\\"$$PWD/../\\\" win32 { - CONFIG(debug, debug|release) { - TARGET = ../../debug/tst_qpluginloader -} else { - TARGET = ../../release/tst_qpluginloader - } + CONFIG(debug, debug|release) { + TARGET = ../../debug/tst_qpluginloader + } else { + TARGET = ../../release/tst_qpluginloader + } } - -wince*: { +wince* { addFiles.files = $$OUT_PWD/../bin/*.dll addFiles.path = bin DEPLOYMENT += addFiles } -DEFINES += SRCDIR=\\\"$$PWD/../\\\" -mac*:CONFIG+=insignificant_test - CONFIG += insignificant_test # QTBUG-21402 -- cgit v1.2.3