From d95f3324c7545a1b30bca8d6d5796bd0adc2affb Mon Sep 17 00:00:00 2001 From: Bill King <bill.king@nokia.com> Date: Wed, 20 Oct 2010 15:03:01 +1000 Subject: [PATCH] tests: remove unnecessary TARGET = tst_$$TARGET "CONFIG += testcase" does this for us, and is the proper way to do this. --- tests/auto/aggregation/aggregation.pro | 2 -- tests/auto/changeset/changeset.pro | 2 -- tests/auto/cplusplus/ast/ast.pro | 1 - tests/auto/cplusplus/codeformatter/codeformatter.pro | 2 -- tests/auto/debugger/dumpers.pro | 3 --- tests/auto/debugger/gdb.pro | 3 --- tests/auto/debugger/plugin.pro | 3 --- tests/auto/debugger/version.pro | 2 -- tests/auto/generichighlighter/specificrules/specificrules.pro | 2 -- tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro | 2 -- tests/auto/utils_stringutils/utils_stringutils.pro | 2 -- 11 files changed, 24 deletions(-) diff --git a/tests/auto/aggregation/aggregation.pro b/tests/auto/aggregation/aggregation.pro index ae45e5f9d68..30b1f7feb83 100644 --- a/tests/auto/aggregation/aggregation.pro +++ b/tests/auto/aggregation/aggregation.pro @@ -11,5 +11,3 @@ SOURCES += tst_aggregate.cpp \ $$AGGREGATION_PATH/aggregate.cpp HEADERS += $$AGGREGATION_PATH/aggregate.h \ $$AGGREGATION_PATH/aggregation_global.h - -TARGET=tst_$$TARGET diff --git a/tests/auto/changeset/changeset.pro b/tests/auto/changeset/changeset.pro index 0d2522e8804..8fb885d63f4 100644 --- a/tests/auto/changeset/changeset.pro +++ b/tests/auto/changeset/changeset.pro @@ -13,5 +13,3 @@ HEADERS += \ $$UTILSDIR/utils/changeset.h INCLUDEPATH += $$UTILSDIR - -TARGET=tst_$$TARGET diff --git a/tests/auto/cplusplus/ast/ast.pro b/tests/auto/cplusplus/ast/ast.pro index 13f11c7e2e2..5ee8e5f4b7c 100644 --- a/tests/auto/cplusplus/ast/ast.pro +++ b/tests/auto/cplusplus/ast/ast.pro @@ -3,5 +3,4 @@ CONFIG += qt warn_on console depend_includepath CONFIG += qtestlib testcase include(../shared/shared.pri) SOURCES += tst_ast.cpp -TARGET=tst_$$TARGET diff --git a/tests/auto/cplusplus/codeformatter/codeformatter.pro b/tests/auto/cplusplus/codeformatter/codeformatter.pro index 6aa0259f588..0988517971c 100644 --- a/tests/auto/cplusplus/codeformatter/codeformatter.pro +++ b/tests/auto/cplusplus/codeformatter/codeformatter.pro @@ -16,5 +16,3 @@ HEADERS += \ $$SRCDIR/plugins/texteditor/basetextdocumentlayout.h INCLUDEPATH += $$SRCDIR/plugins $$SRCDIR/libs - -TARGET=tst_$$TARGET diff --git a/tests/auto/debugger/dumpers.pro b/tests/auto/debugger/dumpers.pro index 8ba21aa0172..90a7689b0cd 100644 --- a/tests/auto/debugger/dumpers.pro +++ b/tests/auto/debugger/dumpers.pro @@ -13,6 +13,3 @@ SOURCES += \ DEFINES += MACROSDEBUG INCLUDEPATH += $$DEBUGGERDIR $$UTILSDIR $$MACROSDIR - -TARGET = tst_$$TARGET - diff --git a/tests/auto/debugger/gdb.pro b/tests/auto/debugger/gdb.pro index d4b7503a789..1c3d9a0566b 100644 --- a/tests/auto/debugger/gdb.pro +++ b/tests/auto/debugger/gdb.pro @@ -11,6 +11,3 @@ INCLUDEPATH += $$DEBUGGERDIR $$UTILSDIR SOURCES += \ tst_gdb.cpp \ $$DEBUGGERDIR/gdb/gdbmi.cpp \ - -TARGET = tst_$$TARGET - diff --git a/tests/auto/debugger/plugin.pro b/tests/auto/debugger/plugin.pro index 53936e2349f..e76cc454106 100644 --- a/tests/auto/debugger/plugin.pro +++ b/tests/auto/debugger/plugin.pro @@ -10,6 +10,3 @@ SOURCES += \ DEFINES += MACROSDEBUG INCLUDEPATH += $$DEBUGGERDIR $$UTILSDIR $$MACROSDIR - -TARGET = tst_$$TARGET - diff --git a/tests/auto/debugger/version.pro b/tests/auto/debugger/version.pro index 9e8069c07db..1730d9ddd1f 100644 --- a/tests/auto/debugger/version.pro +++ b/tests/auto/debugger/version.pro @@ -11,5 +11,3 @@ SOURCES += \ tst_version.cpp \ $$DEBUGGERDIR/gdb/gdbmi.cpp \ -TARGET = tst_$$TARGET - diff --git a/tests/auto/generichighlighter/specificrules/specificrules.pro b/tests/auto/generichighlighter/specificrules/specificrules.pro index 374456b33cc..db8f5e00832 100644 --- a/tests/auto/generichighlighter/specificrules/specificrules.pro +++ b/tests/auto/generichighlighter/specificrules/specificrules.pro @@ -13,5 +13,3 @@ SOURCES += tst_specificrules.cpp \ $$PLUGINSDIR/texteditor/generichighlighter/itemdata.cpp INCLUDEPATH += $$PLUGINSDIR - -TARGET=tst_$$TARGET diff --git a/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro b/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro index 650c12a68a1..cedfbcdb221 100644 --- a/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro +++ b/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro @@ -13,8 +13,6 @@ include($$PLUGIN_DIR/fileformat/fileformat.pri) INCLUDEPATH += $$PLUGIN_DIR/fileformat -TARGET=tst_$$TARGET - DEFINES += SRCDIR=\\\"$$PWD\\\" TEMPLATE = app diff --git a/tests/auto/utils_stringutils/utils_stringutils.pro b/tests/auto/utils_stringutils/utils_stringutils.pro index 3c0d6552f43..ecc61026583 100644 --- a/tests/auto/utils_stringutils/utils_stringutils.pro +++ b/tests/auto/utils_stringutils/utils_stringutils.pro @@ -11,5 +11,3 @@ SOURCES += tst_stringutils.cpp \ $$UTILS_PATH/stringutils.cpp HEADERS += $$UTILS_PATH/stringutils.h \ $$UTILS_PATH/utils_global.h - -TARGET=tst_$$TARGET -- GitLab