diff options
Diffstat (limited to 'tests/auto/qscriptjstestsuite')
-rw-r--r-- | tests/auto/qscriptjstestsuite/qscriptjstestsuite.pro | 9 | ||||
-rw-r--r-- | tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/tests/auto/qscriptjstestsuite/qscriptjstestsuite.pro b/tests/auto/qscriptjstestsuite/qscriptjstestsuite.pro index f6a6aeb..06b861e 100644 --- a/tests/auto/qscriptjstestsuite/qscriptjstestsuite.pro +++ b/tests/auto/qscriptjstestsuite/qscriptjstestsuite.pro @@ -1,9 +1,12 @@ load(qttest_p4) QT = core script SOURCES += tst_qscriptjstestsuite.cpp -DEFINES += SRCDIR=\\\"$$PWD\\\" - -wince*: { +symbian { + TARGET.EPOCHEAPSIZE = 0x020000 0xA00000 +} else { + DEFINES += SRCDIR=\\\"$$PWD\\\" +} +wince*|symbian*: { testFiles.sources = tests testFiles.path = . DEPLOYMENT += testFiles diff --git a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp index 2e408b4..2843367 100644 --- a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp +++ b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp @@ -44,6 +44,10 @@ #include <QtScript> +#if defined(Q_OS_SYMBIAN) +# define SRCDIR "" +#endif + //TESTED_CLASS= //TESTED_FILES= @@ -904,7 +908,7 @@ bool tst_Suite::isExcludedFile(const QString &fileName, QString *message) const if (message) *message = fileExclusions.at(i).second; return true; - } + } } return false; } |