blob: b5ce668a434389e98a95f865d9ae544bca72de2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
usage:;cat Makefile
test: export PATH := "$(PWD)/bin:$(PATH)"
test:
@tests="`find t -type f -executable`"; \
i=1; \
echo $$i..`echo "$$tests" | wc -l`; \
for t in $$tests; do \
./$$t; \
case $$? in 0) ok=ok;; *) ok='not ok';; esac; \
echo $$ok $$i - $$t; \
(( i++ )); \
done
|