Change in gr-gsm[master]: tests: Do not specify filename when runing gr_unittest

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/.

ptrkrysik gerrit-no-reply at lists.osmocom.org
Mon May 3 10:24:46 UTC 2021


Hello vvvelichkov,

I'd like you to do a code review. Please visit

    https://gerrit.osmocom.org/c/gr-gsm/+/24080

to review the following change.


Change subject: tests: Do not specify filename when runing gr_unittest
......................................................................

tests: Do not specify filename when runing gr_unittest

This fixes the following warning

DEPRECATED: Using filename with gr_unittest does no longer have any effect.

Change-Id: I7d6dbc32ff794ebf2bc116fa7437062e6780b85f
---
M python/qa_arfcn.py
M python/qa_burst_file_source.py
M python/qa_burst_fnr_filter.py
M python/qa_burst_printer.py
M python/qa_burst_sdcch_subslot_filter.py
M python/qa_burst_sdcch_subslot_splitter.py
M python/qa_burst_timeslot_filter.py
M python/qa_burst_timeslot_splitter.py
M python/qa_controlled_fractional_resampler_cc.py
M python/qa_decryption.py
M python/qa_dummy_burst_filter.py
M python/qa_message_printer.py
M python/qa_message_source_sink.py
M python/qa_msg_to_tag.py
M python/qa_tch_f_chans_demapper.py
M python/qa_tch_f_decoder.py
M python/qa_tch_h_chans_demapper.py
M python/qa_tch_h_decoder.py
M python/qa_txtime_bursts_tagger.py
M python/qa_txtime_setter.py
M python/qa_uplink_downlink_splitter.py
21 files changed, 21 insertions(+), 22 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/gr-gsm refs/changes/80/24080/1

