summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/test/test.pro
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2012-01-10 10:38:51 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-11 04:09:26 +0100
commit28bfa8f6cc62306ada0fbd4e367f4b99748ca606 (patch)
tree05d7650330e5698d0b20f65d808882eef3fb4d20 /tests/auto/testlib/selftests/test/test.pro
parent008a1573af06b8e5e6e7a212feecd9ba35731e81 (diff)
Changed selftests unittest to work from installation directory.
- All subprograms installed as part of test instead of separate installs - Added installTestHelperApp() to testcase.prf Change-Id: I02fbbb299f095054c9216ad0e5f91f574fb0fe3d Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/testlib/selftests/test/test.pro')
-rw-r--r--tests/auto/testlib/selftests/test/test.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/test/test.pro b/tests/auto/testlib/selftests/test/test.pro
index 29d2cc5f36..a395ecea47 100644
--- a/tests/auto/testlib/selftests/test/test.pro
+++ b/tests/auto/testlib/selftests/test/test.pro
@@ -13,3 +13,8 @@ win32 {
}
RESOURCES += ../selftests.qrc
+
+include(../selftests.pri)
+load(testcase) # for target.path and installTestHelperApp()
+for(file, SUBPROGRAMS): installTestHelperApp("../$${file}/$${file}",$${file},$${file})
+