Ensure that EPICS_DRIVER_PATH is set first
Previously, it was the case that running ``` $ iocsh -r module -l cellMods $ iocsh -l cellMods -r module ``` would both work correctly, but if you looked at the IOC log it was not clear why that was the case; in the former case it _appeared_ like we were finding the module before setting `EPICS_DRIVER_PATH`. This only worked because this variable is exported from the shell. This change forces the `-l` flag to be processed _before_ all of the other flags in order to ensure that paths are determined first.
Showing
- require-ess/tools/iocsh 2 additions, 0 deletionsrequire-ess/tools/iocsh
- require-ess/tools/iocsh_functions.bash 30 additions, 18 deletionsrequire-ess/tools/iocsh_functions.bash
- tests/test_build.py 13 additions, 6 deletionstests/test_build.py
- tests/test_iocsh.py 48 additions, 0 deletionstests/test_iocsh.py
- tests/test_versions.py 1 addition, 1 deletiontests/test_versions.py
- tests/utils.py 12 additions, 4 deletionstests/utils.py
Loading
Please register or sign in to comment