Skip to content

Commit 816a7a0

Browse files
bjarki-andreasenkartben
authored andcommitted
tests: subsys: llext: filter by ram/rom size
The LLEXT test suites are quite large, and should not be built for "small" SoCs. Filter the tests based on RAM and ROM/flash size. The following test sizes built for nrf52840 where used to determine min sizes: Name: Flash: RAM: llext.loader_build 105 80 llext.readonly 105 79 llext.readonly_mpu 140 95 llext.readonly_mmu 106 145 llext.writable 123 125 llext.writable_relocatable 117 129 llext.writable_slid_linking 108 125 Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
1 parent 3cacb4d commit 816a7a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/subsys/llext/testcase.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ common:
1919
- arch:arm64:CONFIG_LLEXT_HEAP_SIZE=128
2020
extra_conf_files:
2121
- prj.conf
22+
min_ram: 172 # Size on arm: max: 145, min: 79
23+
min_flash: 172 # Size on arm: max: 140, min: 105
2224

2325
tests:
2426
# While there is in practice no value in compiling subsys/llext/*.c
@@ -42,7 +44,6 @@ tests:
4244
extra_configs:
4345
- CONFIG_LLEXT_STORAGE_WRITABLE=n
4446
llext.readonly_mpu:
45-
min_ram: 128
4647
arch_allow: arm # Xtensa needs writable storage, currently not supported on RISC-V
4748
filter: CONFIG_ARCH_HAS_USERSPACE
4849
extra_configs:

0 commit comments

Comments
 (0)