X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=test%2FMakefile;h=987a32548f370d5a4094b216823658a59695f50f;hp=9aa46b4eb6bfb58f5ee477242b46c0d94f43fe48;hb=ec6ceb18663940efb1963704923430be0e83f1f7;hpb=19c5f19d69bb5f520fa7213239490c55de06d99d diff --git a/test/Makefile b/test/Makefile index 9aa46b4eb..987a32548 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,7 +1,20 @@ # Just a little hook script to easy building when in this directory +.PHONY: all check clean all: $(MAKE) -C .. clean: - $(MAKE) -C .. clean + @for i in TEST-[0-9]*; do \ + [ -d $$i ] || continue ; \ + [ -f $$i/Makefile ] || continue ; \ + make -C $$i clean ; \ + done + +check: + $(MAKE) -C .. all + @for i in TEST-[0-9]*; do \ + [ -d $$i ] || continue ; \ + [ -f $$i/Makefile ] || continue ; \ + make -C $$i all ; \ + done