summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/kernel
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-10-25 11:59:25 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-25 08:42:23 +0200
commit55b6e6fdfb14c467d1baab67271f85095929cd2a (patch)
tree27f45aab926b8ec3c7d6bf0684523845969b4af8 /tests/benchmarks/gui/kernel
parent433f5dbbfb1cf4ee8f0763cf5757e71daf62ac19 (diff)
benchmarks: 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: I48ab0ee64d8348cada2e6c7b27c67b6bbc36280d Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/benchmarks/gui/kernel')
-rw-r--r--tests/benchmarks/gui/kernel/qapplication/qapplication.pro6
-rw-r--r--tests/benchmarks/gui/kernel/qguimetatype/qguimetatype.pro7
-rw-r--r--tests/benchmarks/gui/kernel/qguivariant/qguivariant.pro7
-rw-r--r--tests/benchmarks/gui/kernel/qwidget/qwidget.pro6
4 files changed, 4 insertions, 22 deletions
diff --git a/tests/benchmarks/gui/kernel/qapplication/qapplication.pro b/tests/benchmarks/gui/kernel/qapplication/qapplication.pro
index 33f90bd228..19ca697102 100644
--- a/tests/benchmarks/gui/kernel/qapplication/qapplication.pro
+++ b/tests/benchmarks/gui/kernel/qapplication/qapplication.pro
@@ -1,8 +1,4 @@
-load(qttest_p4)
-QT += widgets
-
-# do not run benchmarks by default in 'make check'
-CONFIG -= testcase
+QT += widgets testlib
TEMPLATE = app
TARGET = tst_bench_qapplication
diff --git a/tests/benchmarks/gui/kernel/qguimetatype/qguimetatype.pro b/tests/benchmarks/gui/kernel/qguimetatype/qguimetatype.pro
index 621d587d65..be9cf4b38b 100644
--- a/tests/benchmarks/gui/kernel/qguimetatype/qguimetatype.pro
+++ b/tests/benchmarks/gui/kernel/qguimetatype/qguimetatype.pro
@@ -1,10 +1,5 @@
-load(qttest_p4)
-
-# do not run benchmarks by default in 'make check'
-CONFIG -= testcase
-
TEMPLATE = app
TARGET = tst_bench_qguimetatype
-
+QT += testlib
SOURCES += tst_qguimetatype.cpp
diff --git a/tests/benchmarks/gui/kernel/qguivariant/qguivariant.pro b/tests/benchmarks/gui/kernel/qguivariant/qguivariant.pro
index bd42faf73c..63886c21d4 100644
--- a/tests/benchmarks/gui/kernel/qguivariant/qguivariant.pro
+++ b/tests/benchmarks/gui/kernel/qguivariant/qguivariant.pro
@@ -1,10 +1,5 @@
-load(qttest_p4)
-
-# do not run benchmarks by default in 'make check'
-CONFIG -= testcase
-
TEMPLATE = app
TARGET = tst_bench_qguivariant
-
+QT += testlib
SOURCES += tst_qguivariant.cpp
diff --git a/tests/benchmarks/gui/kernel/qwidget/qwidget.pro b/tests/benchmarks/gui/kernel/qwidget/qwidget.pro
index ea68f942b5..758c9c5b98 100644
--- a/tests/benchmarks/gui/kernel/qwidget/qwidget.pro
+++ b/tests/benchmarks/gui/kernel/qwidget/qwidget.pro
@@ -1,8 +1,4 @@
-load(qttest_p4)
-
-QT += widgets
-# do not run benchmarks by default in 'make check'
-CONFIG -= testcase
+QT += widgets testlib
TARGET = tst_bench_qwidget
SOURCES += tst_qwidget.cpp