summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-03-26 18:32:48 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-27 07:01:14 +0000
commit8a581d24099ae9618524b9a3521b5d97218605e1 (patch)
treedaeab6adc446f444626a958d3e7c0e1f957304a1
parentfe39b9da869dac9c853dcc5599ed503e9cb10dcc (diff)
BSC_Tests: execute S15-S0 related tests only on AoIP
Make sure that the S15-S0 related testcases are only executed when AoIP is used as transport. Change-Id: I62d51bbe4b1f089ded6c271b68414a4a37d509d8 Related: OS#3864
-rw-r--r--bsc/BSC_Tests.ttcn37
1 files changed, 20 insertions, 17 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 659b3f6..1e89cf3 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -3958,23 +3958,26 @@ control {
execute( TC_assignment_codec_efr() );
execute( TC_assignment_codec_amr_f() );
execute( TC_assignment_codec_amr_h() );
- execute( TC_assignment_codec_amr_f_S1() );
- execute( TC_assignment_codec_amr_h_S1() );
- execute( TC_assignment_codec_amr_f_S124() );
- execute( TC_assignment_codec_amr_h_S124() );
- execute( TC_assignment_codec_amr_f_S0() );
- execute( TC_assignment_codec_amr_f_S02() );
- execute( TC_assignment_codec_amr_f_S024() );
- execute( TC_assignment_codec_amr_f_S0247() );
- execute( TC_assignment_codec_amr_h_S0() );
- execute( TC_assignment_codec_amr_h_S02() );
- execute( TC_assignment_codec_amr_h_S024() );
- execute( TC_assignment_codec_amr_h_S0247() );
- execute( TC_assignment_codec_amr_f_S01234567() );
- execute( TC_assignment_codec_amr_f_S0234567() );
- execute( TC_assignment_codec_amr_f_zero() );
- execute( TC_assignment_codec_amr_f_unsupp() );
- execute( TC_assignment_codec_amr_h_S7() );
+
+ if (mp_bssap_cfg.transport == BSSAP_TRANSPORT_AoIP) {
+ execute( TC_assignment_codec_amr_f_S1() );
+ execute( TC_assignment_codec_amr_h_S1() );
+ execute( TC_assignment_codec_amr_f_S124() );
+ execute( TC_assignment_codec_amr_h_S124() );
+ execute( TC_assignment_codec_amr_f_S0() );
+ execute( TC_assignment_codec_amr_f_S02() );
+ execute( TC_assignment_codec_amr_f_S024() );
+ execute( TC_assignment_codec_amr_f_S0247() );
+ execute( TC_assignment_codec_amr_h_S0() );
+ execute( TC_assignment_codec_amr_h_S02() );
+ execute( TC_assignment_codec_amr_h_S024() );
+ execute( TC_assignment_codec_amr_h_S0247() );
+ execute( TC_assignment_codec_amr_f_S01234567() );
+ execute( TC_assignment_codec_amr_f_S0234567() );
+ execute( TC_assignment_codec_amr_f_zero() );
+ execute( TC_assignment_codec_amr_f_unsupp() );
+ execute( TC_assignment_codec_amr_h_S7() );
+ }
execute( TC_assignment_codec_fr_exhausted_req_hr() );
execute( TC_assignment_codec_fr_exhausted_req_fr() );