<div dir="auto">What's the full output and what did you change in the time in between having the same output that I posted and the new one?<div dir="auto"><br></div><div dir="auto">Start a new thread for this issue like Chris mentioned.</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 3 Apr 2018, 20:35 Vijay Kumar Banerjee, <<a href="mailto:vijaykumar9597@gmail.com">vijaykumar9597@gmail.com</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 clear="all"><div><div class="m_-3686263770250029655gmail_signature"><div dir="ltr"><div dir="ltr"><br></div></div></div></div>
<br><div class="gmail_quote">On 3 April 2018 at 03:58, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_-3686263770250029655gmail-">On 03/04/2018 02:10, Cillian O'Donnell wrote:<br>
> Sure if you want to crack at it.<br>
><br>
> If you pull the ini-update branch again, I've included the other files you'll need.<br>
><br>
> Now if you try and run rtems-test with coverage you will get<br>
><br>
> cpod@cpod ~ $ $HOME/development/rtems/test/rtems-tools/tester/rtems-test<br>
> --rtems-tools=$HOME/development/rtems/5 --log=coverage-analysis.log<br>
> --rtems-bsp=leon3_qemu --coverage --rtems-builddir=$HOME/development/rtems/leon3<br>
> sparc-rtems5/c/leon3/testsuites/samples<br>
> RTEMS Testing - Tester, 5 (80a1e6d9607e)<br>
> Traceback (most recent call last):<br>
> File "/home/cpod/development/rtems/test/rtems-tools/tester/rtems-test", line<br>
> 40, in <module><br>
> rt.test.run()<br>
> File "/home/cpod/development/rtems/test/rtems-tools/tester/rt/test.py", line<br>
> 310, in run<br>
> coverage = coverage_get_obj(opts, path_to_builddir[1])<br>
> File "/home/cpod/development/rtems/test/rtems-tools/tester/rt/test.py", line<br>
> 230, in coverage_get_obj<br>
> coverage_obj = coverage.coverage_run(opts.defaults, path_to_builddir)<br>
> File "/home/cpod/development/rtems/test/rtems-tools/tester/rt/coverage.py",<br>
> line 329, in __init__<br>
> self.config_map = self.macros.macros['coverage']<br></span></blockquote><div><br></div><div>I managed was getting these errors yesterday after pulling the changes but for some reason it's not working as expected , now .</div><div>It's giving the error : </div><div> error: mandatory item not found in bsp section: bsp</div><div>where can this error be coming from ?</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_-3686263770250029655gmail-">
<br>
</span>I would not access the 'macros' dictionary directly like this. It circumvents<br>
the map support. There is '__getitem__' support on the class which is better but<br>
still raises an exception on an index error. You can ask if a key is present and<br>
the 'get()' interface returns 'None' if not found.<br>
<br>
> KeyError: 'coverage'<br>
<br>
Can we please create new threads for new topics?<br>
<br>
Thanks<br>
<span class="m_-3686263770250029655gmail-HOEnZb"><font color="#888888">Chris<br>
</font></span></blockquote></div><div class="gmail_extra"><br></div>Thanks</div></div>
</blockquote></div>