summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qtextstream/test
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2016-03-11 11:14:49 +0100
committerMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2016-03-16 08:16:03 +0000
commiteef3afaa978a25743af7efdda169052b67cc744a (patch)
tree70fb83c47345cc495c99758f8bc6bde3be3e3bc5 /tests/auto/corelib/io/qtextstream/test
parente3638174983849c355f9d336759439f78497a3ee (diff)
QTextStream test: Change current directory
For platforms with builtin testdata/sandboxed platforms we need to change the current directory to be able to create files. Change-Id: I440205c95dd6df1308c6bf24b1b0f67fd697feab Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/io/qtextstream/test')
-rw-r--r--tests/auto/corelib/io/qtextstream/test/test.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qtextstream/test/test.pro b/tests/auto/corelib/io/qtextstream/test/test.pro
index 39d181344f..073aecdfba 100644
--- a/tests/auto/corelib/io/qtextstream/test/test.pro
+++ b/tests/auto/corelib/io/qtextstream/test/test.pro
@@ -21,3 +21,7 @@ TESTDATA += \
../tst_qtextstream.cpp \
../resources
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+
+builtin_testdata {
+ DEFINES += BUILTIN_TESTDATA
+}