rtems-test error with coverage

Vijay Kumar Banerjee vijaykumar9597 at gmail.com
Fri Nov 23 09:55:20 UTC 2018


On Fri, 23 Nov 2018 at 15:09, Chris Johns <chrisj at rtems.org> wrote:

> 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.
>
> `python --version` returns 2.7.15

> If you do ...
>
>  $ export RTEMS_PYTHON_OVERRIDE=python2
>
... does it work?
>
> Yes, this worked. Now I see

error: coverage: covoar not found

> ========================================
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181123/433684d4/attachment-0002.html>


More information about the devel mailing list