This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25138 ) Change subject: ns2: introduce module parameter SnsSide ...................................................................... ns2: introduce module parameter SnsSide Allow the .cfg to define which tests should be run. The new SGSN side SNS tests have their own configurations for TTCN3 and osmo-nsdummy. Change-Id: If8162f256428e2e1f353ffbf42a7c0cd24bcecd9 --- M ns/NS_Tests.ttcn 1 file changed, 17 insertions(+), 9 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/38/25138/1 diff --git a/ns/NS_Tests.ttcn b/ns/NS_Tests.ttcn index d42ef8c..0ea2f49 100644 --- a/ns/NS_Tests.ttcn +++ b/ns/NS_Tests.ttcn @@ -24,7 +24,13 @@ import from Osmocom_VTY_Functions all; import from TELNETasp_PortType all; +type enumerated SnsSide { + SNS_SIDE_BSS ('00'H), + SNS_SIDE_SGSN ('01'H) +}; + modulepar { + SnsSide mp_sns_side := SNS_SIDE_BSS; OsmoNsDialect mp_dialect := NS2_DIALECT_IPACCESS; NSConfiguration mp_nsconfig := { nsei := 96, @@ -736,15 +742,17 @@ } if (mp_dialect == NS2_DIALECT_SNS) { - /* BSS test cases */ - execute( TC_sns_bss_config_success() ); - execute( TC_sns_bss_change_weight() ); - execute( TC_sns_bss_change_weight_timeout() ); - execute( TC_sns_bss_add() ); - execute( TC_sns_bss_del() ); - execute( TC_sns_bss_add_change_del() ); - execute( TC_sns_bss_all_signalling_nsvcs_failed() ); - execute( TC_sns_rx_size_force_unconf() ); + if (mp_sns_side == SNS_SIDE_BSS) { + /* BSS test cases */ + execute( TC_sns_bss_config_success() ); + execute( TC_sns_bss_change_weight() ); + execute( TC_sns_bss_change_weight_timeout() ); + execute( TC_sns_bss_add() ); + execute( TC_sns_bss_del() ); + execute( TC_sns_bss_add_change_del() ); + execute( TC_sns_bss_all_signalling_nsvcs_failed() ); + execute( TC_sns_rx_size_force_unconf() ); + } } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25138 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: If8162f256428e2e1f353ffbf42a7c0cd24bcecd9 Gerrit-Change-Number: 25138 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210806/7cf5171d/attachment.htm>