Home
last modified time | relevance | path

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

12

/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-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/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 …]
Dtestinstance.py3 # Copyright (c) 2018-2025 Intel Corporation
7 # SPDX-License-Identifier: Apache-2.0
62 self.coverage = None
80 source_dir_rel = testsuite.source_dir_rel.rsplit(os.pardir+os.path.sep, 1)[-1]
122 def status(self) -> TwisterStatus:
126 def status(self, value : TwisterStatus) -> None:
148 If exist, get cached run id from previous run."""
185 def compose_case_name(self, tc_name) -> str:
233 # command-line, then we need to run the test, not just build it.
234 fixture = testsuite.harness_config.get('fixture')
[all …]
Drunner.py3 # Copyright (c) 2018-2025 Intel Corporation
5 # SPDX-License-Identifier: Apache-2.0
46 from twisterlib.coverage import run_coverage_instance
76 completed = done - filtered_static
79 pass rate = passed / (total - filtered_configs)
80 case pass rate = passed_cases / (cases - filtered_cases - skipped_cases)
149 length = int(log10(-n))+2
153 selected_cases = self.cases - self.filtered_cases
154 selected_configs = self.done - self.filtered_static - self.filtered_runtime
509 config_re = re.compile('(CONFIG_[A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$')
[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 …]
Dbsim.rst22 `get <https://babblesim.github.io/fetching.html>`_ and
68 Test coverage and BabbleSim
73 test coverage information.
76 coverage report from tests.
78 Check :ref:`the page on coverage generation <coverage_posix>` for more info.
94 .. code-block:: bash
106 .. code-block:: bash
124 .. code-block:: bash
130 .. code-block:: bash
138 ---------
[all …]
Dtwister.rst14 Because of the limited test execution coverage, twister
20 When using (at least) one ``-v`` option, twister's console output
24 of a test is likewise reported in the ``twister.json`` and other report files.
27 - The test is marked as ``build_only: true`` in its ``.yaml``
29 - The test configuration has defined a ``harness`` but you don't have
31 - The target device is not connected and not available for flashing
32 - You or some higher level automation invoked twister with
33 ``--build-only``.
39 .. group-tab:: Linux
41 .. code-block:: bash
[all …]
/Zephyr-latest/scripts/ci/
Dtags.yaml1 # This file contains information on what files are associated with which
9 # files:
10 # List of paths and/or glob patterns giving the files in the tag,
13 # If a path or glob pattern ends in a '/', it matches all files within
19 # files-regex:
24 # Can be combined with a 'files' key.
26 # Note: Prefer plain 'files' patterns where possible. get_maintainer.py
30 # files-exclude:
31 # Like 'files', but any matching files will be excluded from the tag.
33 # files-regex-exclude:
[all …]
/Zephyr-latest/scripts/ci/coverage/
Dcoverage_analysis.py1 # SPDX-License-Identifier: Apache-2.0
29 self.report_json = self.generate_json_report( args.coverage)
61 "files":[]
218 tests = self.maintainers_file[item].get('tests', [])
224 for path in self.maintainers_file[item]['files']:
231 def generate_json_report(self, coverage): argument
236 with open(coverage, 'r') as file:
237 parser = ijson.items(file, 'files')
261 "Coverage": file_coverage,
280 json_component['files']=json_files
[all …]
/Zephyr-latest/doc/contribute/
Dcontributor_expectations.rst1 .. _contributor-expectations:
10 - Reviewed more quickly and reviewed more thoroughly. It's easier for reviewers
14 - Less wasted work if reviewers or maintainers reject the direction of the
17 - Easier to rebase and merge. Smaller PRs are less likely to conflict with other
20 - Easier to revert if the PR breaks functionality.
32 - Smaller PRs should encompass one self-contained logical change.
34 - When adding a new large feature or API, the PR should address only one part of
38 - PRs should include tests or samples under the following conditions:
40 - Adding new features or functionality.
42 - Modifying a feature, especially for API behavior contract changes.
[all …]
/Zephyr-latest/arch/posix/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
11 # Extra compile options to be used during the build of the runner files
12 # For ex. target_compile_options(native_simulator INTERFACE "-m64")
16 # For ex. target_link_options(native_simulator INTERFACE "-lstdc++")
29 …roperty(TARGET native_simulator APPEND PROPERTY LOCALIZE_EXTRA_OPTIONS "--localize-symbol=spinel*")
47 # some gcc versions fail to build without -fPIC
48 zephyr_compile_options(-m64 -fPIC)
49 zephyr_link_libraries(-m64)
51 target_link_options(native_simulator INTERFACE "-m64")
52 target_compile_options(native_simulator INTERFACE "-m64")
[all …]
/Zephyr-latest/doc/project/
Ddocumentation.rst1 .. _code-documentation:
12 generates either an on-line documentation browser (in HTML) and/or provides
14 documented source files. In particular, doxygen's XML output is used as an input
44 :ref:`Ztest framework <test-framework>`. Test documentation should only be done
52 scheme and following a well-defined structure we will be able to group this
56 - All test code documentation should be grouped under the ``all_tests`` doxygen
58 - All test documentation should be under doxygen groups that are prefixed
89 To get coverage of how an implementation or a piece of code satisfies a
/Zephyr-latest/doc/releases/
Drelease-notes-2.0.rst12 * The kernel now supports both 32- and 64-bit architectures.
17 * We added support for :ref:`Point-to-Point Protocol (PPP) <ppp>`. PPP is a
20 * We added support for UpdateHub, an end-to-end solution for large scale
21 over-the-air device updates.
22 * We added support for ARM Cortex-R Architecture (Experimental).
32 * Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and
35 negotiation. This allows practical brute-force attacks (aka "KNOB")
42 * New kernel API for per-thread disabling of Floating Point Services for
43 ARC, ARM Cortex-M, and x86 architectures.
45 * Additional support for compatibility with 64-bit architectures.
[all …]
Drelease-notes-2.1.rst13 * Expanded support for ARMv6-M architecture.
50 hardware-based stack overflow detection) in ARMv6-M architecture
51 * Added QEMU support for ARMv6-M architecture
52 * Extended test coverage for ARM-specific kernel features in ARMv6-M
54 * Enhanced runtime MPU programming in ARMv8-M architecture, making
55 the full partitioning of kernel SRAM memory a user-configurable
57 * Added CMSIS support for Cortex-R architectures.
59 * Added missing Cortex-R CPU device tree bindings.
60 * Fixed incorrect Cortex-R device tree specification.
68 * RISC-V:
[all …]
Drelease-notes-1.14.rst17 * CVE-2020-10066
18 * CVE-2020-10069
19 * CVE-2020-13601
20 * CVE-2020-13602
32 * :github:`issuenumber` - issue title
34 * :github:`18334` - DNS resolution is broken for some addresses in master/2.0-pre
35 * :github:`19917` - Bluetooth: Controller: Missing LL_ENC_RSP after HCI LTK Negative Reply
36 * :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller
37 * :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board.
38 * :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral …
[all …]
Drelease-notes-2.4.rst33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer
34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing
35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core
36 * CVE-2020-10072: all threads can access all socket file descriptors
37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat
38 * CVE-2020-13599: Security problem with settings and littlefs
39 * CVE-2020-13601: Under embargo until 2020/11/18
40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv
50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
Drelease-notes-2.2.rst18 * Fix CVE-2020-10028
19 * Fix CVE-2020-10060
20 * Fix CVE-2020-10063
21 * Fix CVE-2020-10066
32 * :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disa…
33 * :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or …
34 * :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong
35 * :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up
36 * :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence
37 * :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection…
[all …]
/Zephyr-latest/boards/native/nrf_bsim/doc/
Dnrf52_bsim.rst34 * NVMC (Non-Volatile Memory Controller / Flash)
66 If you do not have it yet, the easiest way to get it, is to enable the babblesim group
69 .. code-block:: console
71 west config manifest.group-filter -- +babblesim
74 make everything -j 8
88 .. code-block:: console
101 .. zephyr-app-commands::
102 :zephyr-app: samples/hello_world
103 :host-os: unix
110 .. code-block:: console
[all …]
/Zephyr-latest/
DKconfig.zephyr3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
6 # SPDX-License-Identifier: Apache-2.0
12 # Include Kconfig.defconfig files first so that they can override defaults and
36 # This should be early since the autogen Kconfig.dts symbols may get
92 bool "Link application into /chosen/zephyr,code-partition from devicetree"
95 selected by the zephyr,code-partition property in /chosen in devicetree.
100 DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
103 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
116 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
121 If non-zero, this option specifies the size, in bytes, of the flash
[all …]
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 # Note that this is *NOT* the top-level CMakeLists.txt. That's in the
26 # and https://cmake.org/pipermail/cmake/2019-May/thread.html#69496
36 # -fmacro-prefix-map=${ZEPHYR_BASE}=
57 # - device dependencies structs must be generated (CONFIG_DEVICE_DEPS=y)
58 # - ISR tables must be generated (CONFIG_GEN_ISR_TABLES=y)
59 # - Kernel objects hash tables (CONFIG_USERSPACE=y)
60 # - Application memory partitions (CONFIG_USERSPACE=y)
66 # - zephyr_pre0: linker sections may resize / addresses may relocate
67 # - zephyr_pre1: All linker section sizes are fixed, addresses cannot change
[all …]
/Zephyr-latest/doc/develop/
Dmodules.rst7 order to avoid reinventing the wheel and to reuse as much well-established,
14 modules, an external project is required to have its own life-cycle outside
29 - Debugger integration
30 - Silicon vendor Hardware Abstraction Layers (HALs)
31 - Cryptography libraries
32 - File Systems
33 - Inter-Process Communication (IPC) libraries
36 references to optional :ref:`binary blobs <bin-blobs>`.
41 .. _modules-vs-projects:
47 <west-workspace>`. In fact, modules :ref:`do not require west
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_testinstance.py4 # SPDX-License-Identifier: Apache-2.0
5 # pylint: disable=line-too-long
59 testsuite = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/tests/'
141 testcase = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/samples/'
157 testcase = class_testplan.testsuites.get('scripts/tests/twister/test_data/testsuites/samples/'
174 '(dt_compat_enabled("st,stm32-flash-controller") or' \
175 ' dt_compat_enabled("st,stm32h7-flash-controller")) and' \
176 ' dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")',
181 ' dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")) or' \
183 ' dt_label_with_parent_compat_enabled("slot1_ns_partition", "fixed-partitions"))',
[all …]

12