diff --git a/python/qa_arfcn.py b/python/qa_arfcn.py
index 53c8fff..0a3cc4e 100755
--- a/python/qa_arfcn.py
+++ b/python/qa_arfcn.py
@@ -267,4 +267,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_arfcn, "qa_arfcn.xml")
+    gr_unittest.run(qa_arfcn)
diff --git a/python/qa_burst_file_source.py b/python/qa_burst_file_source.py
index cf8835e..c83c9c4 100644
--- a/python/qa_burst_file_source.py
+++ b/python/qa_burst_file_source.py
@@ -101,4 +101,4 @@
             list(dst.get_burst_data()))
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_burst_file_sink, "qa_burst_file_sink.xml")
+    gr_unittest.run(qa_burst_file_sink)
diff --git a/python/qa_burst_fnr_filter.py b/python/qa_burst_fnr_filter.py
index 4602ec7..945cd0b 100755
--- a/python/qa_burst_fnr_filter.py
+++ b/python/qa_burst_fnr_filter.py
@@ -165,4 +165,4 @@
         self.assertEqual(bursts_expected, bursts_result)
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_burst_fnr_filter, "qa_burst_fnr_filter.xml")
+    gr_unittest.run(qa_burst_fnr_filter)
diff --git a/python/qa_burst_printer.py b/python/qa_burst_printer.py
index c1fdfaf..15a7fc8 100755
--- a/python/qa_burst_printer.py
+++ b/python/qa_burst_printer.py
@@ -294,4 +294,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_burst_printer, "qa_burst_printer.xml")
+    gr_unittest.run(qa_burst_printer)
diff --git a/python/qa_burst_sdcch_subslot_filter.py b/python/qa_burst_sdcch_subslot_filter.py
index 4940286..bce74fd 100755
--- a/python/qa_burst_sdcch_subslot_filter.py
+++ b/python/qa_burst_sdcch_subslot_filter.py
@@ -208,4 +208,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_burst_sdcch_subslot_filter, "qa_burst_sdcch_subslot_filter.xml")
+    gr_unittest.run(qa_burst_sdcch_subslot_filter)
diff --git a/python/qa_burst_sdcch_subslot_splitter.py b/python/qa_burst_sdcch_subslot_splitter.py
index 7d8b8e0..a72ec01 100755
--- a/python/qa_burst_sdcch_subslot_splitter.py
+++ b/python/qa_burst_sdcch_subslot_splitter.py
@@ -398,4 +398,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_burst_sdcch_subslot_splitter, "qa_burst_sdcch_subslot_splitter.xml")
+    gr_unittest.run(qa_burst_sdcch_subslot_splitter)
diff --git a/python/qa_burst_timeslot_filter.py b/python/qa_burst_timeslot_filter.py
index 16001f0..041c95a 100755
--- a/python/qa_burst_timeslot_filter.py
+++ b/python/qa_burst_timeslot_filter.py
@@ -89,4 +89,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_burst_timeslot_filter, "qa_burst_timeslot_filter.xml")
+    gr_unittest.run(qa_burst_timeslot_filter)
diff --git a/python/qa_burst_timeslot_splitter.py b/python/qa_burst_timeslot_splitter.py
index 2f8738b..e99b44d 100755
--- a/python/qa_burst_timeslot_splitter.py
+++ b/python/qa_burst_timeslot_splitter.py
@@ -158,4 +158,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_burst_timeslot_splitter, "qa_burst_timeslot_splitter.xml")
+    gr_unittest.run(qa_burst_timeslot_splitter)
diff --git a/python/qa_controlled_fractional_resampler_cc.py b/python/qa_controlled_fractional_resampler_cc.py
index e00f6bc..57939de 100755
--- a/python/qa_controlled_fractional_resampler_cc.py
+++ b/python/qa_controlled_fractional_resampler_cc.py
@@ -40,4 +40,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_controlled_fractional_resampler_cc, "qa_controlled_fractional_resampler_cc.xml")
+    gr_unittest.run(qa_controlled_fractional_resampler_cc)
diff --git a/python/qa_decryption.py b/python/qa_decryption.py
index 663471c..995a530 100755
--- a/python/qa_decryption.py
+++ b/python/qa_decryption.py
@@ -199,4 +199,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_decryption, "qa_decryption.xml")
+    gr_unittest.run(qa_decryption)
diff --git a/python/qa_dummy_burst_filter.py b/python/qa_dummy_burst_filter.py
index 3215b12..fada415 100755
--- a/python/qa_dummy_burst_filter.py
+++ b/python/qa_dummy_burst_filter.py
@@ -99,4 +99,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_dummy_burst_filter, "qa_dummy_burst_filter.xml")
+    gr_unittest.run(qa_dummy_burst_filter)
diff --git a/python/qa_message_printer.py b/python/qa_message_printer.py
index 21e6852..b1bf05e 100755
--- a/python/qa_message_printer.py
+++ b/python/qa_message_printer.py
@@ -162,5 +162,4 @@
         
         
 if __name__ == '__main__':
-    gr_unittest.run(qa_message_printer, "qa_message_printer.xml")
- 
+    gr_unittest.run(qa_message_printer)
diff --git a/python/qa_message_source_sink.py b/python/qa_message_source_sink.py
index 1638345..8c375d4 100755
--- a/python/qa_message_source_sink.py
+++ b/python/qa_message_source_sink.py
@@ -77,4 +77,4 @@
        
         
 if __name__ == '__main__':
