diff options
author | Rainer Keller <rainer.keller@theqtcompany.com> | 2015-01-19 11:27:33 +0100 |
---|---|---|
committer | Rainer Keller <rainer.keller@theqtcompany.com> | 2015-01-19 15:54:01 +0100 |
commit | c3d90662dfc65dd5f0dd8e5cd31d1bafb3328e7c (patch) | |
tree | f3b5611a93593f5b142341a0eaee042b83e8b9fe /tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp | |
parent | 0445e84888cd0d2f9a8c90f3a88317ab05c690d7 (diff) | |
download | qtscript-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.cpp | 2 |
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 |