Change in osmo-ttcn3-hacks[master]: BSC_Tests: execute S15-S0 related tests only on AoIP

dexter gerrit-no-reply at lists.osmocom.org
Tue Mar 26 17:43:09 UTC 2019


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/13424


Change subject: BSC_Tests: execute S15-S0 related tests only on AoIP
......................................................................

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
---
M bsc/BSC_Tests.ttcn
1 file changed, 20 insertions(+), 17 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/24/13424/1

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 @@
 	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() );

-- 
To view, visit https://gerrit.osmocom.org/13424
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I62d51bbe4b1f089ded6c271b68414a4a37d509d8
Gerrit-Change-Number: 13424
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190326/959f1523/attachment.html>


More information about the gerrit-log mailing list