osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43771?usp=email )
Change subject: testenv: podman: always mount osmo-dev dir ......................................................................
testenv: podman: always mount osmo-dev dir
Prepare to be able to use osmo-dev for building some test components from source even if running with --binary-packages. This is needed for e.g. the bts testsuite, where we should always use master for both trxcon and osmo-trx-proxy, regardless of the osmo-bts version (nightly/latest/asan). These are part of the testsuite and not SUT.
Related: OS#6638#note-12 Change-Id: Ie470be84dd7b9f34dfe8ed461710c1964b481984 --- M _testenv/testenv/podman.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/_testenv/testenv/podman.py b/_testenv/testenv/podman.py index 0293712..24ef731 100644 --- a/_testenv/testenv/podman.py +++ b/_testenv/testenv/podman.py @@ -264,7 +264,8 @@ "-e", "TESTENV_BINARY_REPO=1", ] - else: + + if os.path.exists(osmo_dev_dir): cmd += [ "--volume", f"{osmo_dev_dir}:{osmo_dev_dir}",