summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/script/sunspider/tst_sunspider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/script/sunspider/tst_sunspider.cpp')
-rw-r--r--tests/benchmarks/script/sunspider/tst_sunspider.cpp2
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;