Fix testlib selftests on shadow build.

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>
This commit is contained in:
Kurt Korbatits 2011-12-13 15:19:39 +10:00 committed by Qt by Nokia
parent ab272fff56
commit 0c9b050f91
34 changed files with 169 additions and 28 deletions

View File

@ -5,3 +5,8 @@ mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = assert TARGET = assert
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -6,3 +6,7 @@ CONFIG -= debug_and_release_target
TARGET = badxml TARGET = badxml
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = benchlibcallgrind TARGET = benchlibcallgrind
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = benchlibeventcounter TARGET = benchlibeventcounter
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = benchliboptions TARGET = benchliboptions
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = cmptest TARGET = cmptest
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = commandlinedata TARGET = commandlinedata
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = crashes TARGET = crashes
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = datatable TARGET = datatable
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = datetime TARGET = datetime
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = differentexec TARGET = differentexec
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = exceptionthrow TARGET = exceptionthrow
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = expectfail TARGET = expectfail
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = failinit TARGET = failinit
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = failinitdata TARGET = failinitdata
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = fetchbogus TARGET = fetchbogus
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -7,3 +7,8 @@ CONFIG -= debug_and_release_target
RESOURCES = findtestdata.qrc RESOURCES = findtestdata.qrc
TARGET = findtestdata TARGET = findtestdata
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -5,3 +5,8 @@ mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = float TARGET = float
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = globaldata TARGET = globaldata
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,6 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = longstring TARGET = longstring
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = maxwarnings TARGET = maxwarnings
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = multiexec TARGET = multiexec
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -5,3 +5,8 @@ mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = printdatatags TARGET = printdatatags
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -5,3 +5,8 @@ mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = printdatatagswithglobaltags TARGET = printdatatagswithglobaltags
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = qexecstringlist TARGET = qexecstringlist
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = singleskip TARGET = singleskip
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = skip TARGET = skip
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = skipinit TARGET = skipinit
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = skipinitdata TARGET = skipinitdata
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = sleep TARGET = sleep
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = strcmp TARGET = strcmp
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = subtest TARGET = subtest
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -4,5 +4,9 @@ QT = core testlib
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = warnings TARGET = warnings
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target

View File

@ -1,8 +1,13 @@
QT = core testlib QT = core testlib
SOURCES += tst_xunit.cpp SOURCES += tst_xunit.cpp
mac:CONFIG -= app_bundle mac:CONFIG -= app_bundle
CONFIG -= debug_and_release_target CONFIG -= debug_and_release_target
TARGET = xunit TARGET = xunit
# This app is testdata for tst_selftests
target.path = $$[QT_INSTALL_TESTS]/tst_selftests/$$TARGET
INSTALLS += target