1 .PHONY
: all check clean
4 @
[ "$$EUID" == "0" ] ||
{ echo
"'check' must be run as root! Please use 'sudo'."; exit
1; }
5 @for i in TEST-
[0-9]*; do \
6 [ -d
$$i ] || continue
; \
7 [ -f
$$i/Makefile
] || continue
; \
8 if
[ -n
"$$TESTS" ]; then t
=$${i
##TEST-}; t=$${t%%-*}; [ "$${TESTS#*$$t*}" != "$$TESTS" ] || continue; fi; \
9 if
[ -n
"$$SKIP" ]; then t
=$${i
##TEST-}; t=$${t%%-*}; [ "$${SKIP#*$$t*}" != "$$SKIP" ] && continue; fi; \
10 $(MAKE
) -C
$$i all ; \
14 @for i in TEST-
[0-9]*; do \
15 [ -d
$$i ] || continue
; \
16 [ -f
$$i/Makefile
] || continue
; \
17 $(MAKE
) -C
$$i clean ; \