Fixed qobject unittest to work from installation directory
authorKurt Korbatits <kurt.korbatits@nokia.com>
Mon, 20 Feb 2012 00:18:01 +0000 (10:18 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 20 Feb 2012 02:27:02 +0000 (03:27 +0100)
- 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>
tests/auto/corelib/kernel/qobject/qobject.pro
tests/auto/corelib/kernel/qobject/tst_qobject.pro

index ee48f56..0f86408 100644 (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
index d74f2bc..30fd810 100644 (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)