Add "make check" support to testcase makefiles.

This commit is contained in:
Bill King
2010-07-13 11:59:37 +10:00
parent 0032af7fc6
commit f823c4810e
19 changed files with 23 additions and 24 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
CONFIG += qtestlib
CONFIG += qtestlib testcase
TEMPLATE = app
CONFIG -= app_bundle
DEFINES += AGGREGATION_LIBRARY
+1 -2
View File
@@ -1,5 +1,4 @@
QT += testlib
CONFIG += qtestlib testcase
# Defines import symbol as empty
DEFINES+=QTCREATOR_UTILS_STATIC_LIB
+1 -1
View File
@@ -1,6 +1,6 @@
TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
QT += testlib
CONFIG += qtestlib testcase
include(../shared/shared.pri)
SOURCES += tst_ast.cpp
TARGET=tst_$$TARGET
@@ -1,6 +1,6 @@
TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
QT += testlib
CONFIG += qtestlib testcase
include(../shared/shared.pri)
@@ -1,6 +1,6 @@
TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
QT += testlib
CONFIG += qtestlib testcase
include(../shared/shared.pri)
SOURCES += tst_findusages.cpp
TARGET=tst_$$TARGET
+1 -1
View File
@@ -1,6 +1,6 @@
TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
QT += testlib
CONFIG += qtestlib testcase
include(../shared/shared.pri)
SOURCES += tst_lookup.cpp
TARGET=tst_$$TARGET
@@ -1,6 +1,6 @@
TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
QT += testlib
CONFIG += qtestlib testcase
TARGET = tst_$$TARGET
include(../shared/shared.pri)
SOURCES += tst_preprocessor.cpp
+1 -1
View File
@@ -1,6 +1,6 @@
TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
QT += testlib
CONFIG += qtestlib testcase
include(../shared/shared.pri)
SOURCES += tst_semantic.cpp
@@ -1,6 +1,6 @@
TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
QT += testlib
CONFIG += qtestlib testcase
include(../shared/shared.pri)
SOURCES += tst_typeprettyprinter.cpp
TARGET=tst_$$TARGET
+1 -1
View File
@@ -1,4 +1,4 @@
QT += testlib
CONFIG += qtestlib testcase
DEBUGGERDIR = ../../../src/plugins/debugger
UTILSDIR = ../../../src/libs
+1 -1
View File
@@ -1,4 +1,4 @@
QT += testlib
CONFIG += qtestlib testcase
QT -= gui
+1 -2
View File
@@ -1,5 +1,4 @@
QT += testlib
CONFIG += qtestlib testcase
DEBUGGERDIR = ../../../src/plugins/debugger
UTILSDIR = ../../../src/libs
+1 -1
View File
@@ -1,4 +1,4 @@
QT += testlib
CONFIG += qtestlib testcase
QT -= gui
UTILSDIR = ../../../src/libs
+1 -2
View File
@@ -1,5 +1,4 @@
QT += testlib
CONFIG += qtestlib testcase
# Defines import symbol as empty
DEFINES+=QTCREATOR_UTILS_STATIC_LIB
@@ -1,4 +1,5 @@
QT += gui testlib
QT += gui
CONFIG += qtestlib testcase
PLUGINSDIR = ../../../../src/plugins
TEXTEDITORDIR = $$PLUGINSDIR/texteditor
@@ -1,4 +1,4 @@
QT += testlib
CONFIG += qtestlib testcase
PLUGINSDIR = ../../../../src/plugins
@@ -1,6 +1,6 @@
include(../../../../../qtcreator.pri)
#include(../../../../../src/plugins/qmldesigner/config.pri)
QT += testlib
CONFIG += qtestlib testcase
##DEFINES += DONT_MESS_WITH_QDEBUG
@@ -2,10 +2,11 @@ include(../../../../../qtcreator.pri)
include($$IDE_SOURCE_TREE/src/plugins/qmldesigner/config.pri)
QT += testlib \
script \
QT += script \
declarative
CONFIG += qtestlib testcase
# DEFINES+=QTCREATOR_UTILS_STATIC_LIB QML_BUILD_STATIC_LIB
DEFINES+=QTCREATORDIR=\\\"$$CREATORDIR\\\"
DEFINES+=QT_CREATOR QTCREATOR_TEST
@@ -2,9 +2,9 @@ TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
CONFIG -= app_bundle
CONFIG += qtestlib testcase
QT += testlib \
script \
QT += script \
declarative
PLUGIN_DIR=../../../../../src/plugins/qmlprojectmanager