-    gr_unittest.run(qa_message_source_sink, "qa_message_source_sink.xml")
+    gr_unittest.run(qa_message_source_sink)
diff --git a/python/qa_msg_to_tag.py b/python/qa_msg_to_tag.py
index f4b6829..b897b66 100755
--- a/python/qa_msg_to_tag.py
+++ b/python/qa_msg_to_tag.py
@@ -40,4 +40,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_msg_to_tag, "qa_msg_to_tag.xml")
+    gr_unittest.run(qa_msg_to_tag)
diff --git a/python/qa_tch_f_chans_demapper.py b/python/qa_tch_f_chans_demapper.py
index 6643653..f101ca9 100755
--- a/python/qa_tch_f_chans_demapper.py
+++ b/python/qa_tch_f_chans_demapper.py
@@ -151,4 +151,4 @@
         self.assertEqual(odd,  self.sacch_fr_test(ts=7, frames=[90, 103, 116, 129, 142, 155, 168, 181], bursts=bursts))
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_tch_f_chans_demapper, "qa_tch_f_chans_demapper.xml")
+    gr_unittest.run(qa_tch_f_chans_demapper)
diff --git a/python/qa_tch_f_decoder.py b/python/qa_tch_f_decoder.py
index b6a8b65..1cac84f 100755
--- a/python/qa_tch_f_decoder.py
+++ b/python/qa_tch_f_decoder.py
@@ -105,4 +105,4 @@
         self.assertEqual(dst.num_messages(), 0)
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_tch_f_decoder, "qa_tch_f_decoder.xml")
+    gr_unittest.run(qa_tch_f_decoder)
diff --git a/python/qa_tch_h_chans_demapper.py b/python/qa_tch_h_chans_demapper.py
index 4348f98..15e9bfc 100755
--- a/python/qa_tch_h_chans_demapper.py
+++ b/python/qa_tch_h_chans_demapper.py
@@ -206,4 +206,4 @@
         self.assertEqual(odd,  self.sacch_hr_test(ts=7, sub=1, frames=[90, 103, 116, 129, 142, 155, 168, 181], bursts=bursts))
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_tch_h_chans_demapper, "qa_tch_h_chans_demapper.xml")
+    gr_unittest.run(qa_tch_h_chans_demapper)
diff --git a/python/qa_tch_h_decoder.py b/python/qa_tch_h_decoder.py
index b0bd469..7d64d64 100755
--- a/python/qa_tch_h_decoder.py
+++ b/python/qa_tch_h_decoder.py
@@ -187,4 +187,4 @@
             []) #Must return an empty array
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_tch_h_decoder, "qa_tch_h_decoder.xml")
+    gr_unittest.run(qa_tch_h_decoder)
diff --git a/python/qa_txtime_bursts_tagger.py b/python/qa_txtime_bursts_tagger.py
index fd15b10..8b4c990 100755
--- a/python/qa_txtime_bursts_tagger.py
+++ b/python/qa_txtime_bursts_tagger.py
@@ -103,4 +103,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_txtime_bursts_tagger, "qa_txtime_bursts_tagger.xml")
+    gr_unittest.run(qa_txtime_bursts_tagger)
diff --git a/python/qa_txtime_setter.py b/python/qa_txtime_setter.py
index d5509a9..9d9d839 100755
--- a/python/qa_txtime_setter.py
+++ b/python/qa_txtime_setter.py
@@ -40,4 +40,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_txtime_setter, "qa_txtime_setter.xml")
+    gr_unittest.run(qa_txtime_setter)
diff --git a/python/qa_uplink_downlink_splitter.py b/python/qa_uplink_downlink_splitter.py
index 681331b..b129ae3 100755
--- a/python/qa_uplink_downlink_splitter.py
+++ b/python/qa_uplink_downlink_splitter.py
@@ -40,4 +40,4 @@
 
 
 if __name__ == '__main__':
-    gr_unittest.run(qa_uplink_downlink_splitter, "qa_uplink_downlink_splitter.xml")
+    gr_unittest.run(qa_uplink_downlink_splitter)

-- 
To view, visit https://gerrit.osmocom.org/c/gr-gsm/+/24080
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: gr-gsm
Gerrit-Branch: master
Gerrit-Change-Id: I7d6dbc32ff794ebf2bc116fa7437062e6780b85f
Gerrit-Change-Number: 24080
Gerrit-PatchSet: 1
Gerrit-Owner: ptrkrysik <ptrkrysik at gmail.com>
Gerrit-Reviewer: vvvelichkov <vvvelichkov at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210503/bdbce809/attachment.htm>


More information about the gerrit-log mailing list