Skip to content
Snippets Groups Projects
Commit 09d544da authored by Anders Lindh Olsson's avatar Anders Lindh Olsson :8ball:
Browse files

Fix make test to use cellbuild's path

As make test creates a cellbuild, the tests should look for modules in the
cell directory.

This removes the need for activating an environment as part of any custom
test targets.
parent b244bd12
No related branches found
No related tags found
1 merge request!207E3-1751: Fix make test to use cellbuild's path
......@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Exit `iocsh` if file to run does not exist
* Add trigger mapping on `LoadedModules` to silence QSRV2 warning
* Silence warnings on submodule initialisation
* Automatically use cell path with `test` target (no longer any need to activate an environment as part of the test rule)
## [5.1.1]
......
......@@ -12,4 +12,6 @@ VARS_EXCLUDES+=TEMP_CELL_PATH
ifneq (,$(findstring test,$(MAKECMDGOALS)))
E3_MODULES_PATH=$(TEMP_CELL_PATH)/$(notdir $(EPICS_BASE))/require-$(E3_REQUIRE_VERSION)
EPICS_DRIVER_PATH:=$(E3_MODULES_PATH):$(EPICS_DRIVER_PATH)
PATH:=$(EPICS_BASE)/require/$(E3_REQUIRE_VERSION)/bin:$(PATH)
endif
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