summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/testlib/selftests/assert/assert.pro5
-rw-r--r--tests/auto/testlib/selftests/badxml/badxml.pro4
-rw-r--r--tests/auto/testlib/selftests/benchlibcallgrind/benchlibcallgrind.pro6
-rw-r--r--tests/auto/testlib/selftests/benchlibeventcounter/benchlibeventcounter.pro6
-rw-r--r--tests/auto/testlib/selftests/benchliboptions/benchliboptions.pro6
-rw-r--r--tests/auto/testlib/selftests/cmptest/cmptest.pro6
-rw-r--r--tests/auto/testlib/selftests/commandlinedata/commandlinedata.pro6
-rw-r--r--tests/auto/testlib/selftests/crashes/crashes.pro6
-rw-r--r--tests/auto/testlib/selftests/datatable/datatable.pro6
-rw-r--r--tests/auto/testlib/selftests/datetime/datetime.pro6
-rw-r--r--tests/auto/testlib/selftests/differentexec/differentexec.pro6
-rw-r--r--tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro6
-rw-r--r--tests/auto/testlib/selftests/expectfail/expectfail.pro6
-rw-r--r--tests/auto/testlib/selftests/failinit/failinit.pro6
-rw-r--r--tests/auto/testlib/selftests/failinitdata/failinitdata.pro6
-rw-r--r--tests/auto/testlib/selftests/fetchbogus/fetchbogus.pro6
-rw-r--r--tests/auto/testlib/selftests/findtestdata/findtestdata.pro5
-rw-r--r--tests/auto/testlib/selftests/float/float.pro5
-rw-r--r--tests/auto/testlib/selftests/globaldata/globaldata.pro6
-rw-r--r--tests/auto/testlib/selftests/longstring/longstring.pro5
-rw-r--r--tests/auto/testlib/selftests/maxwarnings/maxwarnings.pro6
-rw-r--r--tests/auto/testlib/selftests/multiexec/multiexec.pro6
-rw-r--r--tests/auto/testlib/selftests/printdatatags/printdatatags.pro5
-rw-r--r--tests/auto/testlib/selftests/printdatatagswithglobaltags/printdatatagswithglobaltags.pro5
-rw-r--r--tests/auto/testlib/selftests/qexecstringlist/qexecstringlist.pro6
-rw-r--r--tests/auto/testlib/selftests/singleskip/singleskip.pro6
-rw-r--r--tests/auto/testlib/selftests/skip/skip.pro6
-rw-r--r--tests/auto/testlib/selftests/skipinit/skipinit.pro6
-rw-r--r--tests/auto/testlib/selftests/skipinitdata/skipinitdata.pro6
-rw-r--r--tests/auto/testlib/selftests/sleep/sleep.pro6
-rw-r--r--tests/auto/testlib/selftests/strcmp/strcmp.pro6
-rw-r--r--tests/auto/testlib/selftests/subtest/subtest.pro6
-rw-r--r--tests/auto/testlib/selftests/warnings/warnings.pro6
-rw-r--r--tests/auto/testlib/selftests/xunit/xunit.pro7
34 files changed, 169 insertions, 28 deletions
diff --git a/tests/auto/testlib/selftests/assert/assert.pro b/tests/auto/testlib/selftests/assert/assert.pro
index cfc6a0c6b3..fcde0384e4 100644
--- a/tests/auto/testlib/selftests/assert/assert.pro
+++ b/tests/auto/testlib/selftests/assert/assert.pro
@@ -5,3 +5,8 @@ mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
TARGET = assert
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/badxml/badxml.pro b/tests/auto/testlib/selftests/badxml/badxml.pro
index 561c7e01db..89ae8eeeef 100644
--- a/tests/auto/testlib/selftests/badxml/badxml.pro
+++ b/tests/auto/testlib/selftests/badxml/badxml.pro
@@ -6,3 +6,7 @@ CONFIG -= debug_and_release_target
TARGET = badxml
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/benchlibcallgrind/benchlibcallgrind.pro b/tests/auto/testlib/selftests/benchlibcallgrind/benchlibcallgrind.pro
index baa996c8d3..58329d6c14 100644
--- a/tests/auto/testlib/selftests/benchlibcallgrind/benchlibcallgrind.pro
+++ b/tests/auto/testlib/selftests/benchlibcallgrind/benchlibcallgrind.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = benchlibcallgrind
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/benchlibeventcounter/benchlibeventcounter.pro b/tests/auto/testlib/selftests/benchlibeventcounter/benchlibeventcounter.pro
index d1fe909fa1..d5363eb54c 100644
--- a/tests/auto/testlib/selftests/benchlibeventcounter/benchlibeventcounter.pro
+++ b/tests/auto/testlib/selftests/benchlibeventcounter/benchlibeventcounter.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = benchlibeventcounter
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/benchliboptions/benchliboptions.pro b/tests/auto/testlib/selftests/benchliboptions/benchliboptions.pro
index 73173b0a08..df1bf2b64c 100644
--- a/tests/auto/testlib/selftests/benchliboptions/benchliboptions.pro
+++ b/tests/auto/testlib/selftests/benchliboptions/benchliboptions.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = benchliboptions
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/cmptest/cmptest.pro b/tests/auto/testlib/selftests/cmptest/cmptest.pro
index ac392b0234..bc72f23696 100644
--- a/tests/auto/testlib/selftests/cmptest/cmptest.pro
+++ b/tests/auto/testlib/selftests/cmptest/cmptest.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = cmptest
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/commandlinedata/commandlinedata.pro b/tests/auto/testlib/selftests/commandlinedata/commandlinedata.pro
index 9dd1212eba..705da2fc2e 100644
--- a/tests/auto/testlib/selftests/commandlinedata/commandlinedata.pro
+++ b/tests/auto/testlib/selftests/commandlinedata/commandlinedata.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = commandlinedata
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/crashes/crashes.pro b/tests/auto/testlib/selftests/crashes/crashes.pro
index e9f0f3e5b7..d9011bae5d 100644
--- a/tests/auto/testlib/selftests/crashes/crashes.pro
+++ b/tests/auto/testlib/selftests/crashes/crashes.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = crashes
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/datatable/datatable.pro b/tests/auto/testlib/selftests/datatable/datatable.pro
index 7c36d4a911..ab01b60627 100644
--- a/tests/auto/testlib/selftests/datatable/datatable.pro
+++ b/tests/auto/testlib/selftests/datatable/datatable.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = datatable
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/datetime/datetime.pro b/tests/auto/testlib/selftests/datetime/datetime.pro
index f73a763d6b..c0efbc2c6e 100644
--- a/tests/auto/testlib/selftests/datetime/datetime.pro
+++ b/tests/auto/testlib/selftests/datetime/datetime.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = datetime
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/differentexec/differentexec.pro b/tests/auto/testlib/selftests/differentexec/differentexec.pro
index 60000d12ea..d3ca2a2064 100644
--- a/tests/auto/testlib/selftests/differentexec/differentexec.pro
+++ b/tests/auto/testlib/selftests/differentexec/differentexec.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = differentexec
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro b/tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro
index 4a72181a07..8e1bff4b93 100644
--- a/tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro
+++ b/tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = exceptionthrow
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/expectfail/expectfail.pro b/tests/auto/testlib/selftests/expectfail/expectfail.pro
index a2916b2830..c08ff868bc 100644
--- a/tests/auto/testlib/selftests/expectfail/expectfail.pro
+++ b/tests/auto/testlib/selftests/expectfail/expectfail.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = expectfail
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/failinit/failinit.pro b/tests/auto/testlib/selftests/failinit/failinit.pro
index 9a781840c6..4b292b5b3b 100644
--- a/tests/auto/testlib/selftests/failinit/failinit.pro
+++ b/tests/auto/testlib/selftests/failinit/failinit.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = failinit
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/failinitdata/failinitdata.pro b/tests/auto/testlib/selftests/failinitdata/failinitdata.pro
index 7b0b15a59b..a3cbed2afc 100644
--- a/tests/auto/testlib/selftests/failinitdata/failinitdata.pro
+++ b/tests/auto/testlib/selftests/failinitdata/failinitdata.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = failinitdata
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/fetchbogus/fetchbogus.pro b/tests/auto/testlib/selftests/fetchbogus/fetchbogus.pro
index 1f8652d533..013eaaf780 100644
--- a/tests/auto/testlib/selftests/fetchbogus/fetchbogus.pro
+++ b/tests/auto/testlib/selftests/fetchbogus/fetchbogus.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = fetchbogus
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/findtestdata/findtestdata.pro b/tests/auto/testlib/selftests/findtestdata/findtestdata.pro
index f04a640c59..ff349987ba 100644
--- a/tests/auto/testlib/selftests/findtestdata/findtestdata.pro
+++ b/tests/auto/testlib/selftests/findtestdata/findtestdata.pro
@@ -7,3 +7,8 @@ CONFIG -= debug_and_release_target
RESOURCES = findtestdata.qrc
TARGET = findtestdata
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/float/float.pro b/tests/auto/testlib/selftests/float/float.pro
index 95980eeac8..5b4376e760 100644
--- a/tests/auto/testlib/selftests/float/float.pro
+++ b/tests/auto/testlib/selftests/float/float.pro
@@ -5,3 +5,8 @@ mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
TARGET = float
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/globaldata/globaldata.pro b/tests/auto/testlib/selftests/globaldata/globaldata.pro
index 3d49d3515b..240dd51b96 100644
--- a/tests/auto/testlib/selftests/globaldata/globaldata.pro
+++ b/tests/auto/testlib/selftests/globaldata/globaldata.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = globaldata
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/longstring/longstring.pro b/tests/auto/testlib/selftests/longstring/longstring.pro
index 9b393e9cc7..0b311bd019 100644
--- a/tests/auto/testlib/selftests/longstring/longstring.pro
+++ b/tests/auto/testlib/selftests/longstring/longstring.pro
@@ -4,6 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = longstring
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/maxwarnings/maxwarnings.pro b/tests/auto/testlib/selftests/maxwarnings/maxwarnings.pro
index 9ebdde5015..e93d1610af 100644
--- a/tests/auto/testlib/selftests/maxwarnings/maxwarnings.pro
+++ b/tests/auto/testlib/selftests/maxwarnings/maxwarnings.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = maxwarnings
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/multiexec/multiexec.pro b/tests/auto/testlib/selftests/multiexec/multiexec.pro
index 79ae010bcb..8886531417 100644
--- a/tests/auto/testlib/selftests/multiexec/multiexec.pro
+++ b/tests/auto/testlib/selftests/multiexec/multiexec.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = multiexec
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/printdatatags/printdatatags.pro b/tests/auto/testlib/selftests/printdatatags/printdatatags.pro
index cd06384835..80acde22dd 100644
--- a/tests/auto/testlib/selftests/printdatatags/printdatatags.pro
+++ b/tests/auto/testlib/selftests/printdatatags/printdatatags.pro
@@ -5,3 +5,8 @@ mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
TARGET = printdatatags
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/printdatatagswithglobaltags/printdatatagswithglobaltags.pro b/tests/auto/testlib/selftests/printdatatagswithglobaltags/printdatatagswithglobaltags.pro
index f1cf25d104..86cfa0974d 100644
--- a/tests/auto/testlib/selftests/printdatatagswithglobaltags/printdatatagswithglobaltags.pro
+++ b/tests/auto/testlib/selftests/printdatatagswithglobaltags/printdatatagswithglobaltags.pro
@@ -5,3 +5,8 @@ mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
TARGET = printdatatagswithglobaltags
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/qexecstringlist/qexecstringlist.pro b/tests/auto/testlib/selftests/qexecstringlist/qexecstringlist.pro
index de8a7da37e..15fd236aa5 100644
--- a/tests/auto/testlib/selftests/qexecstringlist/qexecstringlist.pro
+++ b/tests/auto/testlib/selftests/qexecstringlist/qexecstringlist.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = qexecstringlist
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/singleskip/singleskip.pro b/tests/auto/testlib/selftests/singleskip/singleskip.pro
index f4bde92d62..f0f51a5fc3 100644
--- a/tests/auto/testlib/selftests/singleskip/singleskip.pro
+++ b/tests/auto/testlib/selftests/singleskip/singleskip.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = singleskip
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/skip/skip.pro b/tests/auto/testlib/selftests/skip/skip.pro
index 82576212ad..65b41b9c3d 100644
--- a/tests/auto/testlib/selftests/skip/skip.pro
+++ b/tests/auto/testlib/selftests/skip/skip.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = skip
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/skipinit/skipinit.pro b/tests/auto/testlib/selftests/skipinit/skipinit.pro
index 848252eabd..acd6a41049 100644
--- a/tests/auto/testlib/selftests/skipinit/skipinit.pro
+++ b/tests/auto/testlib/selftests/skipinit/skipinit.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = skipinit
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/skipinitdata/skipinitdata.pro b/tests/auto/testlib/selftests/skipinitdata/skipinitdata.pro
index 762543a60b..e3dc586dee 100644
--- a/tests/auto/testlib/selftests/skipinitdata/skipinitdata.pro
+++ b/tests/auto/testlib/selftests/skipinitdata/skipinitdata.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = skipinitdata
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/sleep/sleep.pro b/tests/auto/testlib/selftests/sleep/sleep.pro
index e0ae72f54a..4ff843a4e7 100644
--- a/tests/auto/testlib/selftests/sleep/sleep.pro
+++ b/tests/auto/testlib/selftests/sleep/sleep.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = sleep
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/strcmp/strcmp.pro b/tests/auto/testlib/selftests/strcmp/strcmp.pro
index ac1f1e840e..5f3a9a2c10 100644
--- a/tests/auto/testlib/selftests/strcmp/strcmp.pro
+++ b/tests/auto/testlib/selftests/strcmp/strcmp.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = strcmp
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/subtest/subtest.pro b/tests/auto/testlib/selftests/subtest/subtest.pro
index 3066f20247..23786f5b19 100644
--- a/tests/auto/testlib/selftests/subtest/subtest.pro
+++ b/tests/auto/testlib/selftests/subtest/subtest.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = subtest
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/warnings/warnings.pro b/tests/auto/testlib/selftests/warnings/warnings.pro
index 0c6ca01588..061d2a1055 100644
--- a/tests/auto/testlib/selftests/warnings/warnings.pro
+++ b/tests/auto/testlib/selftests/warnings/warnings.pro
@@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
-
TARGET = warnings
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
diff --git a/tests/auto/testlib/selftests/xunit/xunit.pro b/tests/auto/testlib/selftests/xunit/xunit.pro
index d3ae402e6f..dc4f30c3e2 100644
--- a/tests/auto/testlib/selftests/xunit/xunit.pro
+++ b/tests/auto/testlib/selftests/xunit/xunit.pro
@@ -1,8 +1,13 @@
QT = core testlib
-SOURCES += tst_xunit.cpp
+SOURCES += tst_xunit.cpp
+
mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target
TARGET = xunit
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+