Harald Welte has submitted this change and it was merged.

Change subject: msc: Move f_sleep() to common Osmocom_Types.ttcn
......................................................................


msc: Move f_sleep() to common Osmocom_Types.ttcn

Change-Id: Ic748e1dfe002cb6ee4d785e9b7f8dca34873e504
---
M library/Osmocom_Types.ttcn
M msc_tests/MSC_Tests.ttcn
2 files changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/Osmocom_Types.ttcn b/library/Osmocom_Types.ttcn
index 495b684..a748bbc 100644
--- a/library/Osmocom_Types.ttcn
+++ b/library/Osmocom_Types.ttcn
@@ -60,4 +60,10 @@
                return prefix & f_rnd_octstring(len - lengthof(prefix));
        }
 
+       function f_sleep(float seconds) {
+               timer T := seconds;
+               T.start;
+               T.timeout;
+       }
+
 } with { encode "RAW"; variant "FIELDORDER(msb)" }
diff --git a/msc_tests/MSC_Tests.ttcn b/msc_tests/MSC_Tests.ttcn
index aee0165..a6e92bc 100644
--- a/msc_tests/MSC_Tests.ttcn
+++ b/msc_tests/MSC_Tests.ttcn
@@ -383,12 +383,6 @@
        return vc_conn;
 }
 
-function f_sleep(float seconds) {
-       timer T := seconds;
-       T.start;
-       T.timeout;
-}
-
 function f_vty_config(TELNETasp_PT pt, charstring config_node, charstring cmd)
 {
        /* enter config mode; enter node */

-- 
To view, visit https://gerrit.osmocom.org/6106
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic748e1dfe002cb6ee4d785e9b7f8dca34873e504
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to