tests: make benchmarks compile or disable those which don't compile

Reviewed-by: Jason McDonald
Change-Id: Idc9fa4722b59f9b75d5e4a91bbfd0ae068d29b3d
This commit is contained in:
Rohan McGovern 2011-05-11 14:00:53 +10:00
parent 427d32a3b8
commit ce26a6fd2b
13 changed files with 26 additions and 9 deletions

View File

@ -3,7 +3,7 @@ SUBDIRS = \
qdir \
qdiriterator \
qfile \
qfileinfo \
#qfileinfo \ # FIXME: broken
qiodevice \
qtemporaryfile

View File

@ -6,6 +6,8 @@ INCLUDEPATH += .
QT -= gui
QT += core-private
CONFIG += release
# Input

View File

@ -1,6 +1,7 @@
load(qttest_p4)
TARGET = tst_bench_qstring
QT -= gui
QT += core-private
SOURCES += main.cpp data.cpp fromlatin1.cpp fromutf8.cpp
wince*:{

View File

@ -1,7 +1,7 @@
load(qttest_p4)
TARGET = tst_bench_qdbustype
QT -= gui
QT += dbus
QT += dbus dbus-private
QMAKE_CXXFLAGS += $$QT_CFLAGS_DBUS
LIBS_PRIVATE += $$QT_LIBS_DBUS

View File

@ -1,3 +1,4 @@
TEMPLATE = subdirs
SUBDIRS = \
GraphicsViewBenchmark
#GraphicsViewBenchmark # FIXME: cannot be compiled by default as part of qtbase,
# since it depends on qtsvg

View File

@ -3,7 +3,7 @@ SUBDIRS = \
functional \
qgraphicsanchorlayout \
qgraphicsitem \
qgraphicslayout \
#qgraphicslayout \ # FIXME: broken
qgraphicsscene \
qgraphicsview \
qgraphicswidget

View File

@ -1,4 +1,7 @@
load(qttest_p4)
QT += gui-private
TEMPLATE = app
TARGET = tst_bench_qpixmap

View File

@ -1,4 +1,7 @@
load(qttest_p4)
QT += gui-private
TEMPLATE = app
TARGET = tst_bench_qpainter

View File

@ -1,4 +1,7 @@
load(qttest_p4)
QT += core-private gui-private
TEMPLATE = app
TARGET = tst_qtracebench

View File

@ -1,4 +1,7 @@
load(qttest_p4)
QT += gui-private
TEMPLATE = app
TARGET = tst_bench_QText

View File

@ -1,3 +1,4 @@
TEMPLATE = subdirs
SUBDIRS = \
contains(QT_CONFIG,private-tests):SUBDIRS += \
qhostinfo

View File

@ -5,7 +5,7 @@ DEPENDPATH += .
INCLUDEPATH += .
QT -= gui
QT += network
QT += core-private network network-private
CONFIG += release

View File

@ -4,7 +4,7 @@ TARGET = tst_bench_opengl
DEPENDPATH += .
INCLUDEPATH += .
QT += opengl
QT += core-private gui-private opengl opengl-private
# Input
SOURCES += main.cpp