Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

block python gateway: add WORK_CALLED_PRODUCE/_DONE proxy #1396

Conversation

marcusmueller
Copy link
Member

so that we can then have

def general_work(self, input_items, output_items):
    …
    self.produce(0,2)
    self.produce(1,1)
    return gr.WORK_CALLED_PRODUCE

Includes a unit test.

We need more unit tests. There wasn't a single general block test in
qa_block_gateway.py.

Ref:
http://lists.gnu.org/archive/html/discuss-gnuradio/2017-07/msg00338.html

so that we can then have

    def general_work(self, input_items, output_items):
        …
        self.produce(0,2)
        self.produce(1,1)
        return gr.WORK_CALLED_PRODUCE

Includes a unit test.

We need more unit tests. There wasn't a single general block test in
qa_block_gateway.py.
@jmcorgan jmcorgan added this to the Release 3.7.12 milestone Jul 28, 2017
@jmcorgan jmcorgan merged commit 9757127 into gnuradio:master Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants