Commit 9c6b310b authored by Loïc Minier's avatar Loïc Minier

Cleanup check rules

parent ddfab07b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment