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

Change subject: pcu: Refactor GPRS infrastructure to keep state and simplify 
tests
......................................................................


Patch Set 6:

(2 comments)

Can we merge this now please?

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18370/5/pcu/GPRS_Components.ttcn
File pcu/GPRS_Components.ttcn:

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18370/5/pcu/GPRS_Components.ttcn@405
PS5, Line 405: f_ms_tx_ul_data_block_multi
> ACK
I'll keep it the same way for now. The point of this function is not to 
generate payload itself (that's a side effect). The point of this function is 
to generate last num_blocks of data for a UL TBF (always ending in CV=0). In 
the future I expect to improve it to also allow sending intermediate data.


https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18370/5/pcu/PCU_Tests.ttcn
File pcu/PCU_Tests.ttcn:

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18370/5/pcu/PCU_Tests.ttcn@584
PS5, Line 584: if (match(dl_block, tr_RLCMAC_DUMMY_CTRL())) {
             :                  continue;
             :          }
             :          if (not match(dl_block, 
tr_RLCMAC_UL_ACK_NACK_GPRS(ul_tfi := ?)) and
             :              not match(dl_block, 
tr_RLCMAC_UL_ACK_NACK_EGPRS(ul_tfi := ?))) {
             :                  setverdict(fail, "Failed to match Packet Uplink 
ACK / NACK:", dl_block);
             :                  f_shutdown(__BFILE__, __LINE__);
             :          }
> I would prefer this to be done in a separate change, but if it's really 
> needed here - let's keep it.
It's needed for the test to be correct and I don't want to lose more time also 
redoing tests doing wrong stuff. I'm doing here while changing the API instead 
of losing time 2 more times.



--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18370
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: Ib3fee37580f0ea0530a659dec83656799bf57288
Gerrit-Change-Number: 18370
Gerrit-PatchSet: 6
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Comment-Date: Mon, 25 May 2020 08:43:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <[email protected]>
Comment-In-Reply-To: fixeria <[email protected]>
Gerrit-MessageType: comment

Reply via email to