rtems-test error with coverage

Vijay Kumar Banerjee vijaykumar9597 at gmail.com
Sun Nov 25 08:27:40 UTC 2018


On Sun, 25 Nov 2018 at 02:42, Chris Johns <chrisj at rtems.org> wrote:

> On 24/11/18 6:55 pm, Vijay Kumar Banerjee wrote:
> >
> >     OK, we just need a patch. :)
> >
> > this worked
> > ========================
> > diff --git a/tester/covoar/wscript b/tester/covoar/wscript
> > index d447117..bf70bfb 100644
> > --- a/tester/covoar/wscript
> > +++ b/tester/covoar/wscript
> > @@ -125,6 +125,7 @@ def build(bld):
> >      bld.program(target = 'covoar',
> >                  source = ['covoar.cc'],
> >                  use = ['ccovoar'] + modules,
> > +                install_path = bld.srcnode.abspath() + '/tester/bin',
> >                  cflags = ['-O2', '-g'],
> >                  cxxflags = ['-std=c++11', '-O2', '-g'],
> >                  includes = ['.'] + rtl_includes)
> >
> > ========================
> >
> > since there's a bin folder being created as a result, do we include bin
> in
> > .gitignore ?
> >
>
> No please do not add and this is the wrong spot to install too. Installing
> is to
> under the prefix passed on the waf's configure command line and not the
> source
> directory.
>
> The spot to change is here:
>
>  https://git.rtems.org/rtems-tools/tree/tester/rt/coverage.py#n303
>
> and in the wscript using something like:
>
>  install_path = '${PREFIX}/share/rtems/tester/bin'
>
> Understood.
Thanks for the clarification.

> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181125/c36295ef/attachment-0002.html>


More information about the devel mailing list