1common:
2  tags: llext
3  arch_allow:
4    - arm
5    - xtensa
6  platform_exclude:
7    # platforms with active issues
8    - apollo4p_evb            # See #73443
9    - apollo4p_blue_kxr_evb   # See #73443
10    - numaker_pfm_m487        # See #63167
11    - s32z2xxdc2/s32z270/rtu0 # See commit 18a0660
12    - s32z2xxdc2/s32z270/rtu1 # See commit 18a0660
13    # platforms that are always skipped by the runtime filter
14    - qemu_arc/qemu_arc_em
15    - qemu_arc/qemu_arc_hs
16    - qemu_arc/qemu_arc_hs/xip
17    - qemu_arc/qemu_arc_hs5x
18    - qemu_arc/qemu_arc_hs6x
19    - qemu_cortex_m0
20    - qemu_xtensa/dc233c/mmu
21  integration_platforms:
22    - qemu_cortex_a9          # ARM Cortex-A9 (ARMv7-A ISA)
23    - qemu_cortex_r5          # ARM Cortex-R5 (ARMv7-R ISA)
24    - mps2/an385              # ARM Cortex-M3 (ARMv7-M ISA)
25    - mps2/an521/cpu0         # ARM Cortex-M33 (ARMv8-M ISA)
26  harness: console
27
28sample:
29  name: CONFIG_MODULES test
30  description: Call code directly and from extensions
31
32tests:
33  sample.llext.modules.module_build:
34    filter: not CONFIG_MPU and not CONFIG_MMU and not CONFIG_SOC_SERIES_S32ZE
35    extra_configs:
36      - arch:arm:CONFIG_ARM_MPU=n
37      - arch:arm:CONFIG_ARM_AARCH32_MMU=n
38      - CONFIG_HELLO_WORLD_MODE=m
39    harness_config:
40      type: one_line
41      regex:
42        - "Hello, world, from an llext!"
43  sample.llext.modules.builtin_build:
44    extra_configs:
45      - CONFIG_HELLO_WORLD_MODE=y
46    harness_config:
47      type: one_line
48      regex:
49        - "Hello, world, from the main binary!"
50