Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/13376 )

Change subject: pcu: move f_pcuif_tx() to PCU_Tests_RAW as it runs on RAW_PCU_CT
......................................................................

pcu: move f_pcuif_tx() to PCU_Tests_RAW as it runs on RAW_PCU_CT

Change-Id: Ic60a7fc657df17ff2d3a889501f0576b98f1f4ad
---
M pcu/PCU_Tests_RAW.ttcn
M pcu/PCU_Tests_RAW_SNS.ttcn
2 files changed, 4 insertions(+), 4 deletions(-)

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



diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn
index 6022d36..3e38fa8 100644
--- a/pcu/PCU_Tests_RAW.ttcn
+++ b/pcu/PCU_Tests_RAW.ttcn
@@ -73,6 +73,10 @@
        PCU.send(t_SD_PCUIF(g_pcu_conn_id, info_ind));
 }

+function f_pcuif_tx(template (value) PCUIF_Message msg) runs on RAW_PCU_CT {
+       PCU.send(t_SD_PCUIF(g_pcu_conn_id, msg));
+}
+
 function f_init_ns_codec(integer idx := 0, float guard_secs := 60.0) runs on 
RAW_NS_CT {
        var Result res;

diff --git a/pcu/PCU_Tests_RAW_SNS.ttcn b/pcu/PCU_Tests_RAW_SNS.ttcn
index 7513196..9bedff9 100644
--- a/pcu/PCU_Tests_RAW_SNS.ttcn
+++ b/pcu/PCU_Tests_RAW_SNS.ttcn
@@ -354,10 +354,6 @@
 import from PCUIF_Types all;
 import from PCUIF_CodecPort all;

-private function f_pcuif_tx(template (value) PCUIF_Message msg) runs on 
RAW_PCU_CT {
-       PCU.send(t_SD_PCUIF(g_pcu_conn_id, msg));
-}
-
 altstep as_pcu_activate() runs on RAW_PCU_CT {
        var PCUIF_send_data sd;
        [] PCU.receive(t_SD_PCUIF(g_pcu_conn_id,  tr_PCUIF_ACT_REQ(?, ?, ?))) 
-> value sd { repeat; }

--
To view, visit https://gerrit.osmocom.org/13376
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic60a7fc657df17ff2d3a889501f0576b98f1f4ad
Gerrit-Change-Number: 13376
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to