On Sun, May 16, 2021, 11:20 AM Vijay Kumar Banerjee <vi...@rtems.org> wrote:

> (Resending for the list)
>
> On Sun, May 16, 2021 at 10:18 AM Vijay Kumar Banerjee
> <vijaykumar9...@gmail.com> wrote:
> >
> > Hi Mohammadreza,
> >
> > Sorry for the delay in replying :)
> >
> >
> > On Tue, May 11, 2021 at 11:39 AM mohammadreza tahzibi
> > <m.r.tahz...@gmail.com> wrote:
> > >
> > > Dear Sir
> > > Hi,
> > >
> > > I am new in rtems and I am trying to run rtems-test ith enabling
> coverage.
> > >
> > Great.
> >
> > > But after many attempts I encountered the same problem and I am not
> able to handle this issue.
> > >
> > > I would be glad if you could resolve this issue.
> >
> > please try --rtems-bsp=xilinx_zynq_a9_qemu-cov
> >
> > As a convention, there are two versions of the config for the targets
> > that support coverage. The one with "-cov" suffix has the right
> > configuration to use with `--coverage` option.
> >
> >
> > Hope this helps.
> >
> > Best regards,
> > Vijay
> >
> >
> > > The error messages are attached below (atttachment).
> > >
> > > =========================================================
> > > root@xen:/home/work/sandbox2# rtems/5/bin/rtems-test
> --rtems-tools=/home/work/sandbox2/rtems/5/  --log=coverage-analysis.log
> --rtems-bsp=xilinx_zynq_a9_qemu --target=arm-rtems5   --coverage
> rtems-libbsd/build/arm-rtems5-xilinx_zynq_a9_qemu-default/selectpollkqueue01.exe
> > > RTEMS Testing - Tester, 5 (d697769d4682 modified)
> > > Traceback (most recent call last):
> > >   File "rtems/5/share/rtems/tester/rt/cmd-test.py", line 42, in
> <module>
> > >     test.run(sys.argv[1:], command_path = base)
> > >   File "/home/work/sandbox2/rtems/5/share/rtems/tester/rt/test.py",
> line 446, in run
> > >     trace = cov_trace)
> > >   File
> "/home/work/sandbox2/rtems/5/share/rtems/tester/rt/coverage.py", line 385,
> in __init__
> > >     self.target = self.macros['target']
> > >   File
> "/home/work/sandbox2/rtems/5/share/rtems/rtemstoolkit/macros.py", line 195,
> in __getitem__
> > >     raise IndexError('key: %s' % (key))
> > > IndexError: key: target
> > >
> > >
> > > =========================================================
>

Coverage was broken until a lot of recent work by Alex. You have to have
qemu-couverture and must be on the master.

There hasn't been any talk of back porting all this.  It would likely be a
heavy copy and paste from 6 to 5 and a lot of testing.


> >
> > >
> > > Thank you for your assistance.
> > > Regards
> > >
> > >
> > >
> _______________________________________________
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to