osmith has uploaded this change for review.
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, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/71/43771/1
diff --git a/_testenv/testenv/podman.py b/_testenv/testenv/podman.py
index 0293712..b7ed29d 100644
--- a/_testenv/testenv/podman.py
+++ b/_testenv/testenv/podman.py
@@ -264,11 +264,11 @@
"-e",
"TESTENV_BINARY_REPO=1",
]
- else:
- cmd += [
- "--volume",
- f"{osmo_dev_dir}:{osmo_dev_dir}",
- ]
+
+ cmd += [
+ "--volume",
+ f"{osmo_dev_dir}:{osmo_dev_dir}",
+ ]
if testenv.args.kernel:
if not os.environ.get("TESTENV_NO_KVM") and os.path.exists("/dev/kvm"):
To view, visit change 43771. To unsubscribe, or for help writing mail filters, visit settings.