zephyr/tests/kernel/smp/Kconfig
Ederson de Souza 52db964840 tests/kernel/smp: Limit 'stress' tests based on factor
SMP tests `inc_concurrency` and `smp_switch_torture` use a 'stressing'
approach to verify their results: run something for some time (or some
number of repetitions). However, in some environments, current 'stress'
levels can be quite high, making tests take a long time - environments
like emulators/simulators.
This patch adds a Kconfig that allows one to define a percentage factor
to the 'stress' (time or repetitions) used by these tests.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2023-03-30 09:44:00 -04:00

12 lines
249 B
Plaintext

# Copyright (c) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
mainmenu "SMP test"
source "Kconfig.zephyr"
config SMP_TEST_RUN_FACTOR
int "Run factor for stressing tests, such as 'switch torture', \
as a percentage"
default 100