tests/rlcmac: print test name at the start
Change-Id: Ib8f0fcbd6bb68d77727c021f0d90d5248e895772
This commit is contained in:
parent
bd0b0b3242
commit
54681c3ffe
|
@ -40,6 +40,7 @@ using namespace std;
|
|||
|
||||
void printSizeofRLCMAC()
|
||||
{
|
||||
printf("*** %s ***\n", __func__);
|
||||
cout << "sizeof RlcMacUplink_t " << sizeof(RlcMacUplink_t) << endl;
|
||||
cout << "sizeof Packet_Cell_Change_Failure_t " << sizeof(Packet_Cell_Change_Failure_t) << endl;
|
||||
cout << "sizeof Packet_Control_Acknowledgement_t " << sizeof(Packet_Control_Acknowledgement_t) << endl;
|
||||
|
@ -88,6 +89,7 @@ void printSizeofRLCMAC()
|
|||
|
||||
void testRlcMacDownlink(void *test_ctx)
|
||||
{
|
||||
printf("*** %s ***\n", __func__);
|
||||
struct bitvec *resultVector = bitvec_alloc(23, test_ctx);
|
||||
bitvec_unhex(resultVector, DUMMY_VEC);
|
||||
|
||||
|
@ -155,6 +157,7 @@ void testRlcMacDownlink(void *test_ctx)
|
|||
|
||||
void testRlcMacUplink(void *test_ctx)
|
||||
{
|
||||
printf("*** %s ***\n", __func__);
|
||||
struct bitvec *resultVector = bitvec_alloc(23, test_ctx);
|
||||
bitvec_unhex(resultVector, DUMMY_VEC);
|
||||
|
||||
|
@ -217,6 +220,7 @@ void testRlcMacUplink(void *test_ctx)
|
|||
|
||||
void testCsnLeftAlignedVarBmpBounds(void *test_ctx)
|
||||
{
|
||||
printf("*** %s ***\n", __func__);
|
||||
struct msgb *m = msgb_alloc(80, "test");
|
||||
static uint8_t exp[] = { 0x7f, 0xff, 0xff, 0xee, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||
bitvec *vector = bitvec_alloc(23, test_ctx);
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
*** testRlcMacDownlink ***
|
||||
DOWNLINK
|
||||
vector1 = 4e8250e3f1a81d882080b2b2b2b2b2b2b2b2b2b2b
|
||||
=========Start DECODE===========
|
||||
|
@ -55,6 +56,7 @@ vector1 = 40243f2f000087b042b2b2b2b2b2b2b2b2b2b2b
|
|||
vector1 = 40243f2f000087b042b2b2b2b2b2b2b2b2b2b2b
|
||||
vector2 = 40243f2f000087b042b2b2b2b2b2b2b2b2b2b2b
|
||||
vector1 == vector2 : TRUE
|
||||
*** testRlcMacUplink ***
|
||||
UPLINK
|
||||
vector1 = 40e1e61d11d2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b
|
||||
=========Start DECODE===========
|
||||
|
@ -96,3 +98,4 @@ vector1 = 40a90200000000301012a80132b2b2b2b2b
|
|||
vector1 = 40a90200000000301012a80132b2b2b2b2b
|
||||
vector2 = 40a90200000000301012a80132b2b2b2b2b
|
||||
vector1 == vector2 : TRUE
|
||||
*** testCsnLeftAlignedVarBmpBounds ***
|
||||
|
|
Loading…
Reference in New Issue