Change in osmo-pcu[master]: tests/rlcmac: print test name at the start

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Jan 23 23:18:52 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/16986 )


Change subject: tests/rlcmac: print test name at the start
......................................................................

tests/rlcmac: print test name at the start

Change-Id: Ib8f0fcbd6bb68d77727c021f0d90d5248e895772
---
M tests/rlcmac/RLCMACTest.cpp
M tests/rlcmac/RLCMACTest.ok
2 files changed, 7 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/86/16986/1

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 ***

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/16986
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ib8f0fcbd6bb68d77727c021f0d90d5248e895772
Gerrit-Change-Number: 16986
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200123/9e5825fc/attachment.htm>


More information about the gerrit-log mailing list