zephyr/tests/drivers/uart/uart_mix_fifo_poll/Kconfig
Alberto Escolar Piedras e6140f5422 tests/drivers uart_mix_fifo_poll: Allow configuring test length
This test is quite heavy and long in simulation,
but its length is meant to find unlikely issues which
may be triggered only very rarely.
Let's provide a kconfig value to chose how long the
test is, and set it to a lower value when running in simulation
(in CI) to save time.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-16 14:55:07 -05:00

16 lines
540 B
Plaintext

# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config STRESS_TEST_REPS
int "Number of loops in the stress test"
# For the simulated devices, which are run by default in CI, we set it to less to not spend too
# much CI time
default 500 if SOC_SERIES_BSIM_NRFXX
default 10000
help
For how many loops will the stress test run. The higher this number the longer the
test and therefore the higher likelihood an unlikely race/event will be triggered.
# Include Zephyr's Kconfig
source "Kconfig"