diff --git a/tests/auto/aggregation/aggregation.pro b/tests/auto/aggregation/aggregation.pro
index c35c696239ebacaa8042ba1f3f5d45dd32e96d28..ca1d1205a35ac31fa43968e3a987bd141519f4e9 100644
--- a/tests/auto/aggregation/aggregation.pro
+++ b/tests/auto/aggregation/aggregation.pro
@@ -12,3 +12,4 @@ SOURCES += tst_aggregate.cpp \
 HEADERS += $$AGGREGATION_PATH/aggregate.h \
     $$AGGREGATION_PATH/aggregation_global.h
 
+TARGET=tst_$$TARGET
diff --git a/tests/auto/cplusplus/ast/ast.pro b/tests/auto/cplusplus/ast/ast.pro
index 84733f97e6f78c44972ef40bf488f2da594ce7fc..2f5a0a33eae956f43a47ec9758b53513ae8cbce9 100644
--- a/tests/auto/cplusplus/ast/ast.pro
+++ b/tests/auto/cplusplus/ast/ast.pro
@@ -3,3 +3,5 @@ CONFIG += qt warn_on console depend_includepath
 QT = core testlib
 include(../shared/shared.pri)
 SOURCES += tst_ast.cpp
+TARGET=tst_$$TARGET
+
diff --git a/tests/auto/cplusplus/lookup/lookup.pro b/tests/auto/cplusplus/lookup/lookup.pro
index cd02b709575605ebe5d0e25a538441a18f950f21..b80aa2f2b7bc30a046f5ecb7bbcc89f1f8f983d1 100644
--- a/tests/auto/cplusplus/lookup/lookup.pro
+++ b/tests/auto/cplusplus/lookup/lookup.pro
@@ -5,3 +5,4 @@ QT = core testlib
 include(../../../../src/libs/cplusplus/cplusplus-lib.pri)
 
 SOURCES += tst_lookup.cpp
+TARGET=tst_$$TARGET
diff --git a/tests/auto/cplusplus/semantic/semantic.pro b/tests/auto/cplusplus/semantic/semantic.pro
index 37c013685f73f42c40149e298869ce9563779e7b..09f80ab27abb71ce1efd01a76ff1ca105b1c5cc1 100644
--- a/tests/auto/cplusplus/semantic/semantic.pro
+++ b/tests/auto/cplusplus/semantic/semantic.pro
@@ -4,3 +4,4 @@ QT = core testlib
 include(../shared/shared.pri)
 
 SOURCES += tst_semantic.cpp
+TARGET=tst_$$TARGET
diff --git a/tests/auto/debugger/dumpers.pro b/tests/auto/debugger/dumpers.pro
index ca5338af380152da1e950c5fa0055464cc6cdc64..201c36cb436661b3c2d92aaafed17eeced9efe4b 100644
--- a/tests/auto/debugger/dumpers.pro
+++ b/tests/auto/debugger/dumpers.pro
@@ -14,3 +14,5 @@ DEFINES += MACROSDEBUG
 
 INCLUDEPATH += $$DEBUGGERDIR $$UTILSDIR $$MACROSDIR
 
+TARGET = tst_$$TARGET
+
diff --git a/tests/auto/debugger/plugin.pro b/tests/auto/debugger/plugin.pro
index fae675b38f82ec2b22103996687202db00e328a0..7cc42dac75082c2cf96e852fdef06612beae565f 100644
--- a/tests/auto/debugger/plugin.pro
+++ b/tests/auto/debugger/plugin.pro
@@ -12,3 +12,5 @@ DEFINES += MACROSDEBUG
 
 INCLUDEPATH += $$DEBUGGERDIR $$UTILSDIR $$MACROSDIR
 
+TARGET = tst_$$TARGET
+
diff --git a/tests/auto/fakevim/fakevim.pro b/tests/auto/fakevim/fakevim.pro
index 04fefc12d30548202540f2b9cf6dea67a3d89d80..a4aaea078ed29b2f350d81243cd758280ab2f397 100644
--- a/tests/auto/fakevim/fakevim.pro
+++ b/tests/auto/fakevim/fakevim.pro
@@ -21,3 +21,4 @@ HEADERS += \
 
 INCLUDEPATH += $$FAKEVIMDIR $$UTILSDIR
 
+TARGET=tst_$$TARGET
diff --git a/tests/auto/profilereader/profilereader.pro b/tests/auto/profilereader/profilereader.pro
index b80ce8e49541443eb6f9ca1b345c671f7e9cb9bd..486ddd547d056590f081414d24770779567b04b2 100644
--- a/tests/auto/profilereader/profilereader.pro
+++ b/tests/auto/profilereader/profilereader.pro
@@ -14,3 +14,4 @@ HEADERS += \
     profilereader.h \
     profilecache.h \
     qtversionmanager.h
+TARGET=tst_$$TARGET