From 55b6e6fdfb14c467d1baab67271f85095929cd2a Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Tue, 25 Oct 2011 11:59:25 +1000 Subject: 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 --- tests/benchmarks/corelib/io/qdir/10000/10000.pro | 7 +------ tests/benchmarks/corelib/io/qdir/tree/tree.pro | 7 +------ tests/benchmarks/corelib/io/qdiriterator/qdiriterator.pro | 7 +------ tests/benchmarks/corelib/io/qfile/qfile.pro | 7 +------ tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro | 7 +------ tests/benchmarks/corelib/io/qiodevice/qiodevice.pro | 7 +------ tests/benchmarks/corelib/io/qtemporaryfile/qtemporaryfile.pro | 7 +------ tests/benchmarks/corelib/io/qurl/qurl.pro | 7 +------ 8 files changed, 8 insertions(+), 48 deletions(-) (limited to 'tests/benchmarks/corelib/io') diff --git a/tests/benchmarks/corelib/io/qdir/10000/10000.pro b/tests/benchmarks/corelib/io/qdir/10000/10000.pro index a42cc8f96f..0319f2c195 100644 --- a/tests/benchmarks/corelib/io/qdir/10000/10000.pro +++ b/tests/benchmarks/corelib/io/qdir/10000/10000.pro @@ -1,8 +1,3 @@ -load(qttest_p4) - -# do not run benchmarks by default in 'make check' -CONFIG -= testcase - TEMPLATE = app TARGET = bench_qdir_10000 DEPENDPATH += . @@ -11,4 +6,4 @@ INCLUDEPATH += . # Input SOURCES += bench_qdir_10000.cpp -QT -= gui +QT = core testlib diff --git a/tests/benchmarks/corelib/io/qdir/tree/tree.pro b/tests/benchmarks/corelib/io/qdir/tree/tree.pro index 38b84cfa32..415580cc46 100644 --- a/tests/benchmarks/corelib/io/qdir/tree/tree.pro +++ b/tests/benchmarks/corelib/io/qdir/tree/tree.pro @@ -1,8 +1,3 @@ -load(qttest_p4) - -# do not run benchmarks by default in 'make check' -CONFIG -= testcase - TEMPLATE = app TARGET = bench_qdir_tree DEPENDPATH += . @@ -12,4 +7,4 @@ INCLUDEPATH += . SOURCES += bench_qdir_tree.cpp RESOURCES += bench_qdir_tree.qrc -QT -= gui +QT = core testlib diff --git a/tests/benchmarks/corelib/io/qdiriterator/qdiriterator.pro b/tests/benchmarks/corelib/io/qdiriterator/qdiriterator.pro index a7400528e3..af3be799c6 100755 --- a/tests/benchmarks/corelib/io/qdiriterator/qdiriterator.pro +++ b/tests/benchmarks/corelib/io/qdiriterator/qdiriterator.pro @@ -1,14 +1,9 @@ -load(qttest_p4) - -# do not run benchmarks by default in 'make check' -CONFIG -= testcase - TEMPLATE = app TARGET = tst_bench_qdiriterator DEPENDPATH += . INCLUDEPATH += . -QT -= gui +QT = core testlib CONFIG += release diff --git a/tests/benchmarks/corelib/io/qfile/qfile.pro b/tests/benchmarks/corelib/io/qfile/qfile.pro index aa26732d2e..933469071d 100644 --- a/tests/benchmarks/corelib/io/qfile/qfile.pro +++ b/tests/benchmarks/corelib/io/qfile/qfile.pro @@ -1,11 +1,6 @@ -load(qttest_p4) - -# do not run benchmarks by default in 'make check' -CONFIG -= testcase - TEMPLATE = app TARGET = tst_bench_qfile -QT -= gui +QT = core testlib win32: DEFINES+= _CRT_SECURE_NO_WARNINGS SOURCES += main.cpp diff --git a/tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro b/tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro index 2c0075f009..0dca21c1a8 100644 --- a/tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro +++ b/tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro @@ -1,8 +1,3 @@ -load(qttest_p4) - -# do not run benchmarks by default in 'make check' -CONFIG -= testcase - TEMPLATE = app TARGET = tst_bench_qfileinfo DEPENDPATH += . @@ -10,7 +5,7 @@ INCLUDEPATH += . QT -= gui -QT += core-private +QT += core-private testlib CONFIG += release diff --git a/tests/benchmarks/corelib/io/qiodevice/qiodevice.pro b/tests/benchmarks/corelib/io/qiodevice/qiodevice.pro index 54dd0d6861..0dff0ce86e 100755 --- a/tests/benchmarks/corelib/io/qiodevice/qiodevice.pro +++ b/tests/benchmarks/corelib/io/qiodevice/qiodevice.pro @@ -1,15 +1,10 @@ -load(qttest_p4) - -# do not run benchmarks by default in 'make check' -CONFIG -= testcase - TEMPLATE = app TARGET = tst_bench_qiodevice TARGET.EPOCHEAPSIZE = 0x100000 0x2000000 DEPENDPATH += . INCLUDEPATH += . -QT -= gui +QT = core testlib CONFIG += release diff --git a/tests/benchmarks/corelib/io/qtemporaryfile/qtemporaryfile.pro b/tests/benchmarks/corelib/io/qtemporaryfile/qtemporaryfile.pro index 6f42ae0653..6ebee8a659 100644 --- a/tests/benchmarks/corelib/io/qtemporaryfile/qtemporaryfile.pro +++ b/tests/benchmarks/corelib/io/qtemporaryfile/qtemporaryfile.pro @@ -1,14 +1,9 @@ -load(qttest_p4) - -# do not run benchmarks by default in 'make check' -CONFIG -= testcase - TEMPLATE = app TARGET = tst_bench_qtemporaryfile DEPENDPATH += . INCLUDEPATH += . -QT -= gui +QT = core testlib CONFIG += release diff --git a/tests/benchmarks/corelib/io/qurl/qurl.pro b/tests/benchmarks/corelib/io/qurl/qurl.pro index 37106e1bf7..52f7bdc8b6 100644 --- a/tests/benchmarks/corelib/io/qurl/qurl.pro +++ b/tests/benchmarks/corelib/io/qurl/qurl.pro @@ -1,11 +1,6 @@ -load(qttest_p4) - -# do not run benchmarks by default in 'make check' -CONFIG -= testcase - TEMPLATE = app TARGET = tst_qurl -QT -= gui +QT = core testlib win32: DEFINES+= _CRT_SECURE_NO_WARNINGS SOURCES += main.cpp -- cgit v1.2.3