osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40771?usp=email )
Change subject: testenv: Add $install_dir/usr/bin to $PATH ......................................................................
testenv: Add $install_dir/usr/bin to $PATH
When building programs from source, don't look only in $install_dir/bin, but also in $install_dir/usr/bin for the binaries. osmo-s1gw installs to usr/bin with recent changes and other programs may do this too.
Related: osmo-s1gw I5681ca103daf1c497218b4513b0ca97b1aae03d3 Change-Id: I8d652dba94bbd44217a3034ac012b6568941347d --- M _testenv/testenv/cmd.py 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/71/40771/1
diff --git a/_testenv/testenv/cmd.py b/_testenv/testenv/cmd.py index e8598f0..afe9003 100644 --- a/_testenv/testenv/cmd.py +++ b/_testenv/testenv/cmd.py @@ -86,6 +86,7 @@
if install_dir and install_dir != "/": path += f":{os.path.join(install_dir, 'bin')}" + path += f":{os.path.join(install_dir, 'usr/bin')}"
if podman: path += ":/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"