diff options
author | Tim Jenssen <tim.jenssen@digia.com> | 2013-04-24 10:53:00 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@digia.com> | 2013-04-24 11:04:43 +0200 |
commit | edf9b08824214efc5dfffae290d3ea75373990cb (patch) | |
tree | 92111238492b1173094f6336ec370197b96db3ed /tests/tests.pro | |
parent | b8401cdb6408c904e2f9243efe4da7130c33c80b (diff) |
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 <karsten.heimrich@digia.com>
Diffstat (limited to 'tests/tests.pro')
-rw-r--r-- | tests/tests.pro | 7 |
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 |