rtems-test error with coverage
Chris Johns
chrisj at rtems.org
Sat Nov 24 21:12:46 UTC 2018
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'
Chris
More information about the devel
mailing list