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 MOC_DIR=tmp
QT = core network QT = core-private network-private
symbian { symbian {
TARGET.CAPABILITY = NetworkServices TARGET.CAPABILITY = NetworkServices

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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