This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
813ed00f67
zephyr
/
tests
/
lib
/
mpsc_pbuf
/
prj.conf
5 lines
78 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: lib: Add test for mpsc_pbuf Added suite for multiple producer, single consumer packet buffer. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-01-14 15:02:35 +08:00
CONFIG_ZTEST=y
tests: lib: mpsc_pbuf: Add stress test Added stress test which validates proper behavior of mpsc_pbuf when there are 2 producing contexts and dedicated consumer context. Various configuration are tested with consumer having the lowest, medium and the higher priority. Test produces random size packets at random intervals. It validates that each produced packet is consumed or dropped. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-09-23 20:39:08 +08:00
CONFIG_ZTRESS=y
CONFIG_ZTRESS_MAX_THREADS=4
tests: lib: Add test for mpsc_pbuf Added suite for multiple producer, single consumer packet buffer. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-01-14 15:02:35 +08:00
CONFIG_MPSC_PBUF=y