From edf9b08824214efc5dfffae290d3ea75373990cb Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Wed, 24 Apr 2013 10:53:00 +0200 Subject: forward make "check" target to autotests - now we can use "make check" in the root directory to run a build + run all autotests instead of going down to the autotest directory Change-Id: Ie0ca4ab45cfc7e8a0c204dd1d9d0d800210127eb Reviewed-by: Karsten Heimrich --- tests/tests.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3