From d4a65f77afdc2037a27b702035a27438af491f7f Mon Sep 17 00:00:00 2001 From: Simon Rose <simon.rose@ess.eu> Date: Mon, 21 Jun 2021 15:59:25 +0200 Subject: [PATCH] Added (eventually superfluous) makefile to test_build --- tests/test_build/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/test_build/Makefile diff --git a/tests/test_build/Makefile b/tests/test_build/Makefile new file mode 100644 index 00000000..da755d08 --- /dev/null +++ b/tests/test_build/Makefile @@ -0,0 +1,15 @@ + +.PHONY: default +default: test + +.PHONY: test +test: check_env + @pytest . -v + +.PHONY: check_env +check_env: guard-EPICS_BASE guard-E3_REQUIRE_VERSION + @#$(or $(wildcard ${EPICS_BASE}/require/${E3_REQUIRE_VERSION}/bin/setE3Env.bash), $(error setE3Env.bash not found. Please check your version of base and require.)) + +guard-%: + @#$(or ${$*}, $(error $* is not set)) + -- GitLab