91 lines
3.3 KiB
YAML
91 lines
3.3 KiB
YAML
common:
|
|
tags: llext
|
|
platform_exclude:
|
|
# platforms with active issues
|
|
- apollo4p_evb # See #73443
|
|
- apollo4p_blue_kxr_evb # See #73443
|
|
- numaker_pfm_m487 # See #63167
|
|
- s32z2xxdc2/s32z270/rtu0 # See commit 18a0660
|
|
- s32z2xxdc2/s32z270/rtu1 # See commit 18a0660
|
|
# platforms that are always skipped by the runtime filter
|
|
- qemu_arc/qemu_arc_em
|
|
- qemu_arc/qemu_arc_hs
|
|
- qemu_arc/qemu_arc_hs/xip
|
|
- qemu_arc/qemu_arc_hs5x
|
|
- qemu_arc/qemu_arc_hs6x
|
|
- qemu_cortex_m0
|
|
- qemu_xtensa/dc233c/mmu
|
|
integration_platforms:
|
|
- qemu_cortex_a9 # ARM Cortex-A9 (ARMv7-A ISA)
|
|
- qemu_cortex_r5 # ARM Cortex-R5 (ARMv7-R ISA)
|
|
- mps2/an385 # ARM Cortex-M3 (ARMv7-M ISA)
|
|
- mps2/an521/cpu0 # ARM Cortex-M33 (ARMv8-M ISA)
|
|
|
|
tests:
|
|
# While there is in practice no value in compiling subsys/llext/*.c
|
|
# without actually running it to load some extension, let's keep it in
|
|
# good shape and ready to be used by additional architectures in the
|
|
# future.
|
|
llext.simple.loader_build:
|
|
build_only: true
|
|
|
|
# Run the suite with all combinations of core Kconfig options for the llext
|
|
# subsystem (storage type, ELF type, MPU/MMU etc)
|
|
llext.simple.readonly:
|
|
arch_allow: arm # Xtensa needs writable storage
|
|
filter: not CONFIG_MPU and not CONFIG_MMU and not CONFIG_SOC_SERIES_S32ZE
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- arch:arm:CONFIG_ARM_AARCH32_MMU=n
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=n
|
|
llext.simple.readonly_mpu:
|
|
min_ram: 128
|
|
arch_allow: arm # Xtensa needs writable storage
|
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
|
extra_configs:
|
|
- CONFIG_USERSPACE=y
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=n
|
|
llext.simple.writable:
|
|
arch_allow: arm xtensa
|
|
integration_platforms:
|
|
- qemu_xtensa # Xtensa ISA
|
|
filter: not CONFIG_MPU and not CONFIG_MMU and not CONFIG_SOC_SERIES_S32ZE
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- arch:arm:CONFIG_ARM_AARCH32_MMU=n
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=y
|
|
llext.simple.writable_relocatable:
|
|
arch_allow: arm xtensa
|
|
integration_platforms:
|
|
- qemu_xtensa # Xtensa ISA
|
|
filter: not CONFIG_MPU and not CONFIG_MMU
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- arch:arm:CONFIG_ARM_AARCH32_MMU=n
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=y
|
|
- CONFIG_LLEXT_TYPE_ELF_RELOCATABLE=y
|
|
|
|
# Test the Symbol Link Identifier (SLID) linking feature on writable
|
|
# storage to cover both ARM and Xtensa architectures on the same test.
|
|
llext.simple.writable_slid_linking:
|
|
arch_allow: arm xtensa
|
|
integration_platforms:
|
|
- qemu_xtensa # Xtensa ISA
|
|
filter: not CONFIG_MPU and not CONFIG_MMU and not CONFIG_SOC_SERIES_S32ZE
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- arch:arm:CONFIG_ARM_AARCH32_MMU=n
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=y
|
|
- CONFIG_LLEXT_EXPORT_BUILTINS_BY_SLID=y
|
|
llext.simple.writable_relocatable_slid_linking:
|
|
arch_allow: arm xtensa
|
|
integration_platforms:
|
|
- qemu_xtensa # Xtensa ISA
|
|
filter: not CONFIG_MPU and not CONFIG_MMU
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- arch:arm:CONFIG_ARM_AARCH32_MMU=n
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=y
|
|
- CONFIG_LLEXT_TYPE_ELF_RELOCATABLE=y
|
|
- CONFIG_LLEXT_EXPORT_BUILTINS_BY_SLID=y
|