<div dir="ltr"><div>If you run just one test by itself without rtems-test<br><br>qemu-system-sparc -no-reboot -monitor null -serial stdio -nographic -M leon3_generic -kernel $HOME/development/rtems/leon3/sparc-rtems5/c/leon3/testsuites/samples/hello/hello.exe<br><br></div>Does the hello world print out?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 March 2018 at 14:46, 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="ltr">I built it manually<div><br></div><div><div>the environment variable PATH looks like this </div><div><div>/home/lunatic/qemu/install/<wbr>bin:/home/lunatic/development/<wbr>rtems/5/bin:/usr/local/bin:/<wbr>usr/local/sbin:/usr/bin:/usr/<wbr>sbin:/home/lunatic/.local/bin:<wbr>/home/lunatic/bin</div></div><div><br></div></div><div>I tried to run rtems-test again without --coverage , it gives the same result </div><div>I have attached the log.</div></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_1291843736417638140gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">-- vijay</div></div></div></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On 17 March 2018 at 00:55, Cillian O'Donnell <span dir="ltr"><<a href="mailto:cpodonnell8@gmail.com" target="_blank">cpodonnell8@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="ltr"><div><div><div><div><div>Yes this is something more than my build, I'll need someone a bit more expert in the RSB to step in 
there. In the meantime, lets just build couverture-qemu manually so we 
can see is everything else working.<br><br></div><div>git clone <a href="https://github.com/AdaCore/qemu" target="_blank">https://github.com/AdaCore/qem<wbr>u</a><br><br></div><div>cd qemu<br></div><br>./configure --target-list=sparc-softmmu --prefix=$HOME/qemu/install --disable-docs --disable-virtfs --disable-werror<br><br></div>make<br><br></div>make install<br><br></div>then add the prefix to $PATH in .bashrc as well like before.<br><br>export PATH=$HOME/qemu/install/bin:$P<wbr>ATH<br><br></div>Then run rtem-test and see what happens<br><div><div><div><div><br></div></div></div></div></div><div class="m_1291843736417638140HOEnZb"><div class="m_1291843736417638140h5"><div class="gmail_extra"><br><div class="gmail_quote">On 16 March 2018 at 19:13, 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">the same error comes when I try to build qemu from the RTEMS/rtems-source-builder as well <div dir="auto"><br></div><div dir="auto">is the issue coming from my system ? I'm using fedora 27 64bit</div></div><div class="m_1291843736417638140m_5671629375072740164HOEnZb"><div class="m_1291843736417638140m_5671629375072740164h5"><div class="gmail_extra"><br><div class="gmail_quote">On 17 Mar 2018 12:39 a.m., "Vijay Kumar Banerjee" <<a href="mailto:vijaykumar9597@gmail.com" target="_blank">vijaykumar9597@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">yes , the same thing happens </div><div class="gmail_extra"><br><div class="gmail_quote">On 17 Mar 2018 12:13 a.m., "Cillian O'Donnell" <<a href="mailto:cpodonnell8@gmail.com" target="_blank">cpodonnell8@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If you build regular qemu with the RSB, does the same thing happen?<br><br></div>Try<br><br>../source-builder/sb-set-build<wbr>er --log=qemu_log.txt --prefix=$HOME/development/5 devel/qemu<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 March 2018 at 16:48, 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="ltr">still the same error </div><div class="gmail_extra"><span class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">-- vijay</div></div></div></div></div></font></span><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331h5">
<br><div class="gmail_quote">On 16 March 2018 at 21:39, Cillian O'Donnell <span dir="ltr"><<a href="mailto:cpodonnell8@gmail.com" target="_blank">cpodonnell8@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="ltr">Just checked and the build was failing because one of the patches needed its hash to be updated to sha256. Just pushed that change. The build finishes successfully on my end. Pull that change into couverture-build branch and try it again. I'm not seeing any automake stuff here, so just check that and let me know.<br></div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409HOEnZb"><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409h5"><div class="gmail_extra"><br><div class="gmail_quote">On 16 March 2018 at 14:59, 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="ltr">building couverture-qemu from rtems-source-builder ( <a href="https://github.com/cillianodonnell/rtems-source-builder/tree/couverture-build" target="_blank">https://github.com/cillianod<wbr>onnell/rtems-source-builder/tr<wbr>ee/couverture-build</a> )<div>gives error building auromake-1.12.6-x86_64-linux-g<wbr>nu-1 .</div><div><br></div><div>I have attached the error report .</div></div><div class="gmail_extra"><span class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">-- vijay</div></div></div></div></div></font></span><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150h5">
<br><div class="gmail_quote">On 15 March 2018 at 19:17, Cillian O'Donnell <span dir="ltr"><<a href="mailto:cpodonnell8@gmail.com" target="_blank">cpodonnell8@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="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On 15 March 2018 at 12:26, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>It runs with a bunch of errors . I have attached the log file </div></div></blockquote><div><br></div></span><div>Ok, I'm guessing you didn't set up Couverture-Qemu (special version of qemu designed for generating extra trace data for coverage analysis). That's what those errors are about. I have an RSB build for that.<br><br><a href="https://github.com/cillianodonnell/rtems-source-builder/tree/couverture-build" target="_blank">https://github.com/cillianodon<wbr>nell/rtems-source-builder/tree<wbr>/couverture-build</a><br><br>and the instructions for building it are<br><br><a href="https://devel.rtems.org/wiki/GSoC/2017/coveragetools#BuildingCouverture-QemuwiththeRSB" target="_blank">https://devel.rtems.org/wiki/G<wbr>SoC/2017/coveragetools#Buildin<wbr>gCouverture-QemuwiththeRSB</a><br><br>I know what the other problem is too. I have a specific environment variable defined for the path, sorry I can't even remember putting it there, I thought that was automatically generated (probably should be, another thing to add to the list :)... ). So wherever you stuck the export path for where the rsb built the tools, in .bashrc or whatever you're using. Also put something like:<br><br>export PATH=$HOME/development/rtems/5<wbr>/bin:$PATH                    <wbr>          <br>export PATH=$HOME/development/rtems/t<wbr>est/rtems-tools/build/tester/c<wbr>ovoar:$PATH <br><br></div><div>or you could just copy covoar into the /bin directory with all the other rsb tools gcc and all that, it'll find it either way.<br></div><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283h5"><div><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-HOEnZb"><font color="#888888"><div><br></div></font></span></div><div class="gmail_extra"><span class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421gmail_signature"><div dir="ltr"><div><div dir="ltr">-- vijay</div></div></div></div></div></font></span><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-h5">
<br><div class="gmail_quote">On 15 March 2018 at 16:58, Cillian O'Donnell <span dir="ltr"><<a href="mailto:cpodonnell8@gmail.com" target="_blank">cpodonnell8@gmail.com</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"><div dir="ltr"><div><div>Looks good. If you run the samples without coverage is everything ok?<br><br></div>So removing --coverage and tacking on /samples<br><br>$HOME/development/rtems-tools/<wbr>tester/rtems-test --rtems-bsp=leon3-qemu --log=log-leon3.log --rtems-tools=$HOME/developmen<wbr>t/rtems/5 --rtems-builddir=$HOME/develop<wbr>ment/rtems/kernel/leon3 sparc-rtems5/c/leon3/testsuite<wbr>s/samples<br><br></div>Do the tests run?<br></div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421HOEnZb"><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421h5"><div class="gmail_extra"><br><div class="gmail_quote">On 15 March 2018 at 10:53, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I have attached the output of the ls of that directory </div><div class="gmail_extra"><span class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421m_6080802996459253080HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421m_6080802996459253080m_4265214684194597197gmail_signature"><div dir="ltr"><div><div dir="ltr">-- vijay</div></div></div></div></div></font></span><div><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421m_6080802996459253080h5">
<br><div class="gmail_quote">On 15 March 2018 at 15:52, Cillian O'Donnell <span dir="ltr"><<a href="mailto:cpodonnell8@gmail.com" target="_blank">cpodonnell8@gmail.com</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"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On 15 March 2018 at 03:58, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br clear="all"><div>hello ,</div><div><br></div><div>as told by Joel , I started this thread to further discuss the coverage analysis toolset .</div><div><br></div><div>Current status is , I'm trying to builld and run rtems-test from the coverage-merge branch of the previous GSoC student Cillian .</div><div><a href="https://github.com/cillianodonnell/rtems-tools/tree/coverage-merge" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank">https://github.com/cillianodon<wbr>nell/rtems-tools/tree/coverage<wbr>-merge</a><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421m_6080802996459253080m_4265214684194597197m_4116954690337017550gmail-m_-1601794959059658134gmail-yj6qo m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421m_6080802996459253080m_4265214684194597197m_4116954690337017550gmail-m_-1601794959059658134gmail-ajU" style="outline:medium none currentcolor;padding:10px 0px;width:22px;margin:2px 0px 0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div></div><div>I'm getting an error that says .</div><div> "Covoar not found !"</div></div></blockquote><div><br></div></span><div>It's supposed to find it in rtems-tools/build/tester/covoa<wbr>r/ If it's in there it should be fine. Can you show me the contents of that directory?<br><br>cpod@cpod ~/development/rtems/test/rtems<wbr>-tools/build/tester/covoar $ ls<br><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><div dir="ltr"><div><br></div><div>the Covoar appeared in rtems-tools/tester/covoar .</div><span class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421m_6080802996459253080m_4265214684194597197m_4116954690337017550gmail-HOEnZb"><font color="#888888"><div><br></div>-- <div><br><div class="m_1291843736417638140m_5671629375072740164m_-8471587081489137947m_3421528444402152830m_-8900210480725584331m_4544054503720060409m_6526454175567146150m_4194242532264955283m_6275232041047339959gmail-m_7155349920759863371gmail-m_-5313278359439495421m_6080802996459253080m_4265214684194597197m_4116954690337017550gmail-m_-1601794959059658134gmail_signature"><div dir="ltr">Vijay</div></div>
</div></font></span></div>
<br></span>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/devel</a><br></blockquote></div><br></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</blockquote></div></div>
</blockquote></div></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>