commit | f4ac771f8312dfa41a5ae353feb90cdf09afe748 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <npitre@baylibre.com> | Tue Feb 15 00:14:16 2022 -0500 |
committer | Marti Bolivar <marti.bolivar@nordicsemi.no> | Thu Feb 24 14:49:00 2022 -0800 |
tree | e350b173298813cc3e311c5e2c7196b7d7039239 | |
parent | 099850e916ad86e99b3af6821b8c9eb73ba91abf [diff] |
tests: ringbuffer: test 32-bit wrap-around conditions 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>