1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
Leandro Lanzieri
82726a2b2b
sys/random/kconfig: remove HWRNG default in backend choice
For now we match the Makefile.dep default, ignoring if the platform
presents a Hardware RNG.
2022-04-27 15:41:23 +02:00
benpicco
207964265a
Merge pull request #17188 from benpicco/sys/random-musl_lcg-default
sys/random: default to musl LCG instead of TinyMT
2021-11-30 23:28:48 +01:00
Benjamin Valentin
87e0032902 tests: default to musl LCG 2021-11-29 13:46:26 +01:00
Marian Buschsieweke
c360b13e60
tests/sys_atomic_utils_unittests: Extend test coverage 2021-11-23 14:24:15 +01:00
Francisco Molina
c307caddf1 tests: add atomic_utils test to Kconfig 2021-09-27 17:30:05 +02:00
Marian Buschsieweke
1893377b59
tests/sys_atomic_utils_unittests: check return values
Update the test to the new API and also verify correct return values.
2020-12-16 18:10:51 +01:00
Marian Buschsieweke
c015e64e8e
tests/sys_atomic_utils_unittests: spice up test
Initializing the state variables per loop with a value where some bits are set
and some are cleared makes much more sense. E.g. previously the bitwise and
applied on the state variable initialized with zero was unlikely to detect
implementation issues, as the state value never changed. So if the bitwise
and would be incorrectly implemented as a nop, it would have passed the unit
test.
2020-12-16 10:13:43 +01:00
Marian Buschsieweke
090722d78f
tests/sys_atomic_utils_unittests: API and cleanup
- Update to new atomic_utils API
- Use volatile_utils.h over custom implementation
2020-11-24 14:34:51 +01:00
996da8fb6d
tests/sys_atomic_utils_unittest: add sys atomic utils unittests 2020-11-13 08:47:18 +01:00