<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 16, 2021, 11:20 AM Vijay Kumar Banerjee <<a href="mailto:vijay@rtems.org">vijay@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">(Resending for the list)<br>
<br>
On Sun, May 16, 2021 at 10:18 AM Vijay Kumar Banerjee<br>
<<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a>> wrote:<br>
><br>
> Hi Mohammadreza,<br>
><br>
> Sorry for the delay in replying :)<br>
><br>
><br>
> On Tue, May 11, 2021 at 11:39 AM mohammadreza tahzibi<br>
> <<a href="mailto:m.r.tahzibi@gmail.com" target="_blank" rel="noreferrer">m.r.tahzibi@gmail.com</a>> wrote:<br>
> ><br>
> > Dear Sir<br>
> > Hi,<br>
> ><br>
> > I am new in rtems and I am trying to run rtems-test ith enabling coverage.<br>
> ><br>
> Great.<br>
><br>
> > But after many attempts I encountered the same problem and I am not able to handle this issue.<br>
> ><br>
> > I would be glad if you could resolve this issue.<br>
><br>
> please try --rtems-bsp=xilinx_zynq_a9_qemu-cov<br>
><br>
> As a convention, there are two versions of the config for the targets<br>
> that support coverage. The one with "-cov" suffix has the right<br>
> configuration to use with `--coverage` option.<br>
><br>
><br>
> Hope this helps.<br>
><br>
> Best regards,<br>
> Vijay<br>
><br>
><br>
> > The error messages are attached below (atttachment).<br>
> ><br>
> > =========================================================<br>
> > 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<br>
> > RTEMS Testing - Tester, 5 (d697769d4682 modified)<br>
> > Traceback (most recent call last):<br>
> >   File "rtems/5/share/rtems/tester/rt/cmd-test.py", line 42, in <module><br>
> >     test.run(sys.argv[1:], command_path = base)<br>
> >   File "/home/work/sandbox2/rtems/5/share/rtems/tester/rt/test.py", line 446, in run<br>
> >     trace = cov_trace)<br>
> >   File "/home/work/sandbox2/rtems/5/share/rtems/tester/rt/coverage.py", line 385, in __init__<br>
> >     self.target = self.macros['target']<br>
> >   File "/home/work/sandbox2/rtems/5/share/rtems/rtemstoolkit/macros.py", line 195, in __getitem__<br>
> >     raise IndexError('key: %s' % (key))<br>
> > IndexError: key: target<br>
> ><br>
> ><br>
> > =========================================================<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Coverage was broken until a lot of recent work by Alex. You have to have qemu-couverture and must be on the master.</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> ><br>
> ><br>
> > Thank you for your assistance.<br>
> > Regards<br>
> ><br>
> ><br>
> ><br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></div>