diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-05-27 09:31:28 +0300 |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-05-27 09:31:28 +0300 |
commit | 33368fa3541fb38c3afc1d525da2cd837f2920a1 (patch) | |
tree | fec008159e986618feeae1c97588d9001498de0c /tests/auto/qtemporaryfile | |
parent | fca64a07d80d3a9284bb9f9bd831d01294fd2be0 (diff) |
Fixed qtemporaryfile test case compilation for Symbian OS.
Symbian mmp file format does not accept strings with quotes in
defines. For this reason the SRCDIR need to be defined in sources.
Diffstat (limited to 'tests/auto/qtemporaryfile')
-rw-r--r-- | tests/auto/qtemporaryfile/qtemporaryfile.pro | 2 | ||||
-rw-r--r-- | tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qtemporaryfile/qtemporaryfile.pro b/tests/auto/qtemporaryfile/qtemporaryfile.pro index bde990ab74..a3a3910bd9 100644 --- a/tests/auto/qtemporaryfile/qtemporaryfile.pro +++ b/tests/auto/qtemporaryfile/qtemporaryfile.pro @@ -2,4 +2,4 @@ load(qttest_p4) SOURCES += tst_qtemporaryfile.cpp QT = core -DEFINES += SRCDIR=\\\"$$PWD/\\\" +!symbian:DEFINES += SRCDIR=\\\"$$PWD/\\\" diff --git a/tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp b/tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp index 543a116420..b9f1cc5d68 100644 --- a/tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp +++ b/tests/auto/qtemporaryfile/tst_qtemporaryfile.cpp @@ -59,6 +59,10 @@ # include <unistd.h> // close(2) #endif +#ifdef Q_OS_SYMBIAN +#define SRCDIR "" +#endif + //TESTED_CLASS= //TESTED_FILES= |