diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2018-07-06 23:11:32 +0200 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2018-07-24 14:19:42 +0200 |
commit | afce86630ccc0d9a3c0f566fa1c935587bbe3770 (patch) | |
tree | 5eadbb8c5508a19831a987d6e55739f19e7f11ba /selftest | |
parent | e4ff537f9baacc94242407041f30de1994316622 (diff) |
Stop tests after failures
Call mtc.stop after setverdict(fail), add reasons to most failures and
fail with verdict error for internal errors.
Change-Id: I9b618235939fa41160b9be6677b121963d3ec857
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/Selftest.ttcn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/Selftest.ttcn b/selftest/Selftest.ttcn index 826d2449..8411b3dd 100644 --- a/selftest/Selftest.ttcn +++ b/selftest/Selftest.ttcn @@ -57,7 +57,7 @@ function f_tcp_client_init() runs on IPA_selftest_CT { res := IPL4asp_PortType.f_IPL4_connect(IP, "127.0.0.1", 55555, "", -1,-1, {tcp:={}}); if (not ispresent(res.connId)) { setverdict(fail, "Could not connect to TCP port, check your configuration"); - self.stop; + mtc.stop; } g_ip_conn_id := res.connId; } |