tests: ztress: fix dependency on SMP
Use CONFIG_MP_NUM_CPUS=1 with ztress and do not disable SMP completely. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
7d90035282
commit
5e05393afa
3 changed files with 6 additions and 2 deletions
|
@ -110,7 +110,6 @@ config ZTEST_PARAMETER_COUNT
|
||||||
|
|
||||||
config ZTRESS
|
config ZTRESS
|
||||||
bool "Stress test framework"
|
bool "Stress test framework"
|
||||||
depends on !SMP
|
|
||||||
select THREAD_RUNTIME_STATS
|
select THREAD_RUNTIME_STATS
|
||||||
select THREAD_MONITOR
|
select THREAD_MONITOR
|
||||||
select TEST_RANDOM_GENERATOR if !ENTROPY_HAS_DRIVER
|
select TEST_RANDOM_GENERATOR if !ENTROPY_HAS_DRIVER
|
||||||
|
|
|
@ -5,10 +5,13 @@ tests:
|
||||||
libraries.ring_buffer:
|
libraries.ring_buffer:
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- native_posix
|
- native_posix
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MP_NUM_CPUS=1
|
||||||
|
|
||||||
libraries.ring_buffer_concurrent:
|
libraries.ring_buffer_concurrent:
|
||||||
platform_allow: qemu_x86
|
platform_allow: qemu_x86
|
||||||
extra_configs:
|
extra_configs:
|
||||||
- CONFIG_SYS_CLOCK_TICKS_PER_SEC=100000
|
- CONFIG_SYS_CLOCK_TICKS_PER_SEC=100000
|
||||||
|
- CONFIG_MP_NUM_CPUS=1
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- qemu_x86
|
- qemu_x86
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
common:
|
common:
|
||||||
tags: test_framework
|
tags: test_framework
|
||||||
filter: CONFIG_QEMU_TARGET and not CONFIG_SMP
|
filter: CONFIG_QEMU_TARGET
|
||||||
tests:
|
tests:
|
||||||
testing.ztest.ztress:
|
testing.ztest.ztress:
|
||||||
|
extra_configs:
|
||||||
|
- CONFIG_MP_NUM_CPUS=1
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- qemu_x86
|
- qemu_x86
|
||||||
#FIXME Fails for unknown reason #41710
|
#FIXME Fails for unknown reason #41710
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue