tests: kernel: remove ram restrictions
Remove all ram restrictions in kernel tests and revisit all tests and try to make them pass on all platforms. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
3b5a43e031
commit
c815b062c6
20 changed files with 4 additions and 28 deletions
|
@ -3,11 +3,9 @@ tests:
|
||||||
tags: kernel userspace
|
tags: kernel userspace
|
||||||
build_on_all: true
|
build_on_all: true
|
||||||
min_flash: 33
|
min_flash: 33
|
||||||
min_ram: 32
|
|
||||||
kernel.common.misra:
|
kernel.common.misra:
|
||||||
tags: kernel userspace
|
tags: kernel userspace
|
||||||
min_flash: 33
|
min_flash: 33
|
||||||
min_ram: 32
|
|
||||||
# Some configurations are known-incompliant and won't build
|
# Some configurations are known-incompliant and won't build
|
||||||
filter: not ((CONFIG_I2C or CONFIG_SPI) and CONFIG_USERSPACE)
|
filter: not ((CONFIG_I2C or CONFIG_SPI) and CONFIG_USERSPACE)
|
||||||
extra_configs:
|
extra_configs:
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.common:
|
kernel.common:
|
||||||
tags: kernel
|
tags: kernel
|
||||||
min_ram: 20
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
CONFIG_ZTEST=y
|
CONFIG_ZTEST=y
|
||||||
CONFIG_IRQ_OFFLOAD=y
|
CONFIG_IRQ_OFFLOAD=y
|
||||||
CONFIG_MP_NUM_CPUS=1
|
CONFIG_MP_NUM_CPUS=1
|
||||||
|
CONFIG_TIMESLICING=n
|
||||||
|
CONFIG_ASSERT_VERBOSE=n
|
||||||
|
|
|
@ -75,7 +75,7 @@ struct timeout_order_data timeout_order_data_mult_fifo[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define TIMEOUT_ORDER_NUM_THREADS ARRAY_SIZE(timeout_order_data_mult_fifo)
|
#define TIMEOUT_ORDER_NUM_THREADS ARRAY_SIZE(timeout_order_data_mult_fifo)
|
||||||
#define TSTACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACKSIZE)
|
#define TSTACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE)
|
||||||
#define FIFO_THREAD_PRIO -5
|
#define FIFO_THREAD_PRIO -5
|
||||||
|
|
||||||
static K_THREAD_STACK_ARRAY_DEFINE(ttstack,
|
static K_THREAD_STACK_ARRAY_DEFINE(ttstack,
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.fifo.timeout:
|
kernel.fifo.timeout:
|
||||||
min_ram: 32
|
|
||||||
tags: kernel
|
tags: kernel
|
||||||
kernel.fifo.timeout.poll:
|
kernel.fifo.timeout.poll:
|
||||||
min_ram: 32
|
|
||||||
extra_args: CONF_FILE="prj_poll.conf"
|
extra_args: CONF_FILE="prj_poll.conf"
|
||||||
tags: kernel
|
tags: kernel
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.lifo.usage:
|
kernel.lifo.usage:
|
||||||
min_ram: 32
|
|
||||||
tags: kernel
|
tags: kernel
|
||||||
platform_exclude: m2gl025_miv
|
#platform_exclude: m2gl025_miv
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.mailbox.api:
|
kernel.mailbox.api:
|
||||||
tags: kernel
|
tags: kernel
|
||||||
min_ram: 20
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.memory_pool:
|
kernel.memory_pool:
|
||||||
min_ram: 32
|
|
||||||
tags: kernel mem_pool
|
tags: kernel mem_pool
|
||||||
kernel.memory_pool.legacy:
|
kernel.memory_pool.legacy:
|
||||||
min_ram: 32
|
min_ram: 32
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.memory_pool.sys:
|
kernel.memory_pool.sys:
|
||||||
min_ram: 32
|
|
||||||
tags: kernel userspace mem_pool
|
tags: kernel userspace mem_pool
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.futex:
|
kernel.futex:
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
min_ram: 36
|
|
||||||
tags: kernel userspace
|
tags: kernel userspace
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.memory_protection:
|
kernel.memory_protection:
|
||||||
min_ram: 32
|
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
platform_exclude: twr_ke18f
|
platform_exclude: twr_ke18f
|
||||||
tags: kernel security userspace ignore_faults
|
tags: kernel security userspace ignore_faults
|
||||||
kernel.memory_protection.gap_filling:
|
kernel.memory_protection.gap_filling:
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
|
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
|
||||||
extra_args: CONFIG_MPU_GAP_FILLING=y
|
extra_args: CONFIG_MPU_GAP_FILLING=y
|
||||||
min_ram: 32
|
|
||||||
tags: kernel security userspace ignore_faults
|
tags: kernel security userspace ignore_faults
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.memory_protection.sys_sem:
|
kernel.memory_protection.sys_sem:
|
||||||
min_ram: 36
|
|
||||||
tags: kernel userspace
|
tags: kernel userspace
|
||||||
kernel.memory_protection.sys_sem.nouser:
|
kernel.memory_protection.sys_sem.nouser:
|
||||||
tags: kernel
|
tags: kernel
|
||||||
|
|
|
@ -2,9 +2,7 @@ tests:
|
||||||
kernel.memory_protection.userspace:
|
kernel.memory_protection.userspace:
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
tags: kernel security userspace ignore_faults
|
tags: kernel security userspace ignore_faults
|
||||||
min_ram: 36
|
|
||||||
kernel.memory_protection.userspace.gap_filling:
|
kernel.memory_protection.userspace.gap_filling:
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
|
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
|
||||||
extra_args: CONFIG_MPU_GAP_FILLING=y
|
extra_args: CONFIG_MPU_GAP_FILLING=y
|
||||||
tags: kernel security userspace ignore_faults
|
tags: kernel security userspace ignore_faults
|
||||||
min_ram: 36
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.memory_slabs.api:
|
kernel.memory_slabs.api:
|
||||||
tags: kernel
|
tags: kernel
|
||||||
min_ram: 16
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
tests:
|
tests:
|
||||||
system.mutex:
|
system.mutex:
|
||||||
min_ram: 32
|
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
tags: kernel userspace
|
tags: kernel userspace
|
||||||
system.mutex.nouser:
|
system.mutex.nouser:
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.objects.tracing:
|
kernel.objects.tracing:
|
||||||
min_ram: 32
|
|
||||||
tags: kernel
|
tags: kernel
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.objects:
|
kernel.objects:
|
||||||
min_ram: 16
|
|
||||||
tags: kernel
|
tags: kernel
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.poll:
|
kernel.poll:
|
||||||
tags: kernel userspace
|
tags: kernel userspace
|
||||||
min_ram: 16
|
|
||||||
min_flash: 34
|
|
||||||
platform_exclude: nrf52dk_nrf52810
|
platform_exclude: nrf52dk_nrf52810
|
||||||
|
|
|
@ -3,23 +3,19 @@ tests:
|
||||||
filter: not CONFIG_SCHED_MULTIQ
|
filter: not CONFIG_SCHED_MULTIQ
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_TIMESLICING=y
|
- CONFIG_TIMESLICING=y
|
||||||
min_ram: 40
|
|
||||||
tags: kernel threads sched userspace
|
tags: kernel threads sched userspace
|
||||||
kernel.scheduler.no_timeslicing:
|
kernel.scheduler.no_timeslicing:
|
||||||
filter: not CONFIG_SCHED_MULTIQ
|
filter: not CONFIG_SCHED_MULTIQ
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_TIMESLICING=n
|
- CONFIG_TIMESLICING=n
|
||||||
min_ram: 40
|
|
||||||
tags: kernel threads sched userspace
|
tags: kernel threads sched userspace
|
||||||
kernel.scheduler.multiq:
|
kernel.scheduler.multiq:
|
||||||
extra_args: CONF_FILE=prj_multiq.conf
|
extra_args: CONF_FILE=prj_multiq.conf
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_TIMESLICING=y
|
- CONFIG_TIMESLICING=y
|
||||||
min_ram: 40
|
|
||||||
tags: kernel threads sched userspace
|
tags: kernel threads sched userspace
|
||||||
kernel.scheduler.multiq_no_timeslicing:
|
kernel.scheduler.multiq_no_timeslicing:
|
||||||
extra_args: CONF_FILE=prj_multiq.conf
|
extra_args: CONF_FILE=prj_multiq.conf
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_TIMESLICING=n
|
- CONFIG_TIMESLICING=n
|
||||||
min_ram: 40
|
|
||||||
tags: kernel threads sched userspace
|
tags: kernel threads sched userspace
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.semaphore:
|
kernel.semaphore:
|
||||||
min_ram: 32
|
|
||||||
tags: kernel userspace
|
tags: kernel userspace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue