tests: enable and run many tests on RISC-V
This commit enables lots of tests on riscv32 and riscv64 which were previously disabled. Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
This commit is contained in:
parent
a362463fdf
commit
4604c45541
14 changed files with 15 additions and 22 deletions
|
|
@ -1,10 +1,9 @@
|
|||
tests:
|
||||
benchmark.kernel.application:
|
||||
arch_allow: x86 arm
|
||||
arch_allow: x86 arm riscv32 riscv64
|
||||
min_flash: 34
|
||||
min_ram: 32
|
||||
tags: benchmark
|
||||
slow: true
|
||||
timeout: 300
|
||||
benchmark.kernel.application.posix:
|
||||
arch_allow: posix
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
tests:
|
||||
benchmark.kernel.latency:
|
||||
arch_allow: x86 arm
|
||||
arch_allow: x86 arm riscv32 riscv64
|
||||
# FIXME: no DWT and no RTC_TIMER for qemu_cortex_m0
|
||||
platform_exclude: qemu_x86_64 qemu_cortex_m0
|
||||
platform_exclude: qemu_x86_64 qemu_cortex_m0 m2gl025_miv
|
||||
filter: CONFIG_PRINTK and not CONFIG_SOC_FAMILY_STM32
|
||||
tags: benchmark
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
benchmark.kernel.core:
|
||||
arch_exclude: nios2 riscv32 xtensa
|
||||
arch_exclude: nios2 xtensa
|
||||
min_ram: 32
|
||||
tags: benchmark
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ tests:
|
|||
filter: CONFIG_CPU_HAS_FPU
|
||||
arch_allow: riscv32
|
||||
tags: kernel userspace
|
||||
build_only: true
|
||||
kernel.fpu_sharing.float_disable.riscv64:
|
||||
filter: CONFIG_CPU_HAS_FPU
|
||||
arch_allow: riscv64
|
||||
|
|
|
|||
|
|
@ -16,16 +16,13 @@ tests:
|
|||
kernel.fpu_sharing.generic.riscv32:
|
||||
extra_args: PI_NUM_ITERATIONS=500
|
||||
filter: CONFIG_CPU_HAS_FPU
|
||||
slow: true
|
||||
arch_allow: riscv32
|
||||
tags: kernel
|
||||
timeout: 600
|
||||
min_ram: 16
|
||||
build_only: true
|
||||
kernel.fpu_sharing.generic.riscv64:
|
||||
extra_args: PI_NUM_ITERATIONS=500
|
||||
filter: CONFIG_CPU_HAS_FPU
|
||||
slow: true
|
||||
arch_allow: riscv64
|
||||
tags: kernel
|
||||
timeout: 600
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
kernel.common.profiling:
|
||||
arch_exclude: nios2 riscv32
|
||||
platform_exclude: em_starterkit
|
||||
arch_exclude: nios2
|
||||
platform_exclude: em_starterkit litex_vexriscv rv32m1_vega_zero_riscy rv32m1_vega_ri5cy
|
||||
tags: kernel
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
tests:
|
||||
kernel.tickless.concept:
|
||||
arch_exclude: riscv32 nios2
|
||||
arch_exclude: nios2
|
||||
# FIXME: This test fails sporadically on all QEMU platforms, but fails
|
||||
# consistently when coverage is enabled. Disable until 14173 is fixed.
|
||||
# This test fails on qemu_arc_{em|hs} consistently. Disable until "icount"
|
||||
# is implemented for ARC in QEMU.
|
||||
platform_exclude: qemu_x86_coverage qemu_arc_em qemu_arc_hs
|
||||
platform_exclude: qemu_x86_coverage qemu_arc_em qemu_arc_hs litex_vexriscv rv32m1_vega_zero_riscy rv32m1_vega_ri5cy
|
||||
tags: kernel
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@ tests:
|
|||
platform_exclude: qemu_x86_coverage qemu_arc_em qemu_arc_hs
|
||||
kernel.timer.tickless:
|
||||
extra_args: CONF_FILE="prj_tickless.conf"
|
||||
arch_exclude: riscv32 nios2 posix
|
||||
platform_exclude: qemu_x86_coverage qemu_arc_em qemu_arc_hs
|
||||
arch_exclude: nios2 posix
|
||||
platform_exclude: qemu_x86_coverage qemu_arc_em qemu_arc_hs litex_vexriscv rv32m1_vega_zero_riscy rv32m1_vega_ri5cy
|
||||
tags: kernel timer userspace
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@
|
|||
tests:
|
||||
lib.heap:
|
||||
tags: heap
|
||||
platform_exclude: m2gl025_miv qemu_riscv32 qemu_xtensa
|
||||
platform_exclude: m2gl025_miv qemu_xtensa
|
||||
filter: not CONFIG_SOC_NSIM
|
||||
timeout: 240
|
||||
timeout: 480
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
common:
|
||||
# There is nothing hw specific to be tested here
|
||||
# so let's limit the test to a few platforms.
|
||||
platform_allow: qemu_x86 qemu_leon3
|
||||
platform_allow: qemu_x86 qemu_leon3 qemu_riscv32 qemu_riscv64
|
||||
depends_on: netif
|
||||
tests:
|
||||
net.pm:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
common:
|
||||
platform_allow: native_posix native_posix_64 qemu_x86 qemu_cortex_m3 qemu_leon3
|
||||
platform_allow: native_posix native_posix_64 qemu_x86 qemu_cortex_m3 qemu_leon3 qemu_riscv32 qemu_riscv64
|
||||
tests:
|
||||
can.frame:
|
||||
tags: net
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
tests:
|
||||
filesystem.fat.dual_drive:
|
||||
platform_allow: qemu_x86 native_posix qemu_leon3
|
||||
platform_allow: qemu_x86 native_posix qemu_leon3 qemu_riscv32 qemu_riscv64
|
||||
tags: filesystem
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
tests:
|
||||
logging.log_core:
|
||||
tags: log_core logging
|
||||
platform_exclude: qemu_riscv64
|
||||
filter: not CONFIG_LOG_IMMEDIATE
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
tests:
|
||||
logging.add.async:
|
||||
platform_exclude: qemu_riscv64
|
||||
tags: logging
|
||||
logging.add.sync:
|
||||
tags: logging
|
||||
|
|
|
|||
Loading…
Reference in a new issue