From 54681c3ffeaaf26f892c9427092ae0aa70c601fc Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 23 Jan 2020 21:59:23 +0100 Subject: tests/rlcmac: print test name at the start Change-Id: Ib8f0fcbd6bb68d77727c021f0d90d5248e895772 --- tests/rlcmac/RLCMACTest.cpp | 4 ++++ tests/rlcmac/RLCMACTest.ok | 3 +++ 2 files changed, 7 insertions(+) (limited to 'tests') diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp index 61026ed8..acfe56a6 100644 --- a/tests/rlcmac/RLCMACTest.cpp +++ b/tests/rlcmac/RLCMACTest.cpp @@ -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); diff --git a/tests/rlcmac/RLCMACTest.ok b/tests/rlcmac/RLCMACTest.ok index 896982da..d61c62f3 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 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 *** -- cgit v1.2.3