The core ring buffer code presumes a 32-bit wrap-around behavior when its head and tail indices cross the maximum value range. Make sure this is covered by the test suite, for both 32- and 64-bit targets. While at it, reduce stack requirement of the modified test. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
20 lines
420 B
YAML
20 lines
420 B
YAML
common:
|
|
tags: ring_buffer circular_buffer
|
|
timeout: 150
|
|
|
|
tests:
|
|
libraries.ring_buffer:
|
|
integration_platforms:
|
|
- native_posix
|
|
- native_posix_64
|
|
extra_configs:
|
|
- CONFIG_MP_NUM_CPUS=1
|
|
|
|
libraries.ring_buffer_concurrent:
|
|
platform_allow: qemu_x86
|
|
extra_configs:
|
|
- CONFIG_SYS_CLOCK_TICKS_PER_SEC=100000
|
|
- CONFIG_MP_NUM_CPUS=1
|
|
integration_platforms:
|
|
- qemu_x86
|