summaryrefslogtreecommitdiff
path: root/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp
diff options
context:
space:
mode:
authorRainer Keller <rainer.keller@theqtcompany.com>2015-01-19 11:27:33 +0100
committerRainer Keller <rainer.keller@theqtcompany.com>2015-01-19 15:54:01 +0100
commitc3d90662dfc65dd5f0dd8e5cd31d1bafb3328e7c (patch)
treef3b5611a93593f5b142341a0eaee042b83e8b9fe /tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp
parent0445e84888cd0d2f9a8c90f3a88317ab05c690d7 (diff)
downloadqtscript-c3d90662dfc65dd5f0dd8e5cd31d1bafb3328e7c.tar.gz
Autotest: Use QFINDTESTDATA to find test data
Change-Id: If33c0f93576b1a3b4ce395156a51df564156deb4 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp')
-rw-r--r--tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp
index c3e2d13..f84870a 100644
--- a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp
+++ b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp
@@ -320,7 +320,7 @@ void tst_QScriptJSTestSuite::runTestFunction(int testIndex)
tst_QScriptJSTestSuite::tst_QScriptJSTestSuite()
: AbstractTestSuite("tst_QScriptJsTestSuite",
- QString::fromLatin1("%0/tests").arg(SRCDIR),
+ QFINDTESTDATA("tests"),
":/")
{
// don't execute any tests on slow machines