-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
twister: coverage: Add coverage data to twister.json
New Twister option `--coverage-report` allow to select what coverage data to include into the `twister.json` file for its further analysis together with the test meta-data and test results. The choices are to select either the coverage summary, or the detailed branch coverage, ztest, or all the data. The coverage run status value is present with any non-default choice. Depending on `--coverage-split` and `--disable-coverage-aggregation` options the coverage data is attached either to its test suite object or/and at the report's top level for the test plan execution scope. Currently this mode is fully supported for `--coverage-tool gcovr` only, as it is based on the GCOVR json reports. Signed-off-by: Dmitrii Golovanov <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters