summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/script/v8/tst_v8.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2011-02-28 11:55:26 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2011-02-28 11:55:42 (GMT)
commit8190ee79bdaebd8aaa985442c60268c1fcabe719 (patch)
tree4f44e85e50bb6120f241338754669db57be7071c /tests/benchmarks/script/v8/tst_v8.cpp
parentf8ca41ab91748a4b847892af642c1a5a1cdeb105 (diff)
parent242585ec2671b5c7ac6ef451cc1f5a38ee739df2 (diff)
downloadQt-8190ee79bdaebd8aaa985442c60268c1fcabe719.zip
Qt-8190ee79bdaebd8aaa985442c60268c1fcabe719.tar.gz
Qt-8190ee79bdaebd8aaa985442c60268c1fcabe719.tar.bz2
Merge remote branch 'earth/master' into master
Diffstat (limited to 'tests/benchmarks/script/v8/tst_v8.cpp')
-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;