Change in osmo-ttcn3-hacks[master]: mgw: Ensure TC_selftest passed if no error is encountered

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Mar 29 11:07:41 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13437 )

Change subject: mgw: Ensure TC_selftest passed if no error is encountered
......................................................................

mgw: Ensure TC_selftest passed if no error is encountered

Change-Id: Ie1601d57ac5bf9ddf99cbbd1cdb91160dc47c84d
---
M mgw/MGCP_Test.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index 467ebfc..8cb2404 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -151,6 +151,9 @@
 		log(c_crcx510_ret);
 		log(dec_MgcpResponse(c_crcx510_ret));
 		log(dec_MgcpMessage(c_crcx510_ret));
+
+		/* We didn't encounter any DTE, so pass the test */
+		setverdict(pass);
 	}
 
 	/* CRCX test ideas:

-- 
To view, visit https://gerrit.osmocom.org/13437
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: Ie1601d57ac5bf9ddf99cbbd1cdb91160dc47c84d
Gerrit-Change-Number: 13437
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Willmann <dwillmann at sysmocom.de>
Gerrit-Reviewer: Daniel Willmann <dwillmann at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190329/92545658/attachment.htm>


More information about the gerrit-log mailing list