Attention is currently required from: laforge, neels, pespin.

fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34415?usp=email )

Change subject: sip: tweak failure reporting for SIP messages
......................................................................


Patch Set 2:

(1 comment)

File sip/SIP_Tests.ttcn:

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34415/comment/8ec3bd36_cf136f8a
PS1, Line 195: og("FAIL: expected SIP message ", sip_expect);
             :          setverdict(fail, "Received unexpected SIP message");
> Yeah, "f_shutdown(__FILE__, __LINE__, fail, log2str(...))" is the usual 
> construct. […]
FYI, you can still do it like this:

```
setverdict(fail, "Received unexpected SIP message, expected: ", sip_expect);
Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
```

Personally I tend to use this combination, because `setverdict` is setting the 
verdict and `f_shutdown` is doing the shutdown. I don't like setting the 
verdict using `f_shutdown` because it requires using `log2str`.



--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34415?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: Id48016657ebb83953fe74f65332f318edf8f75e6
Gerrit-Change-Number: 34415
Gerrit-PatchSet: 2
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-CC: fixeria <[email protected]>
Gerrit-Attention: neels <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Comment-Date: Fri, 15 Sep 2023 11:45:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <[email protected]>
Comment-In-Reply-To: laforge <[email protected]>
Comment-In-Reply-To: pespin <[email protected]>
Gerrit-MessageType: comment

Reply via email to