sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

[TestOnly][Build] Support to collect the test coverage in cobertura format

Open xumia opened this issue 1 year ago • 9 comments

What I did [Build] Support to collect the test coverage in cobertura format.

  1. Collect the coverage inside of the docker container, only publish the coverage that does not have dependency on the coverage object file (gcno), reduce the file size a lot.
  2. Export the build dir, make sure it works fine to collect the coverage info in an environment different from the build environment.
  3. Simplify the coverage collection logic, disable the gcov stage.

Why I did it

How I verified it

Details if related

xumia avatar Jan 10 '24 02:01 xumia