Files
esp-idf/components/esp_common/test_apps/.build-test-rules.yml
T
Guillaume Souchere bf2d8faebb test(esp_common): Add Linux host test for portable section macros
Add a test app that verifies PLACE_IN_SECTION, _SECTION_ATTR_SYMBOL_DECL_GENERIC,
_SECTION_START and _SECTION_END macros work correctly on Linux.

The test places 5 uint32_t values into a custom .test_data_table section from
two separate translation units, then iterates the section at runtime to verify
the correct count and content of all entries.

Includes:
- Custom linker script (ld/test_section.ld)
- Build-test-rules entry (linux only)
- pytest host_test marker
2026-03-09 07:18:27 +01:00

17 lines
575 B
YAML

# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
components/esp_common/test_apps/esp_common:
disable:
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
- if: CONFIG_NAME == "psram_noinit" and SOC_SPIRAM_SUPPORTED != 1
- if: CONFIG_NAME == "xip_psram" and SOC_SPIRAM_XIP_SUPPORTED != 1
depends_components:
- esp_common
- esp_system # Defines the section placement for attributes
components/esp_common/test_apps/section_macros:
enable:
- if: IDF_TARGET == "linux"
depends_components:
- esp_common