diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-02-17 10:41:56 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-02-17 11:26:58 (GMT) |
commit | 393554ac9422d0e9a6c03e3983f82fefdc2ffcca (patch) | |
tree | 6ecc491b2d26a5ea276c6358c74ff4859e90be40 /tests/benchmarks/script | |
parent | c46f708c69bedda2db4549ebb857e79f304a017c (diff) | |
download | Qt-393554ac9422d0e9a6c03e3983f82fefdc2ffcca.zip Qt-393554ac9422d0e9a6c03e3983f82fefdc2ffcca.tar.gz Qt-393554ac9422d0e9a6c03e3983f82fefdc2ffcca.tar.bz2 |
Fix tst_sunspider.cpp
It was unable to find the scripts
Diffstat (limited to 'tests/benchmarks/script')
-rw-r--r-- | tests/benchmarks/script/sunspider/tst_sunspider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/script/sunspider/tst_sunspider.cpp b/tests/benchmarks/script/sunspider/tst_sunspider.cpp index 0df19b6..9e2bb6f 100644 --- a/tests/benchmarks/script/sunspider/tst_sunspider.cpp +++ b/tests/benchmarks/script/sunspider/tst_sunspider.cpp @@ -110,7 +110,7 @@ void tst_SunSpider::benchmark_data() void tst_SunSpider::benchmark() { QFETCH(QString, testName); - QString testContents = readFile(testsDir.absoluteFilePath(testName + ".js")); + QString testContents = readFile(testsDir.filePath(testName + ".js")); QVERIFY(!testContents.isEmpty()); QScriptEngine engine; |