aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/parserstress/parserstress.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/parserstress/parserstress.pro')
-rw-r--r--tests/auto/declarative/parserstress/parserstress.pro17
1 files changed, 11 insertions, 6 deletions
diff --git a/tests/auto/declarative/parserstress/parserstress.pro b/tests/auto/declarative/parserstress/parserstress.pro
index 6ef2432b5b..cbc5e18181 100644
--- a/tests/auto/declarative/parserstress/parserstress.pro
+++ b/tests/auto/declarative/parserstress/parserstress.pro
@@ -4,12 +4,17 @@ macx:CONFIG -= app_bundle
SOURCES += tst_parserstress.cpp
-symbian: {
- importFiles.files = ..\\..\\qscriptjstestsuite\\tests
- importFiles.path = .
- DEPLOYMENT += importFiles
-} else {
- DEFINES += SRCDIR=\\\"$$PWD\\\"
+!isEmpty(QT.script.sources) {
+ symbian: {
+ importFiles.files = $$QT.script.sources\\..\\..\\tests\\auto\\qscriptjstestsuite\\tests
+ importFiles.path = .
+ DEPLOYMENT += importFiles
+ DEFINES += TESTDATADIR=tests
+ DEFINES += SRCDIR=.
+ } else {
+ DEFINES += TESTDATADIR=\\\"$$QT.script.sources/../../tests/auto/qscriptjstestsuite/tests\\\"
+ DEFINES += SRCDIR=\\\"$$PWD\\\"
+ }
}
CONFIG += parallel_test