Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  Compile auto tests.
This commit is contained in:
Qt Continuous Integration System 2011-05-17 01:15:50 +10:00
commit eab70faca3
40 changed files with 42 additions and 23 deletions

View File

@ -7,7 +7,7 @@ requires(contains(QT_CONFIG,private_tests))
MOC_DIR=tmp
QT = core network
QT = core-private network-private
symbian {
TARGET.CAPABILITY = NetworkServices

View File

@ -1,5 +1,5 @@
load(qttest_p4)
requires(contains(QT_CONFIG,private_tests))
QT = core network
QT = core network-private
SOURCES += tst_qauthenticator.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\"

View File

@ -1,4 +1,5 @@
CONFIG += qttest_p4
QT += gui-private core-private
SOURCES += tst_qcolumnview.cpp
TARGET = tst_qcolumnview

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT += gui-private core-private
SOURCES += tst_qcombobox.cpp

View File

@ -1,6 +1,6 @@
load(qttest_p4)
SOURCES += tst_qcssparser.cpp
QT += xml
QT += xml gui-private
requires(contains(QT_CONFIG,private_tests))
!symbian: {

View File

@ -3,7 +3,7 @@ SOURCES += ../tst_qdbusmarshall.cpp
TARGET = ../tst_qdbusmarshall
QT = core
QT += dbus
QT += core-private dbus-private
LIBS += $$QT_LIBS_DBUS
QMAKE_CXXFLAGS += $$QT_CFLAGS_DBUS

View File

@ -4,6 +4,7 @@
load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qfiledialog.cpp
wince*|symbian {

View File

@ -1,7 +1,7 @@
load(qttest_p4)
SOURCES += tst_qfileinfo.cpp
QT = core
QT = core-private
RESOURCES += qfileinfo.qrc

View File

@ -1,6 +1,6 @@
CONFIG += qttest_p4
QT = core gui
QT = core-private gui
SOURCES += tst_qfilesystemmodel.cpp
TARGET = tst_qfilesystemmodel

View File

@ -4,7 +4,7 @@
load(qttest_p4)
requires(contains(QT_CONFIG,opengl))
QT += opengl
QT += opengl-private gui-private core-private
contains(QT_CONFIG,egl):DEFINES += QGL_EGL
win32:!wince*: DEFINES += QT_NO_EGL

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qgraphicsanchorlayout.cpp
CONFIG += parallel_test

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qgraphicsanchorlayout1.cpp
CONFIG += parallel_test

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qgraphicsitem.cpp
DEFINES += QT_NO_CAST_TO_ASCII

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qgraphicsscene.cpp
RESOURCES += images.qrc
win32:!wince*: LIBS += -lUser32

View File

@ -1,4 +1,5 @@
load(qttest_p4)
requires(contains(QT_CONFIG,private_tests))
QT += core-private gui-private
SOURCES += tst_qgraphicssceneindex.cpp
CONFIG += parallel_test

View File

@ -2,7 +2,7 @@ load(qttest_p4)
SOURCES += tst_qhostinfo.cpp
QT = core network
QT = core-private network-private
wince*: {
LIBS += ws2.lib

View File

@ -3,7 +3,7 @@ SOURCES += tst_qhttpnetworkconnection.cpp
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib
requires(contains(QT_CONFIG,private_tests))
QT = core network
QT = core-private network-private
symbian: TARGET.CAPABILITY = NetworkServices
symbian: {

View File

@ -3,5 +3,5 @@ SOURCES += tst_qhttpnetworkreply.cpp
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib
requires(contains(QT_CONFIG,private_tests))
QT = core network
QT = core-private network-private
symbian: TARGET.CAPABILITY = NetworkServices

View File

@ -6,7 +6,7 @@ include(../platformsocketengine/platformsocketengine.pri)
MOC_DIR=tmp
QT = core network
QT = core-private network-private
symbian: TARGET.CAPABILITY = NetworkServices

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qlistwidget.cpp

View File

@ -1,6 +1,6 @@
load(qttest_p4)
SOURCES += tst_qmainwindow.cpp
QT += gui-private
# Symbian toolchain does not support correct include semantics
symbian:INCPATH+=..\\..\\..\\include\\QtGui\\private

View File

@ -13,7 +13,7 @@ win32 {
!symbian:DEFINES += SRCDIR=\\\"$$PWD/..\\\"
QT = core network
QT = core-private network-private
RESOURCES += ../qnetworkreply.qrc
symbian|wince*:{

View File

@ -7,7 +7,8 @@ SOURCES += moc_oldnormalizeobject.cpp
QT = core \
network \
gui
gui \
core-private
wince*: {
addFiles.files = signalbug.exe
addFiles.path = .

View File

@ -2,6 +2,7 @@ load(qttest_p4)
INCLUDEPATH += .
HEADERS += paths.h
SOURCES += tst_qpathclipper.cpp paths.cpp
QT += gui-private
requires(contains(QT_CONFIG,private_tests))

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += gui-private
SOURCES += tst_qpixmapcache.cpp

View File

@ -1,5 +1,6 @@
CONFIG += qttest_p4
QT += core-private
SOURCES += tst_qsidebar.cpp
TARGET = tst_qsidebar

View File

@ -1,6 +1,6 @@
load(qttest_p4)
SOURCES += tst_qsocketnotifier.cpp
QT = core network
QT = core-private network-private
requires(contains(QT_CONFIG,private_tests))

View File

@ -57,7 +57,7 @@
#include <private/qnet_unix_p.h>
#endif
#include <limits>
#include <select.h>
#include <sys/select.h>
class tst_QSocketNotifier : public QObject
{
@ -180,7 +180,7 @@ void tst_QSocketNotifier::unexpectedDisconnection()
// we have to wait until sequence value changes
// as any event can make us jump out processing
QCoreApplication::processEvents(QEventLoop::WaitForMoreEvents);
QVERIFY(timer.isActive); //escape if test would hang
QVERIFY(timer.isActive()); //escape if test would hang
} while(tester.sequence <= 0);
QVERIFY(readEnd1.state() == QAbstractSocket::ConnectedState);

View File

@ -7,7 +7,7 @@ include(../platformsocketengine/platformsocketengine.pri)
MOC_DIR=tmp
QT = core network
QT = core-private network-private
# Symbian toolchain does not support correct include semantics
symbian:INCLUDEPATH+=..\\..\\..\\include\\QtNetwork\\private

View File

@ -2,7 +2,7 @@ load(qttest_p4)
SOURCES += tst_qsslsocket.cpp
!wince*:win32:LIBS += -lws2_32
QT += network
QT += core-private network-private
QT -= gui
TARGET = tst_qsslsocket

View File

@ -2,7 +2,7 @@ load(qttest_p4)
SOURCES += tst_qsslsocket_onDemandCertificates_member.cpp
!wince*:win32:LIBS += -lws2_32
QT += network
QT += core-private network-private
QT -= gui
TARGET = tst_qsslsocket_onDemandCertificates_member

View File

@ -2,7 +2,7 @@ load(qttest_p4)
SOURCES += tst_qsslsocket_onDemandCertificates_static.cpp
!wince*:win32:LIBS += -lws2_32
QT += network
QT += core-private network-private
QT -= gui
TARGET = tst_qsslsocket_onDemandCertificates_static

View File

@ -1,5 +1,5 @@
load(qttest_p4)
QT += gui-private
# Input
SOURCES += tst_qstylesheetstyle.cpp
RESOURCES += resources.qrc

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT += core-private network-private
SOURCES += ../tst_qtcpsocket.cpp
win32: {
wince*: {

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT += gui-private
INCLUDEPATH += ../
HEADERS +=

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += core-private gui-private
HEADERS +=
SOURCES += tst_qtextlayout.cpp
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += core-private gui-private
SOURCES += tst_qtextpiecetable.cpp
HEADERS += ../qtextdocument/common.h

View File

@ -1,5 +1,5 @@
CONFIG += qttest_p4
#QT = core
QT += gui-private
include(../src/src.pri)
win32: CONFIG += console

View File

@ -1,5 +1,6 @@
INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD
QT += core-private
SOURCES += $$PWD/qsystemlock.cpp

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += gui-private
SOURCES += tst_qtoolbar.cpp