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

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Mar 27 07:02:10 UTC 2019


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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: merged
Gerrit-Change-Id: I62d51bbe4b1f089ded6c271b68414a4a37d509d8
Gerrit-Change-Number: 13424
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190327/8ee3c552/attachment.html>


More information about the gerrit-log mailing list