You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2016/06/16 04:34:05 UTC

[jira] [Created] (TS-4549) generate code coverage day in CI

James Peach created TS-4549:
-------------------------------

             Summary: generate code coverage day in CI
                 Key: TS-4549
                 URL: https://issues.apache.org/jira/browse/TS-4549
             Project: Traffic Server
          Issue Type: Improvement
          Components: CI
            Reporter: James Peach


Now that the {{--coverage}} build option works, it would be great to use {{lcov}} to generate some coverage data in CI.

I think that the gist go it would be something like this:
{code}
lcov --directory $PREFIX --zerocounters
... run tests or something here ...
lcov --directory $PREFIX --capture --output-file coverage.info
lcov --summary coverage.info
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)