ttcn3-bts-test/jenkins.sh: fix latest: enable IPA stream ID patching

Change-Id: I9d76acc717f5aafbfbecafb30160b02486d341fd
Depends: I66cecc9ea24ba79e1a03492e3fda2874951d37a0
This commit is contained in:
Vadim Yanitskiy 2020-06-09 20:51:47 +07:00
parent 44eea6be40
commit 0bc32c4eab
2 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,9 @@ BTS_Tests.mp_pcu_socket := "/data/unix/pcu_sock"
L1CTL_PortType.m_l1ctl_sock_path := "/data/unix/osmocom_l2"
BTS_Tests.mp_ctrl_ip := "172.18.9.20"
# Workaround for osmo-bts-latest: enable IPA stream ID patching
RSL_Emulation.mp_rslem_patch_ipa_cid := false;
[MAIN_CONTROLLER]
[EXECUTE]

View File

@ -99,6 +99,13 @@ mkdir $VOL_BASE_DIR/bts-tester
mkdir $VOL_BASE_DIR/bts-tester/unix
cp BTS_Tests.cfg $VOL_BASE_DIR/bts-tester/
# Work around for a bug in osmo-bts when all transceivers use IPAC_PROTO_RSL_TRX0.
# Enables patching of IPA stream ID. TODO: remove as soon as we make a new release.
if [ "$IMAGE_SUFFIX" = "latest" ]; then
sed "s/RSL_Emulation.mp_rslem_patch_ipa_cid := false/RSL_Emulation.mp_rslem_patch_ipa_cid := true/g" -i \
"$VOL_BASE_DIR/bts-tester/BTS_Tests.cfg"
fi
mkdir $VOL_BASE_DIR/bsc
cp osmo-bsc.cfg $VOL_BASE_DIR/bsc/