neels has uploaded this change for review.
f_verify_talloc_count: mtc.stop
If the talloc count matching failed, immediately stop the failed test.
It is currently used by BSC_Tests.ttcn, and will soon also be used by
HNBGW_Tests.ttcn. These tests were used to uncover memory leaks, and
can now remain to guard against new leaks being introduced.
Change-Id: Id2b29beecf1c0652fb8d75e031e5c0dc9aa27975
---
M library/Osmocom_VTY_Functions.ttcn
1 file changed, 16 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/75/33475/1
diff --git a/library/Osmocom_VTY_Functions.ttcn b/library/Osmocom_VTY_Functions.ttcn
index e4a9182..c7df53c 100644
--- a/library/Osmocom_VTY_Functions.ttcn
+++ b/library/Osmocom_VTY_Functions.ttcn
@@ -288,6 +288,7 @@
f_sleep(wait_time);
}
setverdict(fail, "talloc count mismatch");
+ mtc.stop;
}
}
To view, visit change 33475. To unsubscribe, or for help writing mail filters, visit settings.