osmith has uploaded this change for review. ( 
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, 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 https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43771?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie470be84dd7b9f34dfe8ed461710c1964b481984
Gerrit-Change-Number: 43771
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to