Home
last modified time | relevance | path

Searched +full:- +full:- +full:cov +full:- +full:report (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/doc/develop/test/
Dcoverage.rst42 To report the coverage for the particular test application set :kconfig:option:`CONFIG_COVERAGE`.
47 These steps will produce an HTML coverage report for a single application.
51 .. zephyr-app-commands::
53 :gen-args: -DCONFIG_COVERAGE=y -DCONFIG_COVERAGE_DUMP=y
58 the emulator with :kbd:`Ctrl-A X` for this to complete after the coverage dump
61 .. code-block:: console
63 $ ninja -Cbuild run | tee log.log
67 .. code-block:: console
69 $ ninja -Cbuild run | tee log.log
74 .. code-block:: console
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dcoverage.py3 # Copyright (c) 2018-2025 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
76 hex_dump = sp[1][:-1]
104 # Iteratively call gcov-tool (not gcov) to merge the files
105 merge_tool = self.gcov_tool + '-tool'
106 for d1, d2 in zip(dirs[:-1], dirs[1:], strict=False):
107 cmd = [merge_tool, 'merge', d1, d2, '--output', d2]
111 with open(f'{dirs[-1]}/tmp.gcda', 'rb') as fp:
112 return fp.read(-1).hex()
121 filename = (filename[:-4]) + "gcno"
[all …]