Home
last modified time | relevance | path

Searched +full:- +full:- +full:coverage (Results 1 – 25 of 141) sorted by relevance

123456

/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_coverage.py4 # SPDX-License-Identifier: Apache-2.0
16 # pylint: disable=duplicate-code, disable=no-name-in-module
28 'coverage.log', 'coverage.json',
29 'coverage'
47 'coverage.log', 'coverage.json',
48 'coverage'
57 'coverage.log', 'coverage.json',
58 'coverage', os.path.join('coverage','coverage.xml')
65 'coverage.log', 'coverage.json',
66 'coverage', os.path.join('coverage','coverage.sonarqube.xml')
[all …]
/Zephyr-latest/.github/workflows/
Dcodecov.yaml1 name: Code Coverage with codecov
5 - cron: '25 06,18 * * *'
8 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
9 cancel-in-progress: true
13 if: github.repository_owner == 'zephyrproject-rtos'
14 runs-on:
15 group: zephyr-runner-v2-linux-x64-4xlarge
17 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
18 options: '--entrypoint /bin/bash'
20 fail-fast: false
[all …]
Ddoc-publish.yml3 # SPDX-License-Identifier: Apache-2.0
11 - main
12 - v*
14 - completed
17 doc-publish:
19 runs-on: ubuntu-22.04
23 github.repository == 'zephyrproject-rtos/zephyr'
26 - name: Download artifacts
27 uses: dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
29 workflow: doc-build.yml
[all …]
Ddoc-publish-pr.yml3 # SPDX-License-Identifier: Apache-2.0
11 - completed
14 doc-publish:
16 runs-on: ubuntu-22.04
20 github.repository == 'zephyrproject-rtos/zephyr'
23 - name: Download artifacts
24 id: download-artifacts
25 uses: dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
27 workflow: doc-build.yml
31 - name: Load PR number
[all …]
Ddoc-build.yml2 # SPDX-License-Identifier: Apache-2.0
8 - cron: '0 */3 * * *'
11 - v*
24 doc-build-html:
27 github.repository_owner == 'zephyrproject-rtos'
28 runs-on: ubuntu-24.04
29 timeout-minutes: 90
31 group: doc-build-html-${{ github.ref }}
32 cancel-in-progress: true
35 - name: install-pkgs
[all …]
/Zephyr-latest/scripts/tests/twister/
DREADME.md12 pip install -r $ZEPHYR_BASE/scripts/requirements-build-test.txt
23 ## Twister Coverage
25 The coverage for all the tests can be run using the command below. This will collect all the tests …
28 coverage run -m pytest $ZEPHYR_BASE/scripts/tests/twister/
31 Then we can generate the coverage report for just twister script using
34 coverage report -m $ZEPHYR_BASE/scripts/pylib/twister/
37 To generate the coverage report for twister script use below command
40 coverage report -m $ZEPHYR_BASE/scripts/twister
43 The html coverage report for twister can be generated using
46 coverage html twister
[all …]
/Zephyr-latest/tests/bsim/
Dgenerate_coverage_report.sh3 # SPDX-License-Identifier: Apache-2.0
5 set -eu
9 _generate_coverage_report.sh [-help]
10 Generate an html coverage report for BabbleSim tests
15 Coverage files will be searched for in the folder pointed by
22 By default it takes all coverage information generated by all run tests
25 You can also merge in the twister coverage report by setting
27 TWISTER_COVERAGE_FILE=\${ZEPHYR_BASE}/twister-out/coverage.info
29 twister -p nrf52_bsim -T tests/bluetooth/ --coverage
31 Note: Generating a coverage report for many tests is a lengthy process
[all …]
/Zephyr-latest/subsys/testsuite/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
30 The code coverage report generation is only available on boards
31 with enough spare RAM to buffer the coverage data, or on boards
34 config COVERAGE config
35 bool "Create coverage data"
38 This option will build your application with the -coverage option
39 which will generate data that can be used to create coverage reports.
41 https://docs.zephyrproject.org/latest/guides/coverage.html
44 prompt "Coverage mode"
47 depends on COVERAGE
[all …]
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
8 add_subdirectory_ifdef(CONFIG_COVERAGE_GCOV coverage)
9 zephyr_include_directories_ifdef(CONFIG_COVERAGE_GCOV ${ZEPHYR_BASE}/subsys/testsuite/coverage)
/Zephyr-latest/doc/develop/test/
Dcoverage.rst3 Generating coverage reports
6 With Zephyr, you can generate code coverage reports to analyze which parts of
15 Test coverage reports in embedded devices or QEMU
20 `GCC GCOV <gcov_>`_ is a test coverage program
21 used together with the GCC compiler to analyze and create test coverage reports
25 In Zephyr, gcov collects coverage profiling data in RAM (and not to a file
32 There are 2 parts to enable this feature. The first is to enable the coverage for the
34 code coverage with gcov is a function of RAM available. Therefore ensure that the
35 device has enough RAM when enabling the coverage for it. For example a small device
37 cases which consume more RAM will crash when coverage is enabled.
[all …]
/Zephyr-latest/tests/benchmarks/sys_kernel/
DREADME.txt8 --------------------------------------------------------------------------------
19 TEST COVERAGE:
29 TEST COVERAGE:
40 TEST COVERAGE:
52 TEST COVERAGE:
62 TEST COVERAGE:
74 TEST COVERAGE:
86 TEST COVERAGE:
96 TEST COVERAGE:
108 TEST COVERAGE:
[all …]
/Zephyr-latest/cmake/linker/ld/clang/
Dlinker_flags.cmake1 # The coverage linker flag is specific for clang.
3 set_property(TARGET linker PROPERTY coverage --coverage)
5 set_property(TARGET linker PROPERTY coverage -fprofile-instr-generate -fcoverage-mapping)
9 set_property(TARGET linker PROPERTY ld_extra_warning_options ${LINKERFLAGPREFIX},--fatal-warnings)
15 set_property(TARGET linker APPEND PROPERTY cpp_base ${LINKERFLAGPREFIX},-z,norelro)
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dcoverage.py3 # Copyright (c) 2018-2025 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
27 """ Base class for every supported coverage tool
46 logger.error(f"Unsupported coverage tool specified: {tool}")
49 logger.debug(f"Select {tool} as the coverage tool...")
67 # Loop until the coverage data is found.
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):
[all …]
Denvironment.py4 # Copyright (c) 2018-2025 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
25 from twisterlib.coverage import supported_coverage_formats
45 def _get_installed_packages() -> Generator[str, None, None]:
63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser:
82 $ ./scripts/twister -v \\
83 --testsuite-root tests/ztest/base \\
84 --testsuite-root tests/kernel \\
85 --test tests/ztest/base/testing.ztest.verbose_0 \\
[all …]
Dtwister_main.py4 # SPDX-License-Identifier: Apache-2.0
15 from twisterlib.coverage import run_coverage
68 sys.exit(f"Too many '{options.outdir}.*' directories. Run either with --no-clean, "
69 "or --clobber-output, or delete these directories manually.")
144 duration = time.time() - start_time
179 duration = time.time() - start_time
187 if options.coverage and not options.disable_coverage_aggregation:
189 report.coverage_status, report.coverage = run_coverage(options, tplan)
191 logger.info("Skipping coverage report generation due to --build-only.")
214 or (options.coverage and not report.coverage_status)
/Zephyr-latest/scripts/pylib/pytest-twister-harness/
D.gitignore1 # Byte-compiled / optimized / DLL files
9 develop-eggs/
20 pip-wheel-metadata/
21 share/python-wheels/
22 *.egg-info/
27 # Unit test / coverage reports
31 .coverage
32 .coverage.*
35 coverage.xml
/Zephyr-latest/scripts/
Drequirements-build-test.txt1 # BUILD-TEST: required to do build tests of zephyr
3 # things used by twister or other things like code coverage or python
12 # used for code coverage
14 coverage
16 # used for west-command testing
/Zephyr-latest/cmake/linker/ld/gcc/
Dlinker_flags.cmake1 # The coverage linker flag is specific for gcc.
7 set_property(TARGET linker PROPERTY coverage -lgcov)
10 check_set_linker_property(TARGET linker APPEND PROPERTY gprof -pg)
14 add_link_options(-gdwarf-4)
17 set_property(TARGET linker PROPERTY warnings_as_errors -Wl,--fatal-warnings)
19 set_linker_property(PROPERTY specs -specs=)
/Zephyr-latest/cmake/linker/
Dlinker_flags_template.cmake3 # SPDX-License-Identifier: Apache-2.0
21 # coverage is a property holding the linker flag required for coverage support on the toolchain.
22 # For example, on ld/gcc this would be: -lgcov
24 set_property(TARGET linker PROPERTY coverage)
28 # such as ls --print-memory-usage flag.
37 # such as, "-no-pie" for LD, and "--no-pie" for LLD.
41 # such as, "-r" or "--relocatable" for LD and LLD.
54 # front-end for ld.
/Zephyr-latest/cmake/compiler/clang/
Dcompiler_flags.cmake10 # No printf-return-value optimizations in clang
14 # But clang has problems compiling these with -fno-freestanding.
17 # clang flags for coverage generation
19 set_compiler_property(PROPERTY coverage -fprofile-instr-generate -fcoverage-mapping)
21 set_compiler_property(PROPERTY coverage --coverage -fno-inline)
25 set_compiler_property(PROPERTY diagnostic -fcolor-diagnostics)
28 set_compiler_property(PROPERTY save_temps -save-temps)
30 # clang doesn't handle the -T flag
31 set_compiler_property(PROPERTY linker_script -Wl,-T)
39 -Wall
[all …]
/Zephyr-latest/tests/kernel/mem_protect/mem_map/
Dtestcase.yaml4 - kernel
5 - mmu
9 - arm
10 - x86
14 - CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
15 - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
17 - qemu_x86_64
18 - intel_adsp/ace30/ptl
20 - qemu_x86
25 - qemu_x86_64
[all …]
/Zephyr-latest/tests/boards/nrf/coresight_stm/
Dtestcase.yaml8 - nrf54h20dk/nrf54h20/cpuapp
10 - nrf54h20dk/nrf54h20/cpuapp
19- "$ZEPHYR_BASE/samples/boards/nordic/coresight_stm/pytest/test_stm.py::test_STM_dictionary_mode"
21 - nordic-log-stm-dict
23 - SB_CONFIG_APP_CPUPPR_RUN=y
24 - SB_CONFIG_APP_CPUFLPR_RUN=y
32 - "$ZEPHYR_BASE/samples/boards/nordic/coresight_stm/pytest/test_stm.py::test_STM_decoded"
34 - nordic-log-stm
36 - SB_CONFIG_APP_CPUPPR_RUN=y
37 - SB_CONFIG_APP_CPUFLPR_RUN=y
[all …]
/Zephyr-latest/
D.gitignore25 # no suitable out-of-tree directory is found.
29 outdir-*
32 coverage-report
33 doc-coverage.info
41 doc/themes/zephyr-docs-theme
42 sanity-out*
43 twister-out*
55 hide-defaults-note
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/
Dtest_config.yaml5 - name: smoke
9 - dummy.agnostic\..*
10 - name: acceptance
12 More coverage
14 - dummy.agnostic\..*
15 - dummy.device\..*
/Zephyr-latest/boards/qemu/riscv32e/
DKconfig.defconfig2 # SPDX-License-Identifier: Apache-2.0
6 # Use thread local storage by default so that this feature gets more CI coverage.

123456