Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4549

generate code coverage data in CI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Infrastructure
    • CI
    • None

    Description

      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:

      lcov --directory $PREFIX --zerocounters
      ... run tests or something here ...
      lcov --directory $PREFIX --capture --output-file coverage.info
      lcov --summary coverage.info
      

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            jamespeach James Peach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: