zephyr/tests/lib/ringbuffer/testcase.yaml
Krzysztof Chruscinski ad6fc38b2f tests: lib: ringbuffer: Fixing tests for various platforms
Stress test that was validating thread safeness was configured to use
higher sys tick rate and targeting qemu_x86 platform. However, it was
also build for other platforms and was failing. Fixing it by extracting
stress tests to separate configuration that is run only on qemu_x86.

Modified the test to fail when number of preemptions is less than
expected only on qemu_x86.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-09-02 19:38:37 -04:00

17 lines
386 B
YAML

common:
tags: ring_buffer circular_buffer
tests:
libraries.ring_buffer:
# FIXME: qemu_arc_hs6x excluded, see #37861
platform_exclude: qemu_arc_hs6x
integration_platforms:
- native_posix
libraries.ring_buffer_concurrent:
platform_allow: qemu_x86
extra_configs:
- CONFIG_SYS_CLOCK_TICKS_PER_SEC=100000
integration_platforms:
- qemu_x86