Skip to content

Commit 397b846

Browse files
rettichschnidinashif
authored andcommitted
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 <[email protected]>
1 parent f443082 commit 397b846

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/kernel/interrupt/testcase.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,7 @@ tests:
7575
- CONFIG_TEST_USERSPACE=n
7676
- CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
7777
- CONFIG_LTO=y
78-
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
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

0 commit comments

Comments
 (0)