• Home
  • Raw
  • Download

Lines Matching +full:report +full:- +full:coverage

7 #     https://www.apache.org/licenses/LICENSE-2.0
21 # Expands to code coverage targets that can be used as dependencies to generate
22 # coverage reports at build time.
25 # - enable_if (optional): Conditionally activates coverage report generation
27 # - failure_mode (optional/unstable): Specify the failure mode for llvm-profdata
35 # - Coverage Settings
36 # - filter_paths (optional): List of file paths (using GN path helpers like
38 # being used. These filter source files so that the coverage report *ONLY*
42 # - ignore_filename_patterns (optional): List of file path regular expressions
43 # to ignore when generating the coverage report.
44 # - pw_test Depedencies (required): These control which test binaries are used
45 # to collect usage data for the coverage report. The following can basically
48 # - tests: A list of pw_test targets.
49 # - group_deps: A list of pw_test_group targets.
55 # ensures that a coverage-enabled toolchain is being used and the provided
58 # - If a coverage-enabled toolchain is being used and the provided enable_if
60 # - <target_name>.text: Generates a text representation of the coverage
61 # report. This is the output of
62 # `llvm-cov show --format text`.
63 # - <target_name>.html: Generates an HTML representation of the coverage
64 # report. This is the output of
65 # `llvm-cov show --format html`.
66 # - <target_name>.lcov: Generates an LCOV representation of the coverage
67 # report. This is the output of
68 # `llvm-cov export --format lcov`.
69 # - <target_name>.json: Generates a JSON representation of the coverage
70 # report. This is the output of
71 # `llvm-cov export --format text`.
73 # - <target_name>: A group that takes dependencies on <target_name>.text,
76 # all coverage artifacts without manually depending on each
79 # - The other targets this expands to should be considered private and not
81 # - If a coverage-enabled toolchain is not being used or the provided enable_if
83 # - All of the above target names, but they are empty groups.
101 # ensure binaries are instrumented for coverage and profraw files are
141 # after executing we can use to generate the coverage report.
159 "--llvm-profdata-path",
161 "--test-metadata-path",
163 "--profdata-path",
165 "--depfile-path",
169 # TODO: b/256651964 - We really want `--failure-mode any` always to guarantee
170 # we don't silently ignore any profraw report. However, there are downstream
171 # projects that currently break when using `--failure-mode any`.
175 # Invalid profraw files will be ignored so coverage reports might have a
179 "--failure-mode",
202 "--llvm-cov-path",
204 "--format",
206 "--test-metadata-path",
208 "--profdata-path",
210 "--root-dir",
212 "--build-dir",
214 "--output-dir",
216 "--depfile-path",
223 "--filter-path",
229 "--ignore-filename-pattern",
247 outputs += [ "$_output_dir/report.lcov" ]
249 outputs += [ "$_output_dir/report.json" ]