zephyr/include/linker
Yuval Peress ab1caef8c3 ztest: Update ztest with more powerful testing APIs
1. Test suites in prior ztest serve no purpose other than logical
ordering of tests into a named-group. Move the construct of setup and
teardown into the test suite and away from individual tests.
Additionally, add the constructs of before/after to the test suites.
This model more closely resembels other testing frameworks such as gTest
and Junit.
2. Test can be added to a suite by using ZTEST() or ZTEST_F() where _F
stands for fixture. In the case where _F is used, the argument `this`
will be provided with the type `struct suite_name##_fixture*`. Again,
this models other modern testing frameworks and allows the test to
directly access the already set up data related to the test suite.
3. Add the concept of test rules (from Junit). Rules are similar to the
before/after functions of the test suites but are global and run on all
suites. An example of a test rule can be to check that nothing was
logged to ERROR. The rule can cause the test to fail if anything was
logged to ERROR during an integration test. Another example would be a
rule that verifies that tests ran within some defined timeout.

Signed-off-by: Yuval Peress <peress@google.com>
2022-01-11 11:47:30 +01:00
..
app_smem.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_aligned.ld linker: remove APP_SMEM_SECTION() macro 2021-03-22 13:05:33 -04:00
app_smem_pinned.ld kernel: app_smem: allowing pinning memory partitions 2021-08-26 21:16:22 -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_unaligned.ld linker: remove APP_SMEM_SECTION() macro 2021-03-22 13:05:33 -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: Update ztest with more powerful testing APIs 2022-01-11 11:47:30 +01:00
common-rom.ld cmake: rework linker script generation and linker prebuilt stages 2021-11-16 10:41:59 +01: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 linker: add DWARF-5 debug sections 2021-11-15 14:52:25 -05:00
devicetree_regions.h linker: remove manual name specification 2021-12-09 16:23:03 +01: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