laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15674 )

Change subject: pcu: Allow tests to overwrite pcuif INFO_IND params
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/15674/1/pcu/PCU_Tests_RAW.ttcn
File pcu/PCU_Tests_RAW.ttcn:

https://gerrit.osmocom.org/#/c/15674/1/pcu/PCU_Tests_RAW.ttcn@72
PS1, Line 72: f_default_pcuif_info_ind
> I tried doing so now, but it cannot be done as easily as you though: […]
I think you can use "mp" (modulepar) values as well as other (compatible) 
templates when assigning values to template fields.  However, what you cannot 
do is to use function return vaules.  Just think of initializing a global 
static variable in C, where also all values must be known at compile time.

I also don't like the "function" approach and would prefer a template, if 
possible in some way.  My expectation is that if you don't intend to create a 
"const" value, a normal template (value) definition should just work.



--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15674
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: I75c746b822184fdcc966d77a7c6a0a6918c236e6
Gerrit-Change-Number: 15674
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilira...@gmail.com>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-Comment-Date: Mon, 07 Oct 2019 10:25:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pes...@sysmocom.de>
Comment-In-Reply-To: fixeria <axilira...@gmail.com>
Gerrit-MessageType: comment

Reply via email to