52db964840
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>
12 lines
249 B
Plaintext
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
|