Skip to content

Commit

Permalink
tests: kernel: gen_isr_table: Add tests for local ISR tables declaration
Browse files Browse the repository at this point in the history
This commit adds configurations to test local ISR tables declaration.

(cherry picked from commit 3799b93)

Original-Signed-off-by: Radosław Koppel <radoslaw.koppel@nordicsemi.no>
GitOrigin-RevId: 3799b93
Change-Id: I5eeb5fc0246e4133695c5648794044a53edaf663
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5280231
Tested-by: Al Semjonovs <asemjonovs@google.com>
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
  • Loading branch information
rakons authored and Chromeos LUCI committed Feb 9, 2024
1 parent 3827759 commit a779636
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions tests/kernel/gen_isr_table/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ common:
- interrupt
- isr_table
tests:
arch.interrupt.gen_isr_table.arm_baseline:
arch.interrupt.gen_isr_table.arm_baseline: &arm-baseline
platform_allow: qemu_cortex_m3
filter: CONFIG_GEN_ISR_TABLES and CONFIG_ARMV6_M_ARMV8_M_BASELINE
extra_configs:
- CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
arch.interrupt.gen_isr_table.arm_baseline.linker_generator:
arch.interrupt.gen_isr_table.arm_baseline.linker_generator: &arm-baseline-linker-generator
platform_allow: qemu_cortex_m3
filter: CONFIG_GEN_ISR_TABLES and CONFIG_ARMV6_M_ARMV8_M_BASELINE
tags:
- linker_generator
extra_configs:
- CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
- CONFIG_CMAKE_LINKER_GENERATOR=y
arch.interrupt.gen_isr_table.arm_mainline:
arch.interrupt.gen_isr_table.arm_mainline: &arm-mainline
platform_allow: qemu_cortex_m3
platform_exclude:
- stmf103_mini
Expand All @@ -40,6 +40,27 @@ tests:
- CONFIG_GEN_ISR_TABLES=n
- CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
build_only: true

arch.interrupt.gen_isr_table_local.arm_baseline:
<<: *arm-baseline
filter: CONFIG_GEN_ISR_TABLES and CONFIG_ARMV6_M_ARMV8_M_BASELINE and not CONFIG_USERSPACE
extra_configs:
- CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
- CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
arch.interrupt.gen_isr_table_local.arm_baseline.linker_generator:
<<: *arm-baseline-linker-generator
filter: CONFIG_GEN_ISR_TABLES and CONFIG_ARMV6_M_ARMV8_M_BASELINE and not CONFIG_USERSPACE
extra_configs:
- CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
- CONFIG_CMAKE_LINKER_GENERATOR=y
- CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
arch.interrupt.gen_isr_table_local.arm_mainline:
<<: *arm-mainline
filter: CONFIG_GEN_ISR_TABLES and CONFIG_ARMV6_M_ARMV8_M_BASELINE and not CONFIG_USERSPACE
extra_configs:
- CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
- CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

arch.interrupt.gen_isr_table.arc:
arch_allow: arc
filter: CONFIG_RGF_NUM_BANKS > 1
Expand Down

0 comments on commit a779636

Please sign in to comment.