zephyr/tests/lib/spsc_pbuf/testcase.yaml
Krzysztof Chruściński ce157c689d tests: lib: spsc_pbuf: Do not run test with cache
Test was using a configuration which enforces cache management in the
packet buffer. However it shall not be used if producer and consumer
is the same core. Testing this configuration on a single core does
not make sense as it actually fails on cores with data cache.

Making this configuration build_only so it is checked against
compilation errors.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-07-01 16:07:30 -04:00

44 lines
1.2 KiB
YAML

tests:
libraries.spsc_pbuf:
integration_platforms:
- native_sim
# Exclude platform which does not link with cache functions
platform_exclude: ast1030_evb
timeout: 120
libraries.spsc_pbuf.cache:
integration_platforms:
- native_sim
# This configuration only make sense for interprocessor data sharing so
# configuration can only be verified against compilation errors on a single core.
platform_allow: native_sim
build_only: true
extra_configs:
- CONFIG_SPSC_PBUF_CACHE_ALWAYS=y
libraries.spsc_pbuf.nocache.:
integration_platforms:
- native_sim
# Exclude platform which does not link with cache functions
platform_exclude: ast1030_evb
timeout: 120
extra_configs:
- CONFIG_SPSC_PBUF_CACHE_NEVER=y
libraries.spsc_pbuf.utilization:
integration_platforms:
- native_sim
# Exclude platform which does not link with cache functions
platform_exclude: ast1030_evb
timeout: 120
extra_configs:
- CONFIG_SPSC_PBUF_UTILIZATION=y
libraries.spsc_pbuf.stress:
platform_allow: qemu_x86
timeout: 120
extra_configs:
- CONFIG_SYS_CLOCK_TICKS_PER_SEC=100000
integration_platforms:
- qemu_x86