<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 21 July 2018 at 03:49, Vijay Kumar Banerjee <span dir="ltr"><<a href="mailto:vijaykumar9597@gmail.com" target="_blank">vijaykumar9597@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div><div class="gmail_quote"><div dir="ltr">On Fri, Jul 20, 2018, 10:08 PM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 20, 2018 at 9:14 AM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, Jul 19, 2018 at 6:29 PM, Vijay Kumar Banerjee<br>
<<a href="mailto:vijaykumar9597@gmail.com" rel="noreferrer" target="_blank">vijaykumar9597@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I used the following command<br>
><br>
> ====================<br>
> $HOME/development/rtems/test/<wbr>rtems-tools/tester/rtems-test \<br>
> --rtems-tools=$HOME/<wbr>development/rtems/5 --log=coverage_analysis.log \<br>
> --no-clean --coverage=score --rtems-bsp=leon3-qemu-cov \<br>
> /home/lunatic/development/<wbr>rtems/kernel/leon3/sparc-<wbr>rtems5/c/leon3/testsuites<br>
> --debug-trace=cov<br>
> ====================<br>
><br>
> and I'm getting the following error<br>
><br>
> ===================<br>
> error: coverage: covoar failure:: -9<br>
> ===================<br>
><br>
<br>
</span>What does error code -9 mean from covoar?<br>
<br>
Does it make any progress at all?<br></blockquote><div><br></div><div>Can you capture the command line used to invoke covoar and</div><div>run it in gdb? That's an odd error message. covoar is usually</div><div>good at printing something useful. It was written to be paranoid.</div></div></div></div></blockquote></div></div></span><div dir="auto">yes I'm trying to run it in gdb, the laptop</div><div dir="auto">freezes for a long time and I have to </div><div dir="auto">restart it, I'll give it more time tommorow</div><div dir="auto">and let it take as much time as it wants</div><div dir="auto"><br></div><div dir="auto">It runs fine for samples/ so we're searching</div><div dir="auto">for a small test case where it trips, so</div><div dir="auto">I'll run it separately for each set of tests,</div><div dir="auto">like benchmarks/ , fstests/ ...</div><span class=""><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"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><br>
> This, however, runs fine for samples/<br>
><br>
<br>
</span>does this command work for you without using the cov options?<br>
<span><br>
> I think this will probably be on hold as Chris seems to be<br>
> on a break, meanwhile, I want to do a wrapup work on<br>
> the non-gcov coverage reports, I seek suggestions/advice<br>
> for the same.<br>
><br>
> The current state is that the coverage reports can be generated<br>
> for one symbol-set only, There's a ticket for the support of<br>
> generating separate reports of multiple sets from covoar.<br>
><br>
> <a href="https://devel.rtems.org/ticket/3441" rel="noreferrer noreferrer" target="_blank">https://devel.rtems.org/<wbr>ticket/3441</a></span></blockquote><div><br></div><div>I thought originally that the Python would invoke covoar multiple</div><div>times. It was slower but that was how it was originally designed.</div><div>Is there no support in the Python for doing this?</div></div></div></div></blockquote></div></div></span><div dir="auto">I was building it in a way that the script invokes </div><div dir="auto">covoar multiple times, but Chris' modifications</div><div dir="auto">to covoar added support for reading multiple symbol-sets</div><div dir="auto">after which I changed the coverage script.</div><div dir="auto"><br></div><div dir="auto">If we're planning to have this support in</div><div dir="auto">the python script untill covoar is updated,</div><div dir="auto">then I can add it.</div></div></blockquote><div>I managed to get this work, please see the attached image.</div><div>If we're looking to get this support in the script, I'll send the patch. :) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><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"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
><br>
> Please let me know of any suggestions including suggestions<br>
> regarding documentation as Coverage needs more<br>
> documentation.<br>
><br>
<br>
</span>What is the existing documentation for coverage?<br></blockquote><div><br></div><div>That's an important part of reproducability. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> Thanks<br>
> -- vijay<br>
><br>
> ______________________________<wbr>_________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</blockquote></div><br></div></div>
</blockquote></div></div></span></div>
</blockquote></div><br></div></div>