summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qttest_p4.prf
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2010-02-10 15:50:55 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2010-02-10 15:50:55 (GMT)
commit1b0c7a43624f378619ba4b5cc33fa3bfe4f531ed (patch)
treec22f6a63c2911d52ecc11aec8662d2f682d6afda /mkspecs/features/qttest_p4.prf
parent492f1f4267074525e33fb8571c12d520e92163a6 (diff)
parentb7af368e86874d71ffc9071c9ef009814d6a3467 (diff)
downloadQt-1b0c7a43624f378619ba4b5cc33fa3bfe4f531ed.zip
Qt-1b0c7a43624f378619ba4b5cc33fa3bfe4f531ed.tar.gz
Qt-1b0c7a43624f378619ba4b5cc33fa3bfe4f531ed.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2
Diffstat (limited to 'mkspecs/features/qttest_p4.prf')
-rw-r--r--mkspecs/features/qttest_p4.prf26
1 files changed, 11 insertions, 15 deletions
diff --git a/mkspecs/features/qttest_p4.prf b/mkspecs/features/qttest_p4.prf
index 525e7b2..e0b22f2 100644
--- a/mkspecs/features/qttest_p4.prf
+++ b/mkspecs/features/qttest_p4.prf
@@ -13,23 +13,19 @@ symbian:{
# prefix test binary with tst_
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
-########################################################################
-# Use install rule to run test application.
-# This lets you do 'make install' on a test to both build and run it,
-# and lets you easily build and run all tests from the parent directory.
-# ----------------------------------------------------------------------
-runme.files =
-runme.path = .
-!isEmpty(DESTDIR): runme.commands = cd ./$(DESTDIR) &&
-macx: runme.commands += ./$(QMAKE_TARGET).app/Contents/MacOS/$(QMAKE_TARGET)
-else:unix: runme.commands += ./$(QMAKE_TARGET)
+check.files =
+check.path = .
+!isEmpty(DESTDIR): check.commands = cd ./$(DESTDIR) &&
+macx: check.commands += ./$(QMAKE_TARGET).app/Contents/MacOS/$(QMAKE_TARGET)
+else:unix: check.commands += ./$(QMAKE_TARGET)
else:win32: {
- CONFIG(debug, debug|release):runme.commands += debug\\$(QMAKE_TARGET)
- else:runme.commands += release\\$(QMAKE_TARGET)
+ CONFIG(debug, debug|release):check.commands += debug\\$(QMAKE_TARGET)
+ else:check.commands += release\\$(QMAKE_TARGET)
}
-embedded: runme.commands += -qws
-INSTALLS += runme
+embedded: check.commands += -qws
+QMAKE_EXTRA_TARGETS += check
-########################################################################
+target.path += $$[QT_INSTALL_PREFIX]/tests/qt4
+INSTALLS += target