Fix testlib selftests on shadow build.
authorKurt Korbatits <kurt.korbatits@nokia.com>
Tue, 13 Dec 2011 05:19:39 +0000 (15:19 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Dec 2011 06:15:46 +0000 (07:15 +0100)
Changed to use QT_INSTALL_TESTS to install subtests.

Change-Id: I4a2a7bd2d3e7d6da34dbb922bf377bee98cdedb0
Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
34 files changed:
tests/auto/testlib/selftests/assert/assert.pro
tests/auto/testlib/selftests/badxml/badxml.pro
tests/auto/testlib/selftests/benchlibcallgrind/benchlibcallgrind.pro
tests/auto/testlib/selftests/benchlibeventcounter/benchlibeventcounter.pro
tests/auto/testlib/selftests/benchliboptions/benchliboptions.pro
tests/auto/testlib/selftests/cmptest/cmptest.pro
tests/auto/testlib/selftests/commandlinedata/commandlinedata.pro
tests/auto/testlib/selftests/crashes/crashes.pro
tests/auto/testlib/selftests/datatable/datatable.pro
tests/auto/testlib/selftests/datetime/datetime.pro
tests/auto/testlib/selftests/differentexec/differentexec.pro
tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro
tests/auto/testlib/selftests/expectfail/expectfail.pro
tests/auto/testlib/selftests/failinit/failinit.pro
tests/auto/testlib/selftests/failinitdata/failinitdata.pro
tests/auto/testlib/selftests/fetchbogus/fetchbogus.pro
tests/auto/testlib/selftests/findtestdata/findtestdata.pro
tests/auto/testlib/selftests/float/float.pro
tests/auto/testlib/selftests/globaldata/globaldata.pro
tests/auto/testlib/selftests/longstring/longstring.pro
tests/auto/testlib/selftests/maxwarnings/maxwarnings.pro
tests/auto/testlib/selftests/multiexec/multiexec.pro
tests/auto/testlib/selftests/printdatatags/printdatatags.pro
tests/auto/testlib/selftests/printdatatagswithglobaltags/printdatatagswithglobaltags.pro
tests/auto/testlib/selftests/qexecstringlist/qexecstringlist.pro
tests/auto/testlib/selftests/singleskip/singleskip.pro
tests/auto/testlib/selftests/skip/skip.pro
tests/auto/testlib/selftests/skipinit/skipinit.pro
tests/auto/testlib/selftests/skipinitdata/skipinitdata.pro
tests/auto/testlib/selftests/sleep/sleep.pro
tests/auto/testlib/selftests/strcmp/strcmp.pro
tests/auto/testlib/selftests/subtest/subtest.pro
tests/auto/testlib/selftests/warnings/warnings.pro
tests/auto/testlib/selftests/xunit/xunit.pro

index cfc6a0c..fcde038 100644 (file)
@@ -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
+
index 561c7e0..89ae8ee 100644 (file)
@@ -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
+
index baa996c..58329d6 100644 (file)
@@ -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
+
index d1fe909..d5363eb 100644 (file)
@@ -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
+
index 73173b0..df1bf2b 100644 (file)
@@ -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
+
index ac392b0..bc72f23 100644 (file)
@@ -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
+
index 9dd1212..705da2f 100644 (file)
@@ -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
+
index e9f0f3e..d9011ba 100644 (file)
@@ -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
+
index 7c36d4a..ab01b60 100644 (file)
@@ -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
+
index f73a763..c0efbc2 100644 (file)
@@ -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
+
index 60000d1..d3ca2a2 100644 (file)
@@ -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
+
index 4a72181..8e1bff4 100644 (file)
@@ -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
+
index a2916b2..c08ff86 100644 (file)
@@ -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
+
index 9a78184..4b292b5 100644 (file)
@@ -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
+
index 7b0b15a..a3cbed2 100644 (file)
@@ -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
+
index 1f8652d..013eaaf 100644 (file)
@@ -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
+
index f04a640..ff34998 100644 (file)
@@ -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
+
index 95980ee..5b4376e 100644 (file)
@@ -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
+
index 3d49d35..240dd51 100644 (file)
@@ -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
+
index 9b393e9..0b311bd 100644 (file)
@@ -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
+
index 9ebdde5..e93d161 100644 (file)
@@ -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
+
index 79ae010..8886531 100644 (file)
@@ -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
+
index cd06384..80acde2 100644 (file)
@@ -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
+
index f1cf25d..86cfa09 100644 (file)
@@ -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
+
index de8a7da..15fd236 100644 (file)
@@ -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
+
index f4bde92..f0f51a5 100644 (file)
@@ -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
+
index 8257621..65b41b9 100644 (file)
@@ -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
+
index 848252e..acd6a41 100644 (file)
@@ -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
+
index 762543a..e3dc586 100644 (file)
@@ -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
+
index e0ae72f..4ff843a 100644 (file)
@@ -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
+
index ac1f1e8..5f3a9a2 100644 (file)
@@ -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
+
index 3066f20..23786f5 100644 (file)
@@ -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
+
index 0c6ca01..061d2a1 100644 (file)
@@ -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
+
index d3ae402..dc4f30c 100644 (file)
@@ -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
+