summaryrefslogtreecommitdiff
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-10-07 15:54:24 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-10 04:33:50 +0200
commit28b36b736dca643eaaf62bf52862f884fe256027 (patch)
tree7a12c65833514bd89bcac03e9d4e8e4cc7920401 /tests/benchmarks
parentab0efaacf9f3d2168ed1a7b3960b006b110260c2 (diff)
downloadqtscript-28b36b736dca643eaaf62bf52862f884fe256027.tar.gz
tests: eliminated usage of qttest_p4.prf
qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: Ib79b3c07de18a997cfcb977ffb3faf9f76fdf158 Reviewed-on: http://codereview.qt-project.org/6215 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/script/context2d/context2d.pro4
-rw-r--r--tests/benchmarks/script/qscriptclass/qscriptclass.pro4
-rw-r--r--tests/benchmarks/script/qscriptclass_bytearray/qscriptclass_bytearray.pro4
-rw-r--r--tests/benchmarks/script/qscriptengine/qscriptengine.pro4
-rw-r--r--tests/benchmarks/script/qscriptqobject/qscriptqobject.pro4
-rw-r--r--tests/benchmarks/script/qscriptvalue/qscriptvalue.pro4
-rw-r--r--tests/benchmarks/script/qscriptvalueiterator/qscriptvalueiterator.pro4
-rw-r--r--tests/benchmarks/script/sunspider/sunspider.pro4
-rw-r--r--tests/benchmarks/script/v8/v8.pro4
9 files changed, 18 insertions, 18 deletions
diff --git a/tests/benchmarks/script/context2d/context2d.pro b/tests/benchmarks/script/context2d/context2d.pro
index bc94c4f..4de78da 100644
--- a/tests/benchmarks/script/context2d/context2d.pro
+++ b/tests/benchmarks/script/context2d/context2d.pro
@@ -1,4 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_context2d
@@ -19,4 +19,4 @@ SOURCES += $$CONTEXT2D_EXAMPLE_DIR/qcontext2dcanvas.cpp \
RESOURCES += $$CONTEXT2D_EXAMPLE_DIR/context2d.qrc
-QT += script
+QT += script testlib
diff --git a/tests/benchmarks/script/qscriptclass/qscriptclass.pro b/tests/benchmarks/script/qscriptclass/qscriptclass.pro
index 90c9582..61787ff 100644
--- a/tests/benchmarks/script/qscriptclass/qscriptclass.pro
+++ b/tests/benchmarks/script/qscriptclass/qscriptclass.pro
@@ -1,7 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_qscriptclass
SOURCES += tst_qscriptclass.cpp
-QT += script
+QT += script testlib
diff --git a/tests/benchmarks/script/qscriptclass_bytearray/qscriptclass_bytearray.pro b/tests/benchmarks/script/qscriptclass_bytearray/qscriptclass_bytearray.pro
index d64f705..6b0f6dc 100644
--- a/tests/benchmarks/script/qscriptclass_bytearray/qscriptclass_bytearray.pro
+++ b/tests/benchmarks/script/qscriptclass_bytearray/qscriptclass_bytearray.pro
@@ -1,4 +1,4 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_qscriptclass_bytearray
@@ -7,4 +7,4 @@ RESOURCES += qscriptclass_bytearray.qrc
include($$QT_SOURCE_TREE/examples/script/customclass/bytearrayclass.pri)
-QT = core script
+QT = core script testlib
diff --git a/tests/benchmarks/script/qscriptengine/qscriptengine.pro b/tests/benchmarks/script/qscriptengine/qscriptengine.pro
index 72a547a..d8155f3 100644
--- a/tests/benchmarks/script/qscriptengine/qscriptengine.pro
+++ b/tests/benchmarks/script/qscriptengine/qscriptengine.pro
@@ -1,10 +1,10 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_qscriptengine
SOURCES += tst_qscriptengine.cpp
-QT += script
+QT += script testlib
symbian* {
TARGET.EPOCHEAPSIZE = 0x20000 0x2000000 // Min 128kB, Max 32MB
diff --git a/tests/benchmarks/script/qscriptqobject/qscriptqobject.pro b/tests/benchmarks/script/qscriptqobject/qscriptqobject.pro
index 30bc447..c69c60d 100644
--- a/tests/benchmarks/script/qscriptqobject/qscriptqobject.pro
+++ b/tests/benchmarks/script/qscriptqobject/qscriptqobject.pro
@@ -1,7 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_qscriptqobject
SOURCES += tst_qscriptqobject.cpp
-QT += script
+QT += script testlib
diff --git a/tests/benchmarks/script/qscriptvalue/qscriptvalue.pro b/tests/benchmarks/script/qscriptvalue/qscriptvalue.pro
index 1c26438..9339e5c 100644
--- a/tests/benchmarks/script/qscriptvalue/qscriptvalue.pro
+++ b/tests/benchmarks/script/qscriptvalue/qscriptvalue.pro
@@ -1,7 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_qscriptvalue
SOURCES += tst_qscriptvalue.cpp
-QT += script
+QT += script testlib
diff --git a/tests/benchmarks/script/qscriptvalueiterator/qscriptvalueiterator.pro b/tests/benchmarks/script/qscriptvalueiterator/qscriptvalueiterator.pro
index 0bff039..5d6b67b 100644
--- a/tests/benchmarks/script/qscriptvalueiterator/qscriptvalueiterator.pro
+++ b/tests/benchmarks/script/qscriptvalueiterator/qscriptvalueiterator.pro
@@ -1,7 +1,7 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_qscriptvalueiterator
SOURCES += tst_qscriptvalueiterator.cpp
-QT = core script
+QT = core script testlib
diff --git a/tests/benchmarks/script/sunspider/sunspider.pro b/tests/benchmarks/script/sunspider/sunspider.pro
index dce3855..1409771 100644
--- a/tests/benchmarks/script/sunspider/sunspider.pro
+++ b/tests/benchmarks/script/sunspider/sunspider.pro
@@ -1,10 +1,10 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_sunspider
RESOURCES += sunspider.qrc
SOURCES += tst_sunspider.cpp
-QT = core script
+QT = core script testlib
symbian* {
TARGET.EPOCHEAPSIZE = 0x20000 0x2000000 // Min 128kB, Max 32MB
diff --git a/tests/benchmarks/script/v8/v8.pro b/tests/benchmarks/script/v8/v8.pro
index 547eecc..1e78b3a 100644
--- a/tests/benchmarks/script/v8/v8.pro
+++ b/tests/benchmarks/script/v8/v8.pro
@@ -1,10 +1,10 @@
-load(qttest_p4)
+CONFIG += testcase
TEMPLATE = app
TARGET = tst_bench_v8
RESOURCES += v8.qrc
SOURCES += tst_v8.cpp
-QT = core script
+QT = core script testlib
symbian* {
TARGET.EPOCHEAPSIZE = 0x20000 0x2000000 // Min 128kB, Max 32MB