1tests:
2  arch.interrupt:
3    # nios2 excluded, see #22956
4    arch_exclude: nios2
5    platform_exclude: qemu_cortex_m0
6    tags:
7      - kernel
8      - interrupt
9    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
10  arch.interrupt.qemu_cortex_m0:
11    platform_allow: qemu_cortex_m0
12    tags:
13      - kernel
14      - interrupt
15    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
16    extra_configs:
17      - CONFIG_QEMU_ICOUNT=y
18  arch.interrupt.minimallibc:
19    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_MINIMAL_LIBC_SUPPORTED
20    # nios2 excluded, see #22956
21    arch_exclude: nios2
22    platform_exclude: qemu_cortex_m0
23    tags:
24      - kernel
25      - interrupt
26      - libc
27    extra_configs:
28      - CONFIG_MINIMAL_LIBC=y
29  arch.interrupt.qemu_cortex_m0.minimallibc:
30    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_MINIMAL_LIBC_SUPPORTED
31    platform_allow: qemu_cortex_m0
32    tags:
33      - kernel
34      - interrupt
35      - libc
36    extra_configs:
37      - CONFIG_QEMU_ICOUNT=y
38      - CONFIG_MINIMAL_LIBC=y
39  arch.shared_interrupt:
40    platform_exclude:
41      # excluded because of failures during test_prevent_interruption
42      - qemu_cortex_m0
43      # On it8xxx2_evb, current trigger_irq implementation of RISC-V architecture
44      # does not trigger interrupts
45      - it8xxx2_evb
46    arch_exclude:
47      # same as for qemu_cortex_m0, #22956
48      - nios2
49      # test needs 2 working interrupt lines
50      - xtensa
51      # TODO: make test work on this arch
52      - mips
53    tags:
54      - kernel
55      - interrupt
56    extra_configs:
57      - CONFIG_SHARED_INTERRUPTS=y
58    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
59  arch.shared_interrupt.lto:
60    # excluded because of failures during test_prevent_interruption
61    platform_exclude: qemu_cortex_m0
62    arch_exclude:
63      # same as above, #22956
64      - nios2
65      # test needs 2 working interrupt lines
66      - xtensa
67      # TODO: make test work on this arch
68      - mips
69    tags:
70      - kernel
71      - interrupt
72      - lto
73    extra_configs:
74      - CONFIG_SHARED_INTERRUPTS=y
75      - CONFIG_TEST_USERSPACE=n
76      - CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
77      - CONFIG_LTO=y
78    # CONFIG_CODE_DATA_RELOCATION causes a build error (issue #69730)
79    filter: >
80      not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
81      and not CONFIG_CODE_DATA_RELOCATION
82  arch.interrupt.multilevel:
83    filter: CONFIG_MULTI_LEVEL_INTERRUPTS
84    extra_args:
85      - EXTRA_DTC_OVERLAY_FILE="multilevel_irq.overlay"
86    extra_configs:
87      - CONFIG_TEST_MULTILEVEL_IRQ=y
88