[S] Change in osmo-ttcn3-hacks[master]: RTP_Emulation: Log number of error packets
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34551?usp=email ) Change subject: RTP_Emulation: Log number of error packets ...................................................................... RTP_Emulation: Log number of error packets Change-Id: I685fb43ea30c83a975edd32cc24994da15940100 --- M library/RTP_Emulation.ttcn 1 file changed, 14 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/51/34551/1 diff --git a/library/RTP_Emulation.ttcn b/library/RTP_Emulation.ttcn index de2c877..5e10b3f 100644 --- a/library/RTP_Emulation.ttcn +++ b/library/RTP_Emulation.ttcn @@ -295,23 +295,23 @@ /* Check error counters */ if (s.num_pkts_rx_err_seq != 0) { - setverdict(fail, "RTP packet sequence number errors occurred"); + setverdict(fail, log2str(s.num_pkts_rx_err_seq, " RTP packet sequence number errors occurred")); mtc.stop; } if (s.num_pkts_rx_err_ts != 0) { - setverdict(fail, "RTP packet timestamp errors occurred"); + setverdict(fail, log2str(s.num_pkts_rx_err_ts, " RTP packet timestamp errors occurred")); mtc.stop; } if (s.num_pkts_rx_err_pt != 0) { - setverdict(fail, "RTP packet payload type errors occurred"); + setverdict(fail, log2str(s.num_pkts_rx_err_pt, " RTP packet payload type errors occurred")); mtc.stop; } if (s.num_pkts_rx_err_disabled != 0) { - setverdict(fail, "RTP packets received while RX was disabled"); + setverdict(fail, log2str(s.num_pkts_rx_err_disabled, " RTP packets received while RX was disabled")); mtc.stop; } if (s.num_pkts_rx_err_payload != 0) { - setverdict(fail, "RTP packets with mismatching payload received"); + setverdict(fail, log2str(s.num_pkts_rx_err_payload, " RTP packets with mismatching payload received")); mtc.stop; } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34551?usp=email 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: I685fb43ea30c83a975edd32cc24994da15940100 Gerrit-Change-Number: 34551 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
pespin