path: root/library/MGCP_Templates.ttcn
diff options
authorDaniel Willmann <>2018-07-05 17:35:03 +0200
committerNeels Hofmeyr <>2018-07-24 09:54:18 +0000
commite4ff537f9baacc94242407041f30de1994316622 (patch)
tree962ab05f96641d2983012df8ac80b03098cc81e4 /library/MGCP_Templates.ttcn
parentfcf27c9f24a2a9e636c5d9006f732b9bcbf0cea8 (diff)
library: Ensure setverdict(fail) is followed by mtc.stop
This will prevent subsequent failures from overwriting the verdict so we can easily see the root cause of the test failure. Using testcase.stop instead for errors internal to our test infrastructure to mark them as test errors instead of failed. Change-Id: Idc6819aaf0b01e70c38fad828dd44dcec6bdd778
Diffstat (limited to 'library/MGCP_Templates.ttcn')
1 files changed, 1 insertions, 1 deletions
diff --git a/library/MGCP_Templates.ttcn b/library/MGCP_Templates.ttcn
index 9d6dea6..afdc33d 100644
--- a/library/MGCP_Templates.ttcn
+++ b/library/MGCP_Templates.ttcn
@@ -294,7 +294,7 @@ module MGCP_Templates {
return par.val;
- setverdict(fail);
+ setverdict(fail, "Could not extract parameters for code ", code);
return "";