osmo-ttcn3-hacks/bts
Stefan Sperling 91d4c9dcf5 update DTX fill frame test expectations
Fix an off-by-one in frame number comparison: Ensure that we
won't stop testing until after fn + 104 has been received.

The DTX test case would never pass since the alt statement
was always repeated even if enough frames had been received.
Fix this by moving code which runs before frame fn + 104 is
received into an 'else' cause.

We receive SACCH frames in DTX mode so we must account for them.
Introduce separate counters for SACCH and non-SACCH fill frames
to make test failure diagnosis easier. Note that we cannot expect
a specific amount of SACCH frames during a particular test run
since their amount depends on what the current frame number window
happens to be. We can however add the counters for SACCH and
non-SACCH fill frames and obtain a meaningful result.

Change-Id: Ie573b54ab5654f027c470aa7a565d2b5b97dc74b
Related: OS#1950
2018-09-04 11:55:50 +02:00
..
BTS_Tests.cfg bts: add missing BTS_Tests.cfg config file 2018-07-22 15:02:08 +02:00
BTS_Tests.default detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
BTS_Tests.ttcn update DTX fill frame test expectations 2018-09-04 11:55:50 +02:00
README.md Add README.md file for several suites 2018-06-14 18:55:36 +02:00
expected-results.xml add DTX fill frame BTS tests 2018-08-09 11:08:44 +00:00
gen_links.sh ignore results of .ttcnpp files 2018-03-16 18:25:58 +01:00
regen_makefile.sh bts: Add TELNET/VTY module so we can interact with BTS VTY 2018-02-27 22:32:54 +01:00

README.md

BTS_Tests.ttcn

  • external interfaces
    • A-bis side: RSL (emulates BSC-side server)
    • Um side: L1CTL to control MS
    • PCU side: pcu_socket

{% dot bts_tests.svg digraph G { rankdir=LR; { rank=same; BTS, BSC}; BTS [label="IUT\nosmo-bts-trx",shape="box"]; ATS [label="ATS\nBTS_Tests.ttcn"]; BSC [label="osmo-bsc\nOML only"]; BTS -> fake_trx [label="bursts"]; fake_trx -> trxcon [label="bursts"]; trxcon -> ATS [label="bursts"];

BTS -> BSC [label="A-bis OML"]; BTS -> ATS [label="A-bis RSL"];

ATS -> BTS [label="pcu_sock"]; ATS -> BSC [label="VTY"]; ATS -> BTS [label="CTRL"]; } %}