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:
parent
4182a3afac
commit
551e1e63d9
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
QT += widgets
|
||||
CONFIG -= app_bundle
|
||||
CONFIG -= app_bundle debug_and_release_target
|
||||
|
||||
DESTDIR = ./
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
QT += widgets
|
||||
CONFIG -= app_bundle debug_and_release_target
|
||||
SOURCES += main.cpp
|
||||
DESTDIR = ./
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user