aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-23 21:59:23 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-23 21:59:23 +0100
commit54681c3ffeaaf26f892c9427092ae0aa70c601fc (patch)
treef73cb1469670bdfaae9e9eef824600f3c5eea21f /tests
parentbd0b0b32426f8514488cd70155d25880c90d3c9b (diff)
tests/rlcmac: print test name at the startHEADmaster
Diffstat (limited to 'tests')
-rw-r--r--tests/rlcmac/RLCMACTest.cpp4
-rw-r--r--tests/rlcmac/RLCMACTest.ok3
2 files changed, 7 insertions, 0 deletions
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 @@ 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 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
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 ***