BTS_Tests/DTX: provide more details in failed verdict message
Change-Id: I15f9303e79750c2864b97697b4378f748a1c7246 Related: OS#4801
This commit is contained in:
parent
080a17d24b
commit
76dc4d0073
|
@ -6758,9 +6758,9 @@ private function f_test_l2_fill_frames(boolean dtxd) runs on ConnHdlr {
|
|||
expected_fill_frames := 2;
|
||||
|
||||
if (nfill_frames < expected_fill_frames) {
|
||||
log("received only ", nfill_frames, " out of ",
|
||||
expected_fill_frames, " expected fill frames");
|
||||
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Not enough fill frames received");
|
||||
setverdict(fail, "Not enough fill frames received: ",
|
||||
nfill_frames, " out of ", expected_fill_frames);
|
||||
Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
|
||||
} else {
|
||||
setverdict(pass);
|
||||
}
|
||||
|
@ -6775,12 +6775,11 @@ private function f_test_l2_fill_frames(boolean dtxd) runs on ConnHdlr {
|
|||
repeat;
|
||||
}
|
||||
}
|
||||
log("Received DTX TCH fill frame with bad frame number: ", fn,
|
||||
" (mod ", frame_dtx_tchf_mod, ": ", fn mod frame_dtx_tchf_mod, ")",
|
||||
" (mod ", block_dtx_tchf_mod, ": ", fn mod block_dtx_tchf_mod, ")");
|
||||
setverdict(fail, "Received DTX TCH fill frame with bad frame number: ", fn,
|
||||
" (mod ", frame_dtx_tchf_mod, ": ", fn mod frame_dtx_tchf_mod, ")",
|
||||
" (mod ", block_dtx_tchf_mod, ": ", fn mod block_dtx_tchf_mod, ")");
|
||||
f_rsl_chan_deact();
|
||||
f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr);
|
||||
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Unexpected L2 fill frame received on Um");
|
||||
}
|
||||
} else {
|
||||
nfill_frames := nfill_frames + 1;
|
||||
|
@ -6807,9 +6806,9 @@ private function f_test_l2_fill_frames(boolean dtxd) runs on ConnHdlr {
|
|||
if (nfill_frames >= expected_fill_frames) {
|
||||
setverdict(pass);
|
||||
} else {
|
||||
log("received only ", nfill_frames, " out of ",
|
||||
expected_fill_frames, " expected fill frames");
|
||||
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Not enough fill frames received");
|
||||
setverdict(fail, "Not enough fill frames received: ",
|
||||
nfill_frames, " out of ", expected_fill_frames);
|
||||
Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
|
||||
}
|
||||
} else {
|
||||
repeat;
|
||||
|
|
Loading…
Reference in New Issue