<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Sun, 29 Apr 2018, 23:30 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 29/04/2018 20:50, Cillian O'Donnell wrote:<br>
> On 28 April 2018 at 08:08, 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>
>     +      for (const std::string set : sets) {<br>
>     +        if (verbose)<br>
>     +          std::cerr << " Symbol set: " << set << std::endl;<br>
>     +        const rld::config::section& set_section = config.get_section(set);<br>
>     +        rld::strings libs;<br>
>     +        rld::config::parse_items (set_section, "libraries", libs, true);<br>
>     +        for (std::string lib : libs) {<br>
>     +          lib = rld::find_replace(lib, "@BUILD-TARGET@", buildTarget);<br>
>     +          lib = rld::find_replace(lib, "@BSP@", buildBSP);<br>
> <br>
> <br>
> Problem here. It tries to find the find the library but doesn't have the top<br>
> build directory.<br>
<br>
Yes, this is correct. I have detected the build path in `main` but I decided to<br>
not use it yet and I have not decided if it gets used at all.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Ah ok, you were expecting this.</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>
I have not looked at or worked on the qemu side of things, that is next. I am<br>
not sure how this effects things so at this point in time you need to be at the<br>
top of the build tree to work. This is not a bad thing, I think covoar is<br>
leaving temporary files about the place.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes the .cov files could be left lying around in the event of a crash. They are generated while the tests are run, so before covoar starts and then need to hang around for covoar's use later on. They probably need to be handled by the tester.</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>
>     -  while ((opt = getopt(argc, argv, "1:L:e:c:g:E:f:s:T:O:p:v:d")) != -1) {<br>
>     +  while ((opt = getopt(argc, argv, "1:L:e:c:g:E:f:s:S:T:O:p:vd")) != -1) {<br>
>  <br>
> Missing semicolon between v and d option.<br>
<br>
There is no argument to the -v option. With the ':' the option parsing get<br>
stuffed up.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Ok, my mistake.</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>
>          switch (opt) {<br>
>     -      case '1': singleExecutable      = optarg; break;<br>
>     -      case 'L': dynamicLibrary        = optarg; break;<br>
>     -      case 'e': executableExtension   = optarg; break;<br>
>     -      case 'c': coverageFileExtension = optarg; break;<br>
>     -      case 'g': gcnosFileName         = optarg; break;<br>
>     -      case 'E': explanations          = optarg; break;<br>
>     -      case 'f': format                = optarg; break;<br>
>     -      case 's': symbolsFile           = optarg; break;<br>
>     -      case 'T': target                = optarg; break;<br>
>     -      case 'O': outputDirectory       = optarg; break;<br>
>     -      case 'v': Verbose               = true;   break;<br>
<br>
See here and also `usage(..)`.<br>
<br>
Chris<br>
</blockquote></div></div></div>