From a623940437622e11b6f9490a8bcfaaee0e9ae222 Mon Sep 17 00:00:00 2001 From: Vasil Velichkov Date: Mon, 9 Sep 2019 22:38:21 +0300 Subject: 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 --- python/qa_arfcn.py | 2 +- python/qa_burst_file_source.py | 2 +- python/qa_burst_fnr_filter.py | 2 +- python/qa_burst_printer.py | 2 +- python/qa_burst_sdcch_subslot_filter.py | 2 +- python/qa_burst_sdcch_subslot_splitter.py | 2 +- python/qa_burst_timeslot_filter.py | 2 +- python/qa_burst_timeslot_splitter.py | 2 +- python/qa_controlled_fractional_resampler_cc.py | 2 +- python/qa_decryption.py | 2 +- python/qa_dummy_burst_filter.py | 2 +- python/qa_message_printer.py | 3 +-- python/qa_message_source_sink.py | 2 +- python/qa_msg_to_tag.py | 2 +- python/qa_tch_f_chans_demapper.py | 2 +- python/qa_tch_f_decoder.py | 2 +- python/qa_tch_h_chans_demapper.py | 2 +- python/qa_tch_h_decoder.py | 2 +- python/qa_txtime_bursts_tagger.py | 2 +- python/qa_txtime_setter.py | 2 +- python/qa_uplink_downlink_splitter.py | 2 +- 21 files changed, 21 insertions(+), 22 deletions(-) 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 @@ class qa_arfcn(gr_unittest.TestCase): 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 @@ class qa_burst_file_sink (gr_unittest.TestCase): 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 @@ class qa_burst_fnr_filter (gr_unittest.TestCase): 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 @@ class qa_burst_printer (gr_unittest.TestCase): 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 @@ class qa_burst_sdcch_subslot_filter (gr_unittest.TestCase): 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 @@ class qa_burst_sdcch_subslot_splitter (gr_unittest.TestCase): 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 @@ class qa_burst_timeslot_filter (gr_unittest.TestCase): 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 @@ class qa_burst_timeslot_splitter (gr_unittest.TestCase): 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 @@ class qa_controlled_fractional_resampler_cc (gr_unittest.TestCase): 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 @@ class qa_decryption (gr_unittest.TestCase): 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 @@ class qa_dummy_burst_filter (gr_unittest.TestCase): 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 @@ class qa_message_printer (gr_unittest.TestCase): 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 @@ class qa_message_source_sink (gr_unittest.TestCase): 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 @@ class qa_msg_to_tag (gr_unittest.TestCase): 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 @@ class qa_tch_f_chans_demapper (gr_unittest.TestCase): 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 @@ class qa_tch_f_decoder (gr_unittest.TestCase): 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 @@ class qa_tch_h_chans_demapper (gr_unittest.TestCase): 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 @@ class qa_tch_h_decoder (gr_unittest.TestCase): []) #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 @@ class qa_txtime_bursts_tagger (gr_unittest.TestCase): 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 @@ class qa_txtime_setter (gr_unittest.TestCase): 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 @@ class qa_uplink_downlink_splitter (gr_unittest.TestCase): if __name__ == '__main__': - gr_unittest.run(qa_uplink_downlink_splitter, "qa_uplink_downlink_splitter.xml") + gr_unittest.run(qa_uplink_downlink_splitter) -- cgit v1.2.3