rtems-test error with coverage

Chris Johns chrisj at rtems.org
Fri Nov 23 09:39:38 UTC 2018


On 23/11/18 7:32 pm, Vijay Kumar Banerjee wrote:
> Hi,
> I was trying to run coverage with rtems-test on a fresh install, and faced
> the following errors. This is strange as everything was working and I can't
> figure out what went wrong.
> Also, I don't see covoar executable in the covoar/ directory.
> 
> I'm using Python 2.7.15

Are you sure? The latest version selects the python used.

If you do ...

 $ export RTEMS_PYTHON_OVERRIDE=python2

... does it work?

> ========================================
> Traceback (most recent call last):
>   File "/home/lunatic/development/rtems/rtems-tools/tester/rt/coverage.py", line
> 263, in parse
>     ss = ss.replace('@BSP@', self.bsp_name)
> TypeError: a bytes-like object is required, not 'str'
> 
> During handling of the above exception, another exception occurred:
> 

This smells of a python3 type issue.

Chris



More information about the devel mailing list