summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/codecs
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/codecs
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/codecs')
-rw-r--r--tests/auto/corelib/codecs/qtextcodec/test/test.pro47
1 files changed, 19 insertions, 28 deletions
diff --git a/tests/auto/corelib/codecs/qtextcodec/test/test.pro b/tests/auto/corelib/codecs/qtextcodec/test/test.pro
index 6178fcf665..16b831ec03 100644
--- a/tests/auto/corelib/codecs/qtextcodec/test/test.pro
+++ b/tests/auto/corelib/codecs/qtextcodec/test/test.pro
@@ -1,33 +1,24 @@
CONFIG += testcase
QT += testlib
+SOURCES = ../tst_qtextcodec.cpp
-SOURCES += ../tst_qtextcodec.cpp
-
-!wince*: {
-TARGET = ../tst_qtextcodec
-
-win32: {
- CONFIG(debug, debug|release) {
- TARGET = ../../debug/tst_qtextcodec
-} else {
- TARGET = ../../release/tst_qtextcodec
- }
-}
-} else {
- TARGET = tst_qtextcodec
-}
-
-wince* {
- addFiles.files = ../*.txt
- addFiles.path = .
- DEPLOYMENT += addFiles
- wince*|qt_not_deployed {
- DEPLOYMENT_PLUGIN += qcncodecs qjpcodecs qkrcodecs qtwcodecs
- }
-}
-
-wince*: {
- DEFINES += SRCDIR=\\\"\\\"
+!wince* {
+ TARGET = ../tst_qtextcodec
+ win32: {
+ CONFIG(debug, debug|release) {
+ TARGET = ../../debug/tst_qtextcodec
+ } else {
+ TARGET = ../../release/tst_qtextcodec
+ }
+ }
+ DEFINES += SRCDIR=\\\"$$PWD/../\\\"
} else {
- DEFINES += SRCDIR=\\\"$$PWD/../\\\"
+ TARGET = tst_qtextcodec
+ addFiles.files = ../*.txt
+ addFiles.path = .
+ DEPLOYMENT += addFiles
+ qt_not_deployed {
+ DEPLOYMENT_PLUGIN += qcncodecs qjpcodecs qkrcodecs qtwcodecs
+ }
+ DEFINES += SRCDIR=\\\"\\\"
}