summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qfile
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-07 16:46:52 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-11 02:45:05 +0100
commit94fc8750797ffd3ef867d0cdc7849492cfee2c23 (patch)
tree2be26c742cd693cf9683b10a8cea2b17a0eac8da /tests/auto/corelib/io/qfile
parentb0a7af6b4debecd7226289f278e5acf571d80c64 (diff)
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 <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io/qfile')
-rw-r--r--tests/auto/corelib/io/qfile/largefile/largefile.pro7
-rw-r--r--tests/auto/corelib/io/qfile/test/test.pro11
2 files changed, 5 insertions, 13 deletions
diff --git a/tests/auto/corelib/io/qfile/largefile/largefile.pro b/tests/auto/corelib/io/qfile/largefile/largefile.pro
index ca2a1864bd..4e629122ec 100644
--- a/tests/auto/corelib/io/qfile/largefile/largefile.pro
+++ b/tests/auto/corelib/io/qfile/largefile/largefile.pro
@@ -1,9 +1,6 @@
-CONFIG += testcase
+CONFIG += testcase parallel_test
TARGET = tst_largefile
-
QT = core testlib
-SOURCES += tst_largefile.cpp
+SOURCES = tst_largefile.cpp
wince*: SOURCES += $$QT_SOURCE_TREE/src/corelib/kernel/qfunctions_wince.cpp
-
-CONFIG += parallel_test
diff --git a/tests/auto/corelib/io/qfile/test/test.pro b/tests/auto/corelib/io/qfile/test/test.pro
index 44dd20cf50..aca034b098 100644
--- a/tests/auto/corelib/io/qfile/test/test.pro
+++ b/tests/auto/corelib/io/qfile/test/test.pro
@@ -1,5 +1,7 @@
CONFIG += testcase
-SOURCES += ../tst_qfile.cpp
+TARGET = ../tst_qfile
+SOURCES = ../tst_qfile.cpp
+RESOURCES += ../qfile.qrc ../rename-fallback.qrc ../copy-fallback.qrc
wince* {
QT = core gui testlib
@@ -11,9 +13,6 @@ wince* {
resour.path = resources
DEPLOYMENT += files resour
-}
-
-wince* {
SOURCES += $$QT_SOURCE_TREE/src/corelib/kernel/qfunctions_wince.cpp # needed for QT_OPEN
DEFINES += SRCDIR=\\\"\\\"
} else {
@@ -21,10 +20,6 @@ wince* {
DEFINES += SRCDIR=\\\"$$PWD/../\\\"
}
-RESOURCES += ../qfile.qrc ../rename-fallback.qrc ../copy-fallback.qrc
-
-TARGET = ../tst_qfile
-
win32 {
CONFIG(debug, debug|release) {
TARGET = ../../debug/tst_qfile