sonic-swss
sonic-swss copied to clipboard
[TestOnly][Build] Support to collect the test coverage in cobertura format
What I did [Build] Support to collect the test coverage in cobertura format.
- 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.
- Export the build dir, make sure it works fine to collect the coverage info in an environment different from the build environment.
- Simplify the coverage collection logic, disable the gcov stage.
Why I did it
How I verified it
Details if related