Skip to content
Snippets Groups Projects
Commit 05464c4f authored by Simon Rose's avatar Simon Rose
Browse files

Initial draft for testing

parent e8ecc926
No related branches found
No related tags found
No related merge requests found
......@@ -60,4 +60,4 @@ test require:
before_script:
- source $(pwd)/epics/base-*/require/*/bin/setE3Env.bash
script:
- echo exit | iocsh.bash
\ No newline at end of file
- make test
\ No newline at end of file
......@@ -25,6 +25,7 @@ include $(TOP)/configure/E3/CONFIG_E3_PATH
include $(TOP)/configure/E3/CONFIG_E3_MAKEFILE
include $(TOP)/configure/E3/CONFIG_EPICS
include $(TOP)/configure/E3/CONFIG_EXPORT
include $(TOP)/configure/E3/CONFIG_TEST
VARS_EXCLUDES+=EPICS_VERSION
......
TEST_DIR:=$(TOP)/tests
TESTS:=$(wildcard $(TEST_DIR)/test*)
\ No newline at end of file
.PHONY: test
test: $(TESTS)
.PHONY: $(TESTS)
$(TESTS):
$(info Running test $@...)
${QUIET}${MAKE} -C $@ test
......@@ -15,6 +15,7 @@ include $(TOP)/configure/E3/RULES_REQUIRE
include $(TOP)/configure/E3/RULES_PATCH
include $(TOP)/configure/E3/RULES_DB
include $(TOP)/configure/E3/RULES_VARS
include $(TOP)/configure/E3/RULES_TEST
ifneq (,$(findstring dev,$(MAKECMDGOALS)))
......
.PHONY: test
test:
echo exit | iocsh.bash
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment