Fixed qobject unittest to work from installation directory

- Made test depend on subprogram to make sure it was there when
  test ran.
- install signalbug subprogram

Change-Id: Ie0a19e52d131adcd17c97b263389aecffb81520e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
Kurt Korbatits 2012-02-20 10:18:01 +10:00 committed by Qt by Nokia
parent 88c903f6a3
commit 4cb09aea6a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,4 @@
TEMPLATE = subdirs
SUBDIRS = signalbug tst_qobject.pro
CONFIG += parallel_test
SUBDIRS = signalbug
tst_qobject.pro.depends = $$SUBDIRS
SUBDIRS += tst_qobject.pro

View File

@ -6,3 +6,6 @@ SOURCES = tst_qobject.cpp
# this is here for a reason, moc_oldnormalizedobject.cpp is not auto-generated, it was generated by
# moc from Qt 4.6, and should *not* be generated by the current moc
SOURCES += moc_oldnormalizeobject.cpp
load(testcase) # for target.path and installTestHelperApp()
installTestHelperApp("signalbug/signalbug",signalbug,signalbug)