Change in ...osmo-pcu[master]: tests/BitcompTest: fix wording in log message

lynxis lazus gerrit-no-reply at lists.osmocom.org
Sun Jun 16 23:57:46 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/14482


Change subject: tests/BitcompTest: fix wording in log message
......................................................................

tests/BitcompTest: fix wording in log message

The testcase is showing the compressed rbb.

Change-Id: Ie7a2b31e305dffb2776698d1bc8e80d6a435c135
---
M tests/bitcomp/BitcompTest.cpp
M tests/bitcomp/BitcompTest.err
2 files changed, 10 insertions(+), 10 deletions(-)



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

diff --git a/tests/bitcomp/BitcompTest.cpp b/tests/bitcomp/BitcompTest.cpp
index ebdcf6f..0489ac0 100644
--- a/tests/bitcomp/BitcompTest.cpp
+++ b/tests/bitcomp/BitcompTest.cpp
@@ -139,7 +139,7 @@
 		dest.cur_bit = 0;
 		_LOG("\nTest:%d\n"
 		     "Tree based decoding:\n"
-		     "uncompressed data = %s\n"
+		     "compressed data = %s\n"
 		     "len = %d\n",
 		     itr + 1,
 		     osmo_hexdump(test[itr].crbb_data,
diff --git a/tests/bitcomp/BitcompTest.err b/tests/bitcomp/BitcompTest.err
index 2c4ed0a..0c9bc66 100644
--- a/tests/bitcomp/BitcompTest.err
+++ b/tests/bitcomp/BitcompTest.err
@@ -1,7 +1,7 @@
 
 Test:1
 Tree based decoding:
-uncompressed data = 02 0c a0 30 cb 1a 0c e3 6c 
+compressed data = 02 0c a0 30 cb 1a 0c e3 6c 
 len = 67
 Run_length = 29
 Run_length = 26
@@ -19,7 +19,7 @@
 
 Test:2
 Tree based decoding:
-uncompressed data = 53 06 c5 40 6d 
+compressed data = 53 06 c5 40 6d 
 len = 40
 Run_length = 50
 Run_length = 40
@@ -34,7 +34,7 @@
 
 Test:3
 Tree based decoding:
-uncompressed data = 02 
+compressed data = 02 
 len = 8
 Run_length = 29
 rc = 0
@@ -46,7 +46,7 @@
 
 Test:4
 Tree based decoding:
-uncompressed data = 02 0c e0 41 a0 0c 36 0d 03 71 b0 6e 24 
+compressed data = 02 0c e0 41 a0 0c 36 0d 03 71 b0 6e 24 
 len = 103
 Run_length = 29
 Run_length = 19
@@ -68,7 +68,7 @@
 
 Test:5
 Tree based decoding:
-uncompressed data = de 88 75 65 80 
+compressed data = de 88 75 65 80 
 len = 35
 Run_length = 2
 Run_length = 2
@@ -89,7 +89,7 @@
 
 Test:6
 Tree based decoding:
-uncompressed data = dd 41 00 
+compressed data = dd 41 00 
 len = 18
 Run_length = 64
 Run_length = 16
@@ -103,7 +103,7 @@
 
 Test:7
 Tree based decoding:
-uncompressed data = 1e 70 c0 
+compressed data = 1e 70 c0 
 len = 18
 Run_length = 1
 Run_length = 1
@@ -113,14 +113,14 @@
 
 Test:8
 Tree based decoding:
-uncompressed data = 00 1e 
+compressed data = 00 1e 
 len = 14
 rc = -1
 Failed to decode CRBB: length 14, data 00 1e 
 
 Test:9
 Tree based decoding:
-uncompressed data = 00 00 00 
+compressed data = 00 00 00 
 len = 24
 rc = -1
 Failed to decode CRBB: length 24, data 00 00 00 

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ie7a2b31e305dffb2776698d1bc8e80d6a435c135
Gerrit-Change-Number: 14482
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190616/82d0967d/attachment.html>


More information about the gerrit-log mailing list