diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 000000000..3b64a1951 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,14 @@ +TST = $(shell ./zdtm.sh -l) +EXP = '^ns/(?!.*(tty|pty))' + +.FORCE: + +zdtm: .FORCE + $(MAKE) zdtm_ns + for t in $(shell echo "$(TST)" | tr ' ' '\n' | grep -Pv $(EXP)); do \ + $(MAKE) $$t; \ + done + +zdtm_ns: $(shell echo "$(TST)" | tr ' ' '\n' | grep -P $(EXP)) +$(TST): + ./zdtm.sh $(@) &> $(subst /,_,$@).log