summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qfile/test
diff options
context:
space:
mode:
authorHolger Ihrig <holger.ihrig@nokia.com>2011-08-24 12:53:32 +0200
committerHolger Ihrig <holger.ihrig@nokia.com>2011-08-31 10:08:38 +0200
commit012ba8c0e5270f962dbc891039c32f49d31c565b (patch)
tree499a88b02862551708eb0f2c0f366afa8b998054 /tests/auto/corelib/io/qfile/test
parenta7d682dd9c9271d137d5aa73a9192a812492a596 (diff)
Moving relevant tests to corelib/io
Marked Test for qdiriterator as insignificant. See QTBUG-21160 Marked Test for qresourceengine as insignificant. See QTBUG-21159 Task-number: QTBUG-21066 Change-Id: I72848a651ff3e7aff1d6105dd49124e4ed070a44 Reviewed-on: http://codereview.qt.nokia.com/3577 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io/qfile/test')
-rw-r--r--tests/auto/corelib/io/qfile/test/test.pro44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qfile/test/test.pro b/tests/auto/corelib/io/qfile/test/test.pro
new file mode 100644
index 0000000000..f4ec12f874
--- /dev/null
+++ b/tests/auto/corelib/io/qfile/test/test.pro
@@ -0,0 +1,44 @@
+load(qttest_p4)
+SOURCES += ../tst_qfile.cpp
+
+wince*|symbian {
+ QT = core gui
+ files.files += ..\\dosfile.txt ..\\noendofline.txt ..\\testfile.txt \
+ ..\\testlog.txt ..\\two.dots.file ..\\tst_qfile.cpp \
+ ..\\Makefile ..\\forCopying.txt ..\\forRenaming.txt
+ files.path = .
+ resour.files += ..\\resources\\file1.ext1
+ resour.path = resources
+
+ DEPLOYMENT += files resour
+}
+
+wince* {
+ SOURCES += $$QT_SOURCE_TREE/src/corelib/kernel/qfunctions_wince.cpp # needed for QT_OPEN
+ DEFINES += SRCDIR=\\\"\\\"
+} else:symbian {
+ # do not define SRCDIR at all
+ TARGET.EPOCHEAPSIZE = 0x100000 0x3000000
+} else {
+ QT = core network
+ DEFINES += SRCDIR=\\\"$$PWD/../\\\"
+}
+
+RESOURCES += ../qfile.qrc ../rename-fallback.qrc ../copy-fallback.qrc
+
+TARGET = ../tst_qfile
+
+win32 {
+ CONFIG(debug, debug|release) {
+ TARGET = ../../debug/tst_qfile
+ } else {
+ TARGET = ../../release/tst_qfile
+ }
+ LIBS+=-lole32 -luuid
+}
+
+symbian {
+ LIBS+=-lefsrv
+}
+
+mac*:CONFIG+=insignificant_test