Changed qclipboard unittest to work from installation directory.

- made test depend on copier and paster to make sure they are built first.
- Changed to use installTestHelperApp() to deploy helper apps.

Change-Id: I39e4f2ddcc3c735e17256db5638bf8a3495362f6
Reviewed-by: Kurt Korbatits  <kurt.korbatits@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
Kurt Korbatits 2012-01-17 09:29:50 +10:00 committed by Qt by Nokia
parent bd0c7aa315
commit 5027368077
2 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
TEMPLATE = subdirs TEMPLATE = subdirs
SUBDIRS = test copier paster SUBDIRS = copier paster
test.depends += $$SUBDIRS
SUBDIRS += test

View File

@ -12,12 +12,11 @@ win32 {
} }
wince* { wince* {
copier.files = ../copier/copier.exe DEPLOYMENT += rsc reg_resource
copier.path = copier
paster.files = ../paster/paster.exe
paster.path = paster
DEPLOYMENT += copier paster rsc reg_resource
} }
mac: CONFIG += insignificant_test # QTBUG-23057 mac: CONFIG += insignificant_test # QTBUG-23057
load(testcase) # for target.path and installTestHelperApp()
installTestHelperApp("../copier/copier",copier,copier)
installTestHelperApp("../paster/paster",paster,paster)