Hello,
I know that this issue was posted in the past but I haven't found any
information about if it was fixed in any of the 3.9.x versions of GNU
Radio. So the problem is with importing my custom module while running unit
tests. While running *ctest -VV -R square *I got the output:

*UpdateCTestConfiguration  from
:/home/ubuntu/prefixes/gnuradio39/OOTs/gr-hornet/build/DartConfiguration.tcl*










*UpdateCTestConfiguration  from
:/home/ubuntu/prefixes/gnuradio39/OOTs/gr-hornet/build/DartConfiguration.tclTest
project /home/ubuntu/prefixes/gnuradio39/OOTs/gr-hornet/buildConstructing a
list of testsDone constructing a list of testsUpdating test list for
fixturesAdded 0 tests to meet fixture requirementsChecking test dependency
graph...Checking test dependency graph endtest 4    Start 4: qa_square_ff*














*4: Test command: /usr/bin/sh
"/home/ubuntu/prefixes/gnuradio39/OOTs/gr-hornet/build/python/qa_square_ff_test.sh"4:
Test timeout computed to be: 100000004: Traceback (most recent call
last):4:   File
"/home/ubuntu/prefixes/gnuradio39/OOTs/gr-hornet/python/qa_square_ff.py",
line 12, in <module>4:     from hornet import square_ff4: ImportError:
cannot import name 'square_ff' from 'hornet' (unknown location)4: 4: During
handling of the above exception, another exception occurred:4: 4: Traceback
(most recent call last):4:   File
"/home/ubuntu/prefixes/gnuradio39/OOTs/gr-hornet/python/qa_square_ff.py",
line 18, in <module>4:     from hornet import square_ff4: ImportError:
cannot import name 'square_ff' from 'hornet' (unknown location)1/1 Test #4:
qa_square_ff .....................***Failed    0.28 sec*

*0% tests passed, 1 tests failed out of 1*

*Total Test time (real) =   0.29 sec*


*The following tests FAILED:      4 - qa_square_ff (Failed)*

Anyone know how to solve that issue? Or does anyone know which version of
GNU Radio has a fix for that issue? I am kinda forced to use 3.9.x version
in my dev work.

Reply via email to