aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-05-22 14:41:14 +0200
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-05-28 22:13:10 +0700
commit1617e310018dad07f35ff8d53897c684d58096fb (patch)
treef37fd580829f276720f9a3970923027be2a6911a
parent6791eb6b936ab0267370b9ae76c4f374dcddf61b (diff)
pcu: Add missing f_shutdown() to exit as soon as possible without final=true
-rw-r--r--pcu/PCU_Tests.ttcn3
1 files changed, 3 insertions, 0 deletions
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index 4a26814e..061b868c 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -607,6 +607,7 @@ testcase TC_cs_lqual_ul_tbf() runs on RAW_PCU_Test_CT {
if (not match(dl_block.ctrl.payload.u.ul_ack_nack.gprs.ch_coding_cmd, ch_coding)) {
setverdict(fail, "Channel Coding does not match our expectations: ", ch_coding);
+ f_shutdown(__BFILE__, __LINE__);
}
}
@@ -682,6 +683,7 @@ testcase TC_cs_initial_ul() runs on RAW_PCU_Test_CT {
if (last_ch_coding != CH_CODING_CS1) {
setverdict(fail, "Channel Coding does not match our expectations (CS-1): ", last_ch_coding);
+ f_shutdown(__BFILE__, __LINE__);
}
f_shutdown(__BFILE__, __LINE__, final := true);
@@ -726,6 +728,7 @@ testcase TC_cs_max_ul() runs on RAW_PCU_Test_CT {
if (last_ch_coding != CH_CODING_CS3) {
setverdict(fail, "Channel Coding does not match our expectations (CS-3): ", last_ch_coding);
+ f_shutdown(__BFILE__, __LINE__);
}
f_shutdown(__BFILE__, __LINE__, final := true);