ttcn3-pcu-test: set PCUIFv12 for both -master and -latest
osmo-pcu v1.4.0 (recently tagged) now also speaks PCUIFv12. Change-Id: If0b2209af645f391817f65b4227736b52ca59e2e Related: OS#6191
This commit is contained in:
parent
f4e2d5c1e5
commit
39d26ce8de
|
@ -35,7 +35,7 @@ SGSN_Components.mp_nsconfig := {
|
|||
}
|
||||
}
|
||||
Osmocom_VTY_Functions.mp_prompt_prefix := "OsmoPCU"
|
||||
PCUIF_Types.mp_pcuif_version := 11
|
||||
PCUIF_Types.mp_pcuif_version := 12
|
||||
|
||||
[MAIN_CONTROLLER]
|
||||
|
||||
|
|
|
@ -11,16 +11,7 @@ set -e
|
|||
|
||||
set_pcuif_version() {
|
||||
if image_suffix_is_2023q1; then
|
||||
sed -i 's/PCUIF_Types.mp_pcuif_version := 11/PCUIF_Types.mp_pcuif_version := 10/g' $1
|
||||
fi
|
||||
|
||||
# This changes the PCUIF module parameter of the TTCN3 testsuite when the testsuite is
|
||||
# executed for current master. For latest the PCUIF module parameter must stay at v.11
|
||||
# since in osmo-pcu-latest PCUIF v.12 is not yet supported. After the next release, PCUIF
|
||||
# v.12 will be supported in osmo-pcu-latest as well and this function, including the
|
||||
# PCUIF_Types.mp_pcuif_version setting in the configuration files can be removed.
|
||||
if image_suffix_is_master; then
|
||||
sed -i 's/PCUIF_Types.mp_pcuif_version := 11/PCUIF_Types.mp_pcuif_version := 12/g' $1
|
||||
sed -i 's/PCUIF_Types.mp_pcuif_version := 12/PCUIF_Types.mp_pcuif_version := 10/g' $1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -11,16 +11,7 @@ set -e
|
|||
|
||||
set_pcuif_version() {
|
||||
if image_suffix_is_2023q1; then
|
||||
sed -i 's/PCUIF_Types.mp_pcuif_version := 11/PCUIF_Types.mp_pcuif_version := 10/g' $1
|
||||
fi
|
||||
|
||||
# This changes the PCUIF module parameter of the TTCN3 testsuite when the testsuite is
|
||||
# executed for current master. For latest the PCUIF module parameter must stay at v.11
|
||||
# since in osmo-pcu-latest PCUIF v.12 is not yet supported. After the next release, PCUIF
|
||||
# v.12 will be supported in osmo-pcu-latest as well and this function, including the
|
||||
# PCUIF_Types.mp_pcuif_version setting in the configuration files can be removed.
|
||||
if image_suffix_is_master; then
|
||||
sed -i 's/PCUIF_Types.mp_pcuif_version := 11/PCUIF_Types.mp_pcuif_version := 12/g' $1
|
||||
sed -i 's/PCUIF_Types.mp_pcuif_version := 12/PCUIF_Types.mp_pcuif_version := 10/g' $1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ SGSN_Components.mp_nsconfig := {
|
|||
}
|
||||
}
|
||||
}
|
||||
PCUIF_Types.mp_pcuif_version := 11
|
||||
PCUIF_Types.mp_pcuif_version := 12
|
||||
|
||||
[MAIN_CONTROLLER]
|
||||
|
||||
|
|
Loading…
Reference in New Issue