mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
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
17 lines
575 B
YAML
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
|