tests: kernel: interrupt: lto: Exclude builds with warning

Trying to enable LTO when CODE_DATA_RELOCATION is already enabled
produces a warning.

This commit prevents twister from building such combinations for
arch.shared_interrupt.lto.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
This commit is contained in:
Reto Schneider 2024-03-15 16:21:30 +01:00 committed by Anas Nashif
parent f4430827d8
commit 397b8465dc

View file

@ -75,4 +75,7 @@ tests:
- CONFIG_TEST_USERSPACE=n
- CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
- CONFIG_LTO=y
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
# CONFIG_CODE_DATA_RELOCATION causes a build error (issue #69730)
filter: >
not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
and not CONFIG_CODE_DATA_RELOCATION