[PATCH] coverage : Add support to run coverage in supported bsp without extra options

Chris Johns chrisj at rtems.org
Tue Jun 19 03:24:10 UTC 2018


On 19/06/2018 13:16, Vijay Kumar Banerjee wrote:
>     I would like to get my 22 patches pushed to master before moving on this topic.
>     This is the report I generate:
> 
>     https://ftp.rtems.org/pub/rtems/people/chrisj/coverage/leon3/leon3-qemu-report.html
> 
>     How does this look?
> 
> The report looks good.
> This report is from two subsystems score and rtems
> that are mentioned in the symbols ini file.

Excellent, I will push the patches. I have just run all the samples and updated
the report.

I get the size warning ...

INFO: DesiredSymbols::createCoverageMap - Attempt to create unified coverage
maps for _Workspace_Allocate_or_fatal_error with different sizes
(/opt/work/chris/rtems/kernel/bsps/leon3/sparc-rtems5/c/leon3/testsuites/samples/capture.exe/80!=
/opt/work/chris/rtems/kernel/bsps/leon3/sparc-rtems5/c/leon3/testsuites/samples/base_sp.exe/60)

My version of covoar has the DWARF function details from for a CU for an
executable so it will be interesting to see what this shows. I will take a look
at some point.

Also the execute wrapper needs to catch stderr and redirect that to the log. I
will take a look at that.

Chris



More information about the devel mailing list