jw-pkg/test/integration/jw_pkg/secrets/Makefile

19 lines
551 B
Makefile
Raw Normal View History

TOPDIR = ../../../..
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/py-run.mk
# -- Persistent fixture base directory. Empty by default: the test
# runs in a temporary directory. If set, the test builds its
# fixture there and leaves it for inspection until `make clean`
SECRETS_TEST_BASE ?=
EXE_ARGS = $(SECRETS_TEST_BASE)
all:
test: run
clean: clean.secrets-test
.PHONY: clean.secrets-test
clean.secrets-test:
@if [ -n "$(SECRETS_TEST_BASE)" ]; then rm -rf "$(SECRETS_TEST_BASE)"; fi