From 0c9b050f918528eebdeb0819a02842a97263a963 Mon Sep 17 00:00:00 2001 From: Kurt Korbatits Date: Tue, 13 Dec 2011 15:19:39 +1000 Subject: [PATCH] Fix testlib selftests on shadow build. Changed to use QT_INSTALL_TESTS to install subtests. Change-Id: I4a2a7bd2d3e7d6da34dbb922bf377bee98cdedb0 Reviewed-by: Kurt Korbatits Reviewed-by: Jason McDonald --- tests/auto/testlib/selftests/assert/assert.pro | 5 +++++ tests/auto/testlib/selftests/badxml/badxml.pro | 4 ++++ .../selftests/benchlibcallgrind/benchlibcallgrind.pro | 6 +++++- .../benchlibeventcounter/benchlibeventcounter.pro | 6 +++++- .../testlib/selftests/benchliboptions/benchliboptions.pro | 6 +++++- tests/auto/testlib/selftests/cmptest/cmptest.pro | 6 +++++- .../testlib/selftests/commandlinedata/commandlinedata.pro | 6 +++++- tests/auto/testlib/selftests/crashes/crashes.pro | 6 +++++- tests/auto/testlib/selftests/datatable/datatable.pro | 6 +++++- tests/auto/testlib/selftests/datetime/datetime.pro | 6 +++++- .../auto/testlib/selftests/differentexec/differentexec.pro | 6 +++++- .../testlib/selftests/exceptionthrow/exceptionthrow.pro | 6 +++++- tests/auto/testlib/selftests/expectfail/expectfail.pro | 6 +++++- tests/auto/testlib/selftests/failinit/failinit.pro | 6 +++++- tests/auto/testlib/selftests/failinitdata/failinitdata.pro | 6 +++++- tests/auto/testlib/selftests/fetchbogus/fetchbogus.pro | 6 +++++- tests/auto/testlib/selftests/findtestdata/findtestdata.pro | 5 +++++ tests/auto/testlib/selftests/float/float.pro | 5 +++++ tests/auto/testlib/selftests/globaldata/globaldata.pro | 6 +++++- tests/auto/testlib/selftests/longstring/longstring.pro | 5 ++++- tests/auto/testlib/selftests/maxwarnings/maxwarnings.pro | 6 +++++- tests/auto/testlib/selftests/multiexec/multiexec.pro | 6 +++++- .../auto/testlib/selftests/printdatatags/printdatatags.pro | 5 +++++ .../printdatatagswithglobaltags.pro | 5 +++++ .../testlib/selftests/qexecstringlist/qexecstringlist.pro | 6 +++++- tests/auto/testlib/selftests/singleskip/singleskip.pro | 6 +++++- tests/auto/testlib/selftests/skip/skip.pro | 6 +++++- tests/auto/testlib/selftests/skipinit/skipinit.pro | 6 +++++- tests/auto/testlib/selftests/skipinitdata/skipinitdata.pro | 6 +++++- tests/auto/testlib/selftests/sleep/sleep.pro | 6 +++++- tests/auto/testlib/selftests/strcmp/strcmp.pro | 6 +++++- tests/auto/testlib/selftests/subtest/subtest.pro | 6 +++++- tests/auto/testlib/selftests/warnings/warnings.pro | 6 +++++- tests/auto/testlib/selftests/xunit/xunit.pro | 7 ++++++- 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 cfc6a0c6b32..fcde0384e45 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 561c7e01db6..89ae8eeeefd 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 baa996c8d35..58329d6c149 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 d1fe909fa11..d5363eb54cc 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 73173b0a08f..df1bf2b64c1 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 ac392b02343..bc72f236962 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 9dd1212eba3..705da2fc2e1 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 e9f0f3e5b78..d9011bae5d6 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 7c36d4a911a..ab01b606276 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 f73a763d6b5..c0efbc2c6ec 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 60000d12ea1..d3ca2a20641 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 4a72181a071..8e1bff4b934 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 a2916b2830e..c08ff868bc3 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 9a781840c6a..4b292b5b3be 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 7b0b15a59be..a3cbed2afcb 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 1f8652d5336..013eaaf7804 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 f04a640c595..ff349987ba2 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 95980eeac87..5b4376e760e 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 3d49d3515b0..240dd51b961 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 9b393e9cc73..0b311bd0191 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 9ebdde50157..e93d1610af6 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 79ae010bcb1..8886531417b 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 cd06384835a..80acde22dd8 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 f1cf25d1042..86cfa0974dd 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 de8a7da37e6..15fd236aa5a 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 f4bde92d629..f0f51a5fc34 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 82576212ad0..65b41b9c3d9 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 848252eabdb..acd6a410498 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 762543a60b1..e3dc586dee1 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 e0ae72f54a9..4ff843a4e71 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 ac1f1e840e2..5f3a9a2c107 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 3066f202470..23786f5b19f 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 0c6ca015880..061d2a10554 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 d3ae402e6f8..dc4f30c3e22 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 +