laforge submitted this change.
bts: f_init(): print testcasename() in the IUT's logs
It's useful to see testcase names in the IUT's logs in some
situations. For instance, when some testcase crashes the IUT.
Change-Id: I16136f32d7143edfc1638e359ef5b1066c248732
Related: OS#6794
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index b49cb28..9c6f238 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -592,9 +592,11 @@
g_AllChannels := g_AllChannels & f_gen_chans_for_ts(tn, config);
}
+ f_init_vty(id);
+ f_logp(BTSVTY, testcasename() & "() start");
+
f_init_rsl(id);
f_sleep(0.5); /* workaround for OS#3000 */
- f_init_vty(id);
f_ipa_ctrl_start_client(mp_ctrl_ip, mp_ctrl_port);
/* Send SI3 to the BTS, it is needed for various computations */
To view, visit change 40414. To unsubscribe, or for help writing mail filters, visit settings.