summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tests.pro b/tests/tests.pro
index a485d20d3..904c979ee 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -25,4 +25,9 @@ for(SUBDIR, EXTRASUBDIRS) {
!isEqual(IFW_SOURCE_TREE, $$IFW_BUILD_TREE) {
tests.depends = mkdir
}
-QMAKE_EXTRA_TARGETS += tests
+QMAKE_EXTRA_TARGETS *= tests
+
+# forward make "check" target to autotests
+check.commands += cd $$PWD/auto && $(QMAKE) $$PWD/auto && $(MAKE) check
+check.depends = first
+QMAKE_EXTRA_TARGETS *= check