coverage : error when running --coverage with rtems-test for whole testsuites

Gedare Bloom gedare at rtems.org
Fri Jul 20 15:49:46 UTC 2018


On Fri, Jul 20, 2018 at 11:43 AM, Vijay Kumar Banerjee
<vijaykumar9597 at gmail.com> wrote:
> On 20 July 2018 at 19:44, Gedare Bloom <gedare at rtems.org> wrote:
>>
>> On Thu, Jul 19, 2018 at 6:29 PM, Vijay Kumar Banerjee
>> <vijaykumar9597 at gmail.com> wrote:
>> > Hello,
>> >
>> > I used the following command
>> >
>> > ====================
>> > $HOME/development/rtems/test/rtems-tools/tester/rtems-test \
>> > --rtems-tools=$HOME/development/rtems/5 --log=coverage_analysis.log \
>> > --no-clean --coverage=score --rtems-bsp=leon3-qemu-cov \
>> >
>> > /home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3/testsuites
>> > --debug-trace=cov
>> > ====================
>> >
>> > and I'm getting the following error
>> >
>> > ===================
>> > error: coverage: covoar failure:: -9
>> > ===================
>> >
>>
>> What does error code -9 mean from covoar?
>>
> I don't know what does code -9 mean.
> The error is coming from here
> https://github.com/RTEMS/rtems-tools/blob/master/tester/rt/coverage.py#L329
>

I should have said, "Can you figure out what error code -9 means?"
You'll have to trace back to find where it originates.

> I will run coverage for testsuites/ again and upload the log file here.
>>
>> Does it make any progress at all?
>>
> The tests are running but coverage doesn't progress at all.
>>
>> > This, however, runs fine for samples/
>> >
>>
>> does this command work for you without using the cov options?
>>
> yes
>>
>> > I think this will probably be on hold as Chris seems to be
>> > on a break, meanwhile, I want to do a wrapup work on
>> > the non-gcov coverage reports, I seek suggestions/advice
>> > for the same.
>> >
>> > The current state is that the coverage reports can be generated
>> > for one symbol-set only, There's a ticket for the support of
>> > generating separate reports of multiple sets from covoar.
>> >
>> > https://devel.rtems.org/ticket/3441
>> >
>> > Please let me know of any suggestions including suggestions
>> > regarding documentation as Coverage needs more
>> > documentation.
>> >
>>
>> What is the existing documentation for coverage?
>>
> I found these links
>
> https://devel.rtems.org/wiki/TBR/UserManual/RTEMS_Coverage_Analysis
> https://devel.rtems.org/wiki/Developer/Coverage/Theory
> https://devel.rtems.org/wiki/Developer/Coverage/Analysis
>

We need to capture this stuff in a proper manual. At least it could
start as a chapter in the user manual, maybe? @Joel ideas?

>> > Thanks
>> > -- vijay
>> >
>> > _______________________________________________
>> > devel mailing list
>> > devel at rtems.org
>> > http://lists.rtems.org/mailman/listinfo/devel
>
>



More information about the devel mailing list