zephyr/include/linker
Yuval Peress dee79d2b66 ztest: Add register functionality
Add new functionality to ztest to improve test modularity. The two
primary new entry points are:
* ztest_register_test_suite
* ztest_run_registered_test_suites

When registering a new test suite, users provide the name as well as
an optional predicate used to filter the tests for each run. Using NULL
as the predicate ensures that the test is run exactly once (after which
it is automatically filtered from future runs).

Calls to ztest_run_registered_test_suites take a state pointer as an
argument. This allows the the pragma functions to decide whether the
test should be run.

The biggest benefit of this system (other than the ability to filter
tests and maintain a larger test state) is the ability to better
modularize the test source code. Instead of all the various tests
having to coordinate and the main function having to know which tests
to run, each source file manages registering its own test
suite and handling the conditions for running the suite.

Signed-off-by: Yuval Peress <peress@chromium.org>
2021-10-28 16:57:51 -04:00
..
app_smem_aligned.ld linker: remove APP_SMEM_SECTION() macro 2021-03-22 13:05:33 -04:00
app_smem_pinned_aligned.ld kernel: app_smem: allowing pinning memory partitions 2021-08-26 21:16:22 -04:00
app_smem_pinned_unaligned.ld kernel: app_smem: allowing pinning memory partitions 2021-08-26 21:16:22 -04:00
app_smem_pinned.ld kernel: app_smem: allowing pinning memory partitions 2021-08-26 21:16:22 -04:00
app_smem_unaligned.ld linker: remove APP_SMEM_SECTION() macro 2021-03-22 13:05:33 -04:00
app_smem.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
common-noinit.ld kernel: generate placeholders for kobj tables before final build 2021-04-27 13:32:00 -04:00
common-ram.ld ztest: Add register functionality 2021-10-28 16:57:51 -04:00
common-rom.ld toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
cplusplus-ram.ld linker: cpp: Fix C++ exception handling info section linking 2021-06-08 11:45:28 -05:00
cplusplus-rom.ld linker: cpp: Fix C++ exception handling info section linking 2021-06-08 11:45:28 -05:00
debug-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
devicetree_regions.h linker: rename DT_REGION_FROM_NODE_STATUS_OKAY 2021-08-07 20:24:13 -04:00
devicetree_reserved.h reserved-memory: Fix layering violation 2021-09-28 14:01:36 -04:00
intlist.ld linker: tweak section naming to feet all linkers 2021-03-23 07:35:43 -05:00
kobject-data.ld kernel: fix kobj table if having .sdata section. 2021-07-22 07:29:21 -05:00
kobject-priv-stacks.ld toolchain: arcmwdt: linker: fix placeholders for arcmwdt toolchain 2021-05-20 07:50:38 -05:00
kobject-rom.ld toolchain: arcmwdt: linker: fix placeholders for arcmwdt toolchain 2021-05-20 07:50:38 -05:00
kobject-text.ld linker: clarify CONFIG_KOBJECT_TEXT_AREA too small message 2021-04-20 08:29:22 -04:00
linker-defs.h arch: arm: core: aarch32: support for On-Chip Memory (OCM) areas in aarch32 2021-10-28 15:26:50 +02:00
linker-tool-gcc.h ARC: prepare for building for ARCv3 HS6x 2021-05-07 14:55:49 -05:00
linker-tool-mwdt.h ARC: MWDT: drop LOG2CEIL macro as it's defined now for all toolchains 2021-10-13 17:44:51 -04:00
linker-tool.h ARC: linker: implement linker related definition for MWDT 2020-09-05 10:22:56 -05:00
rel-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
section_tags.h arch: arm: core: aarch32: support for On-Chip Memory (OCM) areas in aarch32 2021-10-28 15:26:50 +02:00
sections.h arch: arm: core: aarch32: support for On-Chip Memory (OCM) areas in aarch32 2021-10-28 15:26:50 +02:00
thread-local-storage.ld linker-tool-gcc: revise for MMU support 2021-03-16 15:03:44 -04:00