Skip to content

Commit ce157c6

Browse files
nordic-krchnashif
authored andcommitted
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 <[email protected]>
1 parent 0bb25d2 commit ce157c6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/lib/spsc_pbuf/testcase.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ tests:
99
libraries.spsc_pbuf.cache:
1010
integration_platforms:
1111
- native_sim
12-
# Exclude platform which does not link with cache functions
13-
platform_exclude: ast1030_evb
14-
timeout: 120
12+
# This configuration only make sense for interprocessor data sharing so
13+
# configuration can only be verified against compilation errors on a single core.
14+
platform_allow: native_sim
15+
build_only: true
1516
extra_configs:
1617
- CONFIG_SPSC_PBUF_CACHE_ALWAYS=y
1718

0 commit comments

Comments
 (0)