summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-26 08:41:37 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-06-26 08:43:16 (GMT)
commit9ac5755fb53387a79e5d9c007501800ab9963bed (patch)
treef09282f68d1644f74afba036468b79a2fa14f682 /tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
parent51e5b6e876774406a9ee4f443ae7619390f5e9b4 (diff)
downloadQt-9ac5755fb53387a79e5d9c007501800ab9963bed.zip
Qt-9ac5755fb53387a79e5d9c007501800ab9963bed.tar.gz
Qt-9ac5755fb53387a79e5d9c007501800ab9963bed.tar.bz2
make autotests work with shadowbuilds
Can't assume that the executable and source are in the same dir.
Diffstat (limited to 'tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp')
-rw-r--r--tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp b/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
index 77bfeb5..50eb19f 100644
--- a/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
+++ b/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
@@ -193,7 +193,7 @@ int tst_Suite::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
tst_Suite::tst_Suite()
{
- testsDir = QDir(".");
+ testsDir = QDir(SRCDIR);
bool testsFound = testsDir.cd("tests");
if (!testsFound) {
qWarning("*** no tests/ dir!");