<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 23, 2018, 4:20 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 24/11/18 12:50 am, Vijay Kumar Banerjee wrote:<br>
> On Fri, 23 Nov 2018 at 16:21, Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a><br>
> <mailto:<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a>>> wrote:<br>
> <br>
> On 23 Nov 2018, at 8:55 pm, Vijay Kumar Banerjee <<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a><br>
> <mailto:<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a>>> wrote:<br>
>> On Fri, 23 Nov 2018 at 15:09, Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a><br>
>> <mailto:<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a>>> wrote:<br>
>><br>
>> On 23/11/18 7:32 pm, Vijay Kumar Banerjee wrote:<br>
>> > Hi,<br>
>> > I was trying to run coverage with rtems-test on a fresh install, and<br>
>> faced<br>
>> > the following errors. This is strange as everything was working and<br>
>> I can't<br>
>> > figure out what went wrong.<br>
>> > Also, I don't see covoar executable in the covoar/ directory.<br>
>> ><br>
>> > I'm using Python 2.7.15<br>
>><br>
>> Are you sure? The latest version selects the python used.<br>
>><br>
>> `python --version` returns 2.7.15<br>
> <br>
> The python command may not be used. It could python3. <br>
> <br>
>> If you do ...<br>
>><br>
>> $ export RTEMS_PYTHON_OVERRIDE=python2 <br>
>><br>
>> ... does it work?<br>
>><br>
>> Yes, this worked. Now I see <br>
>><br>
>> error: coverage: covoar not found<br>
> <br>
> I am not sure about this error but it does mean there maybe some issues with<br>
> python3. <br>
> <br>
> For some reason, the covoar executable is not installed in the tester/covoar<br>
> directory, where the the script is searching for it.<br>
<br>
OK.<br>
<br>
> The covoar is installed in the bin directory. Is there any reason that script<br>
> searches for covoar in the tester/ instead of the bin directory? <br>
<br>
Would anyone call 'covoar' directly?<br>
<br>
If the answer is No then I suggest the waf script is updated to install covoar<br>
into the tester directory. There should be examples in the script to do this. I<br>
am fine with this happening.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">There is no reason why it wouldn't be if any other application or library used it. But 5hey would have to use rtems-tester or a similar framework to drive it. </div><div dir="auto"><br></div><div dir="auto">For now, feel free to put it in tester/bin</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>
Chris<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></blockquote></div></div></div>