From ab1a0e03393c20f4a739c54be272f27799f7e281 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 20 Dec 2012 13:08:56 +0100 Subject: [PATCH] Add check-full to run testsuite of submodules This model should be improved to avoid double-checking when the same submodule could be installed or referenced by multiple levels... --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8048c6c1..64b66438 100644 --- a/Makefile +++ b/Makefile @@ -7,5 +7,14 @@ clean: config/environments/test.js: config/environments/test.js.example ./configure -check: config/environments/test.js +check-local: config/environments/test.js ./run_tests.sh + +check-submodules: + for sub in windshaft grainstore mapnik; do \ + test -e node_modules/$${sub} && make -C node_modules/$${sub} check; \ + done + +check-full: check-local check-submodules + +check: check-local