zephyr/tests/lib/devicetree/memory_region_flags/testcase.yaml
TOKITA Hiroshi 1d40a7ee34 tests: lib: devicetree: add test for zephyr,memory-region-flags attr
Add a test for zephyr,memory-region-flags.

This test tests the attributes of memory regions defined in the linker
script, but this information cannot be obtained at runtime.
It verifies that the expected memory region attributes are defined in
the linker.cmd.

Since no syntax analysis is performed, this is not an entirely rigorous
test but sufficient for practical purposes.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-12-05 06:39:46 -05:00

18 lines
371 B
YAML

tests:
libraries.devicetree.memory_region_flags:
harness: pytest
platform_allow: qemu_cortex_m3
tags:
- devicetree
- pytest
libraries.devicetree.memory_region_flags.linker_generator:
harness: pytest
platform_allow: qemu_cortex_m3
tags:
- devicetree
- pytest
extra_configs:
- CONFIG_CMAKE_LINKER_GENERATOR=y