From ce157c689da8b1477e416cac5202305fad322943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Chru=C5=9Bci=C5=84ski?= Date: Thu, 27 Jun 2024 06:22:37 +0200 Subject: [PATCH] tests: lib: spsc_pbuf: Do not run test with cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/lib/spsc_pbuf/testcase.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/lib/spsc_pbuf/testcase.yaml b/tests/lib/spsc_pbuf/testcase.yaml index be39414e73e..98557fd2b4c 100644 --- a/tests/lib/spsc_pbuf/testcase.yaml +++ b/tests/lib/spsc_pbuf/testcase.yaml @@ -9,9 +9,10 @@ tests: libraries.spsc_pbuf.cache: integration_platforms: - native_sim - # Exclude platform which does not link with cache functions - platform_exclude: ast1030_evb - timeout: 120 + # 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