diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-30 14:55:43 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-30 14:55:43 +0100 |
commit | 9c6b310b3e895fb0382d907e9bef5dd9fb9c47b9 (patch) | |
tree | f9417d055840fbb704eb9c0ad490a7c3d32a8796 /Makefile | |
parent | ddfab07b8ab6a450501864a2af5ff720b8cc0c50 (diff) | |
download | pbuilder-9c6b310b3e895fb0382d907e9bef5dd9fb9c47b9.tar pbuilder-9c6b310b3e895fb0382d907e9bef5dd9fb9c47b9.tar.gz |
Cleanup check rules
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
@@ -38,23 +38,19 @@ SHELLCODES := pbuilder-buildpackage \ all: +define newline + + +endef + check: # syntax check - set -e; \ - for A in $(SHELLCODES); do \ - bash -n $$A; \ - echo $$A; \ - done + $(foreach script,$(SHELLCODES),bash -n $(script)$(newline)) # testsuite - set -e ; \ - for A in test_*; do \ - bash $$A; \ - done + $(foreach test,$(wildcard ./test_*),$(test)$(newline)) -full-check: - set -e; \ - cd testsuite; \ - ./run-test.sh +full-check: + cd testsuite && ./run-test.sh clean: rm -f *.bak *~ TAGS |