summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_file_source_sink.py
Commit message (Collapse)AuthorAgeFilesLines
* file_source: add optional offset (in items) and len (in items)Jeff Long2018-02-081-167/+0
| | | | | | | - Adds unit tests, and splits existing unit tests into different files: qa_file_source.py - tests file_source_f qa_file_sink.py - tests file_sink_f qa_file_descriptor_source_sink.py - tests file_descriptor_*_f
* qa_file_source_sink.py: create file_source after file has been populatedJeff Long2018-02-081-9/+8
| | | | | | Test was opening zero-length file and depending on it to be populated later. With addition of offset/length fields, file_source will be required to check file size on open.
* set_begin_tag now takes pmt::pmt instead of boolRuben Undheim2017-05-191-2/+3
|
* Address comment in pull request to use "with" with tempfileRuben Undheim2017-05-191-27/+25
|
* blocks: file_source ("file_begin" stream tag)Ruben Undheim2017-05-191-0/+63
| | | | | | - Add a configurable "file_begin" stream tag which is especially useful in repeat mode. - Added unit tests for new functionality
* Use Python's tempfile module for unit testRuben Undheim2017-05-141-41/+38
| | | | | | | | Instead of setting a fixed file name for unit test of file_source, rather employ the tempfile module in a with statement. This was suggested by Johnathan in https://github.com/gnuradio/gnuradio/pull/1301
* call do_update after calling open in the file source constructor,cottrema2014-06-261-0/+16
| | | | | otherwise if seek is called before work, a segmentation fault will occur as d_fp is null
* uninstalled import: Updatings blocks, fec, uhd, and filter so that ↵Ben Reynwar2013-06-041-0/+93
uninstalled import works with recent changes.