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>
CONFIG -= debug_and_release_target
TARGET = assert
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
TARGET = badxml
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
RESOURCES = findtestdata.qrc
TARGET = findtestdata
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
CONFIG -= debug_and_release_target
TARGET = float
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
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
+
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
+
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
+
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
+
CONFIG -= debug_and_release_target
TARGET = printdatatags
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
CONFIG -= debug_and_release_target
TARGET = printdatatagswithglobaltags
+
+# This app is testdata for tst_selftests
+target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
+INSTALLS += target
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+
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
+