discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS


From: Vasil Velichkov
Subject: Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS
Date: Wed, 30 Jun 2021 08:33:44 +0300

Hi Anton,

On Tue, Jun 29, 2021, 21:04 Anton Ottosson <antonott@kth.se> wrote:

1: Traceback (most recent call last):
1:   File "/home/antonott/gr-howto/python/qa_square_ff.py", line 50, in test_002_square2_ff
1:     sqr = howto.square2_ff()
1: NameError: name 'howto' is not defined

First you need to import square2_ff from howto similar to line 13 and then you can use square2_ff directly without howto infront.

  from howto import square_ff, square2_ff
  sqr = square2_ff()


1: ----------------------------------------------------------------------
1: Ran 3 tests in 0.003s
1:
1: FAILED (errors=1)
1: DEPRECATED: Using filename with gr_unittest does no longer have any effect.
1/1 Test #1: qa_square_ff .....................***Failed    0.22 sec

Usually you would add a separate qa_* class for each block you have.

Though I guess since the unit tests are executed with reflection anything is possible.

Not sure what you mean by "reflection" here.

Regards,
Vasil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]