Ticket #1181 (new cage)

Opened 5 years ago

Last modified 5 years ago

make cover doesn't show coverage of *.ops files.

Reported by: coke Owned by:
Priority: normal Milestone:
Component: testing Version:
Severity: medium Keywords:
Cc: kid51 Language:
Patch status: Platform:

Description

e.g.:

 http://tapir2.ro.vutbr.cz/cover/cover-results/42216/c_cover/src-ops-var-ops.html

shows zero coverage of these ops.

We need a way to report on ops coverage. (and if the coverage is displayed in other files, we shouldn't display the *.ops files.)

Attachments

ops_coverage_hack.patch Download (1.1 KB) - added by plobsing 5 years ago.

Change History

Changed 5 years ago by plobsing

Changed 5 years ago by plobsing

The problem is in the #line directives in the generated files. I have attached a (horribly hackish) patch that fixes the problem.I don't suggest we apply this patch, it is a hack. It serves the purpose of pointing out exactly what the problem is. I regret that I have been unable to come up with a cleaner solution.

Note: See TracTickets for help on using tickets.