[ssl_mgmt] Create workdir before running tests
This commit is contained in:
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…
Reference in New Issue