2021-09-07 15:48:58 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2020-07-01 02:28:31 +00:00
|
|
|
.DEFAULT_GOAL := help
|
|
|
|
|
2022-11-02 09:28:59 +00:00
|
|
|
SHELL ?= bash
|
2021-09-07 15:48:58 +00:00
|
|
|
|
|
|
|
VENVS = $(shell ls -1d venv/*/ | sort -u | xargs basename -a)
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: venvs
|
2021-04-26 17:48:43 +00:00
|
|
|
|
2021-09-07 15:48:58 +00:00
|
|
|
include venv_template.mk
|
|
|
|
|
|
|
|
.PHONY: venvs
|
|
|
|
venvs:
|
|
|
|
$(foreach venv,$(VENVS),venv.$(venv))
|
|
|
|
|
|
|
|
$(foreach venv,$(VENVS),$(eval $(call VENV_template,$(venv))))
|
2020-07-01 02:28:31 +00:00
|
|
|
|
2021-09-07 15:48:58 +00:00
|
|
|
clean:
|
|
|
|
rm -rf venv.*
|
2021-04-26 17:48:43 +00:00
|
|
|
|
2022-07-05 07:18:37 +00:00
|
|
|
pytest-local:
|
|
|
|
@echo "⇒ Run Pytest"
|
|
|
|
python -m pytest pytest_tests/testsuites/
|
|
|
|
|
2021-04-26 17:48:43 +00:00
|
|
|
help:
|
|
|
|
@echo "⇒ run Run testcases ${R}"
|