while running rtems-test with coverage

Vijay Kumar Banerjee vijay at rtems.org
Sun May 16 16:20:09 UTC 2021


(Resending for the list)

On Sun, May 16, 2021 at 10:18 AM Vijay Kumar Banerjee
<vijaykumar9597 at gmail.com> wrote:
>
> Hi Mohammadreza,
>
> Sorry for the delay in replying :)
>
>
> On Tue, May 11, 2021 at 11:39 AM mohammadreza tahzibi
> <m.r.tahzibi at 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 at 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
> >
> >
> > =========================================================
> >
> >
> > Thank you for your assistance.
> > Regards
> >
> >
> >


More information about the devel mailing list