The sourcing of the common.cfg and the optional local files was failing
when invoked from a test directory. Use -s and properly use [find ...]
to search paths nicely.
Provide full path when communicating with openocd.
This means you can run a permanent openocd session from the ./openocd
directory, and still have things working with just "make flash" from
whatever test directory you are in.