tests/rlcmac: print test name at the start
Change-Id: Ib8f0fcbd6bb68d77727c021f0d90d5248e895772
diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp
index 61026ed..acfe56a 100644
--- a/tests/rlcmac/RLCMACTest.cpp
+++ b/tests/rlcmac/RLCMACTest.cpp
@@ -40,6 +40,7 @@
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 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 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 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);
diff --git a/tests/rlcmac/RLCMACTest.ok b/tests/rlcmac/RLCMACTest.ok
index 896982d..d61c62f 100644
--- a/tests/rlcmac/RLCMACTest.ok
+++ b/tests/rlcmac/RLCMACTest.ok
@@ -1,3 +1,4 @@
+*** testRlcMacDownlink ***
DOWNLINK
vector1 = 4e8250e3f1a81d882080b2b2b2b2b2b2b2b2b2b2b
=========Start DECODE===========
@@ -55,6 +56,7 @@
vector1 = 40243f2f000087b042b2b2b2b2b2b2b2b2b2b2b
vector2 = 40243f2f000087b042b2b2b2b2b2b2b2b2b2b2b
vector1 == vector2 : TRUE
+*** testRlcMacUplink ***
UPLINK
vector1 = 40e1e61d11d2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b
=========Start DECODE===========
@@ -96,3 +98,4 @@
vector1 = 40a90200000000301012a80132b2b2b2b2b
vector2 = 40a90200000000301012a80132b2b2b2b2b
vector1 == vector2 : TRUE
+*** testCsnLeftAlignedVarBmpBounds ***