This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14410 ) Change subject: bscnat: Move generic code to wait for test into its own function ...................................................................... bscnat: Move generic code to wait for test into its own function Change-Id: Ia95ec02d7ca631e037abfbcfc7881b57e37aef5b --- M bsc-nat/BSCNAT_Tests.ttcn 1 file changed, 10 insertions(+), 5 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/bsc-nat/BSCNAT_Tests.ttcn b/bsc-nat/BSCNAT_Tests.ttcn index 2fab4a3..6b0c757 100644 --- a/bsc-nat/BSCNAT_Tests.ttcn +++ b/bsc-nat/BSCNAT_Tests.ttcn @@ -163,12 +163,8 @@ } -function f_TC_recv_dump(boolean use_osmux := false) runs on test_CT { +function f_wait_finish(timer T) runs on test_CT { var integer i; - timer T := 30.0; - - f_init(use_osmux); - alt { /* wait for BSC to stop. The idea is that the BSC components terminate first */ [] bsc[0].BSC.done { } @@ -182,6 +178,15 @@ } } + +function f_TC_recv_dump(boolean use_osmux := false) runs on test_CT { + timer T := 30.0; + + f_init(use_osmux); + + f_wait_finish(T); +} + testcase TC_recv_dump() runs on test_CT { f_TC_recv_dump(); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14410 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: Ia95ec02d7ca631e037abfbcfc7881b57e37aef5b Gerrit-Change-Number: 14410 Gerrit-PatchSet: 4 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at gnumonks.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190613/d7777d84/attachment.htm>