summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/parserstress/tst_parserstress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/parserstress/tst_parserstress.cpp')
-rw-r--r--tests/auto/declarative/parserstress/tst_parserstress.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/auto/declarative/parserstress/tst_parserstress.cpp b/tests/auto/declarative/parserstress/tst_parserstress.cpp
index 33896d52..504e09e0 100644
--- a/tests/auto/declarative/parserstress/tst_parserstress.cpp
+++ b/tests/auto/declarative/parserstress/tst_parserstress.cpp
@@ -94,11 +94,7 @@ void tst_parserstress::ecmascript_data()
#ifdef Q_OS_SYMBIAN
QDir dir("tests");
#else
- QDir dir(SRCDIR);
- dir.cdUp();
- dir.cdUp();
- dir.cd("qscriptjstestsuite");
- dir.cd("tests");
+ QDir dir(SRCDIR "../../qscriptjstestsuite/tests");
#endif
QStringList files = findJSFiles(dir);
@@ -110,6 +106,8 @@ void tst_parserstress::ecmascript_data()
void tst_parserstress::ecmascript()
{
+ QSKIP("Test data (located in the QtScript module) not currently available");
+
QFETCH(QString, file);
QFile f(file);