Commit 7b350628d231f8e491172dd00cd8ef5f7bda331e

Do not run the tests automatically during install.

A separate "check" rule added for running the tests. Use
"make check" to run the tests.

Task-number: QTPROD-442
Reviewed-by: Harald Fernengel
Reviewed-by: Rohan McGovern
  
1313# prefix test binary with tst_
1414!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
1515
16########################################################################
17# Use install rule to run test application.
18# This lets you do 'make install' on a test to both build and run it,
19# and lets you easily build and run all tests from the parent directory.
20# ----------------------------------------------------------------------
2116
22runme.files =
23runme.path = .
24!isEmpty(DESTDIR): runme.commands = cd ./$(DESTDIR) &&
25macx: runme.commands += ./$(QMAKE_TARGET).app/Contents/MacOS/$(QMAKE_TARGET)
26else:unix: runme.commands += ./$(QMAKE_TARGET)
17check.files =
18check.path = .
19!isEmpty(DESTDIR): check.commands = cd ./$(DESTDIR) &&
20macx: check.commands += ./$(QMAKE_TARGET).app/Contents/MacOS/$(QMAKE_TARGET)
21else:unix: check.commands += ./$(QMAKE_TARGET)
2722else:win32: {
28 CONFIG(debug, debug|release):runme.commands += debug\\$(QMAKE_TARGET)
29 else:runme.commands += release\\$(QMAKE_TARGET)
23 CONFIG(debug, debug|release):check.commands += debug\\$(QMAKE_TARGET)
24 else:check.commands += release\\$(QMAKE_TARGET)
3025}
31embedded: runme.commands += -qws
32INSTALLS += runme
26embedded: check.commands += -qws
27QMAKE_EXTRA_TARGETS += check
3328
3429
35########################################################################
30target.path += $$[QT_INSTALL_PREFIX]/tests/qt4
31INSTALLS += target