E3-1186: Allow tests to be run with debug architecture if specified
This MR does two things:
- If
EPICS_HOST_ARCH
is set to the debug architecture when runningmake test
then it will run the tests using that same architecture. This allows, for example, for better debugging if a segmentation fault and core dump happens during a test. - In order to test for the debug arch to be available, we look for the existence of
softIocPVA
. Given this, I realise that this is a bit weird that we still allow forsoftIoc
to be used as a vestigal bit of support for base 3.xx, and as such I have elected to remove it. If prefered, that commit can be removed and moved to a separate MR.