[ssl_mgmt] Create workdir before running tests

master
Thomas Preud'homme 10 years ago
parent 5ae1f56d65
commit df4dc8863e

@ -10,7 +10,10 @@ TESTS := $(sort $(TESTS))
check: $(patsubst %,test%,$(TESTS))
test%: %/init %/cmdline %/fini
workdir/csr workdir/newcerts workdir/newkeys:
mkdir $@
test%: %/init %/cmdline %/fini workdir/csr workdir/newcerts workdir/newkeys
@echo -n "Preparing test $*... " ; ./$*/init && $(DISPRES)
@echo -n "Running test $*... " ; $(call RUNTEST,$*) && $(DISPRES)
@echo -n "Cleaning test $*... " ; ./$*/fini && $(DISPRES)

Loading…
Cancel
Save