X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=test%2FMakefile;h=987a32548f370d5a4094b216823658a59695f50f;hp=9aa46b4eb6bfb58f5ee477242b46c0d94f43fe48;hb=f7357f59c3d4de8080fa78f8aa5fa6dbf1afc8dc;hpb=5e2c93666f2590614214a33027002b431ebafebc 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