[Top][All Lists]

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

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

From: Vasil Velichkov
Subject: Re: OOT tests failing in GNU Radio, Ubuntu 20.04.2 LTS
Date: Tue, 29 Jun 2021 11:57:42 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

Hi Anton,

On 28/06/2021 22.12, Anton Ottosson wrote:
> It indeed seems like the tests only work if I first install the module. I 
> have set up a GitHub with the full source at 
> https://github.com/antonott/oot_tests_failing. The README outlines the 
> procedure used to build, test (and fail), install, and finally test again 
> (and succeeding).

Look at 

  /usr/bin/python3 /home/antonott/gr-iqlevels/python/qa_iqlevels.py 

As suspected "/home/antonott/gr-iqlevels/python/" is not added to PYTHONPATH 
and when you run the tests it can't find your module. This seems to be broken 
since the migration from swig to pybind. Previously when swig was used the 
import statements in the python/qa_*.py files looked like this

   import oot_swig as oot

and build/swig was added to the PYTHONPATH in build/python/qa_*_test.sh

   export PYTHONPATH=/home/user/src/gr-oot/build/swig:$PYTHONPATH

Not sure how to fix this but I my option this needs to be fixed/improved.


reply via email to

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