summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-02-17 13:28:04 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-02-17 13:28:28 (GMT)
commit59dd0bf5bf36ea0ccb9b42d5ae44f6980c396fdf (patch)
tree4a7d5e0600db156e1a7592c83e43e786bbb339d8 /tests/benchmarks
parent393554ac9422d0e9a6c03e3983f82fefdc2ffcca (diff)
downloadQt-59dd0bf5bf36ea0ccb9b42d5ae44f6980c396fdf.zip
Qt-59dd0bf5bf36ea0ccb9b42d5ae44f6980c396fdf.tar.gz
Qt-59dd0bf5bf36ea0ccb9b42d5ae44f6980c396fdf.tar.bz2
Fix tst_v8
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/script/v8/tst_v8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/script/v8/tst_v8.cpp b/tests/benchmarks/script/v8/tst_v8.cpp
index 841e2f3..b9cb859 100644
--- a/tests/benchmarks/script/v8/tst_v8.cpp
+++ b/tests/benchmarks/script/v8/tst_v8.cpp
@@ -115,10 +115,10 @@ void tst_V8::benchmark()
{
QFETCH(QString, testName);
- QString baseDotJsContents = readFile(testsDir.absoluteFilePath("base.js"));
+ QString baseDotJsContents = readFile(testsDir.filePath("base.js"));
QVERIFY(!baseDotJsContents.isEmpty());
- QString testContents = readFile(testsDir.absoluteFilePath(testName + ".js"));
+ QString testContents = readFile(testsDir.filePath(testName + ".js"));
QVERIFY(!testContents.isEmpty());
QScriptEngine engine;