Fixed several unit tests to work in shadow builds

- qlogging, qthreadstorage, qnetworkreply, qapplication, qfile, qprocess
  Added app_bundle and debug_and_release_target to CONFIG

Change-Id: I6212902c449520dc016da9590149a423069cc38c
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Kurt Korbatits 2012-06-29 12:05:10 +10:00 committed by Qt by Nokia
parent 4182a3afac
commit 551e1e63d9
9 changed files with 9 additions and 11 deletions

View File

@ -1,4 +1,5 @@
CONFIG += testcase parallel_test
CONFIG -= app_bundle debug_and_release_target
TARGET = ../tst_qlogging
QT = core testlib
SOURCES = ../tst_qlogging.cpp

View File

@ -1,5 +1,6 @@
CONFIG += testcase
CONFIG += parallel_test
CONFIG -= app_bundle debug_and_release_target
QT = core-private core network testlib
TARGET = ../tst_qfile
SOURCES = ../tst_qfile.cpp

View File

@ -1,5 +1,6 @@
CONFIG += testcase
CONFIG += parallel_test
CONFIG -= app_bundle debug_and_release_target
QT = core testlib network
embedded: QT += gui
SOURCES = ../tst_qprocess.cpp

View File

@ -1,6 +1,6 @@
CONFIG += testcase
TARGET = ../tst_qthreadstorage
CONFIG -= app_bundle
CONFIG -= app_bundle debug_and_release_target
CONFIG += console
QT = core testlib
SOURCES = ../tst_qthreadstorage.cpp

View File

@ -1,6 +1,7 @@
CONFIG += testcase
testcase.timeout = 600 # this test is slow
CONFIG += parallel_test
CONFIG -= app_bundle debug_and_release_target
QT -= gui
SOURCES += ../tst_qnetworkreply.cpp
TARGET = ../tst_qnetworkreply

View File

@ -1,5 +1,5 @@
QT += widgets
CONFIG -= app_bundle
CONFIG -= app_bundle debug_and_release_target
DESTDIR = ./

View File

@ -2,6 +2,6 @@ QT += widgets
SOURCES += main.cpp \
base.cpp
DESTDIR = ./
CONFIG -= app_bundle
CONFIG -= app_bundle debug_and_release_target
HEADERS += base.h

View File

@ -1,4 +1,5 @@
CONFIG += testcase
CONFIG -= app_bundle debug_and_release_target
QT += widgets widgets-private testlib
QT += core-private gui-private
@ -6,14 +7,6 @@ QT += core-private gui-private
SOURCES += ../tst_qapplication.cpp
TARGET = ../tst_qapplication
win32 {
CONFIG(debug, debug|release) {
TARGET = ../../debug/tst_qapplication
} else {
TARGET = ../../release/tst_qapplication
}
}
TESTDATA = ../test/test.pro ../tmp/README
SUBPROGRAMS = desktopsettingsaware modal

View File

@ -1,4 +1,5 @@
QT += widgets
CONFIG -= app_bundle debug_and_release_target
SOURCES += main.cpp
DESTDIR = ./