summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/script
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-02-23 23:31:31 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-02-23 23:31:31 (GMT)
commitec7ac34b4a6b1a330460838acc74a53d29f62a7c (patch)
tree5505189d15ce0a1f3b67f4cd65e4c39766080a1d /tests/benchmarks/declarative/script
parent8727985d81c793d52d5e24ed6815e7237ae879f1 (diff)
parentd19f691a5646725c69b232e2adde8c2f961eb571 (diff)
downloadQt-ec7ac34b4a6b1a330460838acc74a53d29f62a7c.zip
Qt-ec7ac34b4a6b1a330460838acc74a53d29f62a7c.tar.gz
Qt-ec7ac34b4a6b1a330460838acc74a53d29f62a7c.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Conflicts: src/declarative/util/qmlanimation.cpp src/declarative/util/qmlxmllistmodel.cpp
Diffstat (limited to 'tests/benchmarks/declarative/script')
-rw-r--r--tests/benchmarks/declarative/script/script.pro11
-rw-r--r--tests/benchmarks/declarative/script/tst_script.cpp6
2 files changed, 16 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/script/script.pro b/tests/benchmarks/declarative/script/script.pro
index 48fea81..6255acc 100644
--- a/tests/benchmarks/declarative/script/script.pro
+++ b/tests/benchmarks/declarative/script/script.pro
@@ -7,5 +7,14 @@ CONFIG += release
SOURCES += tst_script.cpp
-DEFINES += SRCDIR=\\\"$$PWD\\\"
+symbian* {
+ data.sources = data/*
+ data.path = data
+ DEPLOYMENT += data
+} else {
+ DEFINES += SRCDIR=\\\"$$PWD\\\"
+}
+
+
+
diff --git a/tests/benchmarks/declarative/script/tst_script.cpp b/tests/benchmarks/declarative/script/tst_script.cpp
index a90a98b..a11fe31 100644
--- a/tests/benchmarks/declarative/script/tst_script.cpp
+++ b/tests/benchmarks/declarative/script/tst_script.cpp
@@ -48,6 +48,12 @@
#include <QScriptEngine>
#include <QScriptValue>
+#ifdef Q_OS_SYMBIAN
+// In Symbian OS test data is located in applications private dir
+// Application private dir is default serach path for files, so SRCDIR can be set to empty
+#define SRCDIR "."
+#endif
+
class tst_script : public QObject
{
Q_OBJECT