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
17 # pylint: disable=no-name-in-module
29 'coverage.log', 'coverage.json',
30 'coverage'
48 'coverage.log', 'coverage.json',
49 'coverage'
58 'coverage.log', 'coverage.json',
59 'coverage', os.path.join('coverage','coverage.xml')
66 'coverage.log', 'coverage.json',
[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@v6
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@v6
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*
22 # and each sphinx-build process may use more than 2GiB of RAM.
26 doc-file-check:
28 runs-on: ubuntu-22.04
30 github.repository_owner == 'zephyrproject-rtos'
32 file_check: ${{ steps.check-doc-files.outputs.any_modified }}
34 - name: checkout
38 fetch-depth: 0
[all …]
/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/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/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/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-2022 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
27 """ Base class for every supported coverage tool
42 logger.error(f"Unsupported coverage tool specified: {tool}")
45 logger.debug(f"Select {tool} as the coverage tool...")
63 # Loop until the coverage data is found.
72 hex_dump = sp[1][:-1]
100 # Iteratively call gcov-tool (not gcov) to merge the files
101 merge_tool = self.gcov_tool + '-tool'
102 for d1, d2 in zip(dirs[:-1], dirs[1:], strict=False):
[all …]
/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 - "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 - "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/ci/coverage/
Dcoverage_analysis.py1 # SPDX-License-Identifier: Apache-2.0
29 self.report_json = self.generate_json_report( args.coverage)
231 def generate_json_report(self, coverage): argument
236 with open(coverage, 'r') as file:
261 "Coverage": file_coverage,
305 return -1
306 return len(path) - len(sep[-1]) - len(str)
357 worksheet.write(row,col+7,"Coverage [%]",header_format)
374 coverage = 0.0
384 coverage = (hit/lines)*100
[all …]
/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/riscv32_xip/
DKconfig.defconfig2 # SPDX-License-Identifier: Apache-2.0
6 # Use thread local storage by default so that this feature gets more CI coverage.
/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