Skip to content
Unstable

Changes

Summary

  1. testenv: fix OSMO_DEV_MAKE_DIR env var (details)
  2. sccp: testenv: fix hardcoded sccp_demo_user path (details)
  3. sccp: testenv: fix run with asan + latest binaries (details)
  4. testenv: remove TESTENV_GIT_DIR (details)
Commit f008dd8f7a8af34bcf42ea5dbc4a3c350e2d27e5 by Oliver Smith
testenv: fix OSMO_DEV_MAKE_DIR env var

When --autoreconf-in-src-copy was made the default, the make dir name
has been changed to make2 but this variable was not adjusted. Fix it.

Fixes: dacbca96 ("testenv: use --autoreconf-in-src-copy by default")
Change-Id: Ia46ebe1240806995960545afbb34e6533580f209
The file was modified_testenv/testenv/cmd.py
Commit ea43b4aac4d50b1b815620bdb3d40cb8796631b3 by Oliver Smith
sccp: testenv: fix hardcoded sccp_demo_user path

The current path only worked for with podman and with osmo-dev. Make it
work for the following use cases too:

* without podman, with osmo-dev
* with podman, with binary packages (instead of osmo-dev)

Removing package=no is required, so testenv builds sccp_demo_user from
source when running with --binary-packages. This is needed as
sccp_demo_user is not packaged (OS#5899).

Change-Id: Id6e0b669dcb71cab9e789fe011e60827a8e07f77
The file was modifiedsccp/testenv.cfg
The file was addedsccp/run_sccp_demo_user.sh
Commit 563100e13fb12b2bb0b073adeab9327778d0bb70 by Oliver Smith
sccp: testenv: fix run with asan + latest binaries

When running against osmocom:nightly:asan, build sccp_demo_user with
--enable-sanitize. Otherwise this code is not running with asan and
doesn't even start (as the libraries we link against are built with
--enable-sanitize).

When running against osmocom:latest, check out the latest tag instead of
current master.

Fixes: OS#5899
Change-Id: I5307125560694feae9f0978ebd27607a77ed8675
The file was modified_testenv/testenv/podman_install.py
Commit f10f525ce38726785bb935e124ad4591b9097c13 by Oliver Smith
testenv: remove TESTENV_GIT_DIR

This variable is not used anymore, remove it.

Change-Id: Iabb9fa3b9b393b2cb7f18fb877746e5d1e510e63
The file was modified_testenv/testenv/cmd.py