diff --git a/configure/E3/CONFIG_TEST b/configure/E3/CONFIG_TEST index 96f7191805d1f57029da57023c60d4d7e68638e4..149faf811b3db099831f90bcc4d3142f0aa7e024 100644 --- a/configure/E3/CONFIG_TEST +++ b/configure/E3/CONFIG_TEST @@ -12,6 +12,7 @@ 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) + # We have to do the export here since the sub-processes - like run-iocsh - otherwise would not inherit the variable + export EPICS_DRIVER_PATH:=$(E3_MODULES_PATH):$(EPICS_DRIVER_PATH) PATH:=$(EPICS_BASE)/require/$(E3_REQUIRE_VERSION)/bin:$(PATH) endif