Marian Buschsieweke
bec46c55bd
Merge pull request #18879 from benpicco/bf_popcnt
...
sys/bitfield: add bf_popcnt()
2022-11-11 11:35:14 +01:00
Benjamin Valentin
867ba0666a
tests/unittests: add tests for bf_popcnt()
2022-11-10 23:52:35 +01:00
Karl Fessel
aa31dd7d66
core/macros: rewrite DIV_ROUND, DIV_ROUND_UP; add DIV_ROUND_INF
2022-11-09 17:59:18 +01:00
Karl Fessel
228d8e72c0
unittest/core-macros: add negtive cases for DIV_ROUND and DIV_ROUND_UP
2022-11-09 17:59:18 +01:00
Marian Buschsieweke
e402e3f57a
Merge pull request #18849 from benpicco/core-SIGNOF
...
core/macros: fix SIGNOF() macro when applied to size_t
2022-11-09 17:54:00 +01:00
Benjamin Valentin
8f8bb6ce84
tests/unittests: core: add test for SIGNOF(size_t)
2022-11-09 14:23:51 +01:00
Benjamin Valentin
17374301c9
tests/unittests: add tests for bf_set_all()
2022-11-04 16:48:49 +01:00
Benjamin Valentin
6185715aea
tests/unittests: add tests for new bitfield functions
2022-11-02 13:06:06 +01:00
Martine Lenders
3c7c9fefd6
tests/unittests: fix get_frame_hdr_len tests for hardened parsing
2022-10-29 00:58:35 +02:00
Karl Fessel
c29d2f1afb
test/unittest: cleanup most vera++ complains
2022-10-27 16:31:59 +02:00
Martine Lenders
d485598b3a
Merge pull request #18744 from Teufelchen1/fix/clif_0
...
sys/clif: Fixing out of bounds read under certain conditions
2022-10-26 23:38:43 +02:00
Teufelchen1
499b635ae9
sys/clif: Fixing out of bounds read under certain conditions
2022-10-26 13:44:01 +02:00
Jan Romann
61d1516c6f
tests/nanocoap: add unit test for Accept option helper
2022-10-19 16:44:13 +02:00
chrysn
982ec4dcda
gnrc_netreg: Use locks around netreg
...
This eliminates race conditions around unregistering netdevs.
gnrc_netreg_lookup-style functions perform a DEVELHELP check on whether
that lock is held.
2022-10-14 03:35:15 +02:00
Benjamin Valentin
c46d9d7360
tests/unittests: sock_util: test with schema of uneven length
2022-10-10 19:04:15 +02:00
Benjamin Valentin
eb527d3481
tests/unittests: add test for CRC-32 checksum
2022-10-04 15:40:53 +02:00
benpicco
c35a4ba577
Merge pull request #18621 from benpicco/strscpy
...
sys/string_utils: add strscpy()
2022-09-28 19:11:42 +02:00
Benjamin Valentin
3fc4d9d98c
tests/unittests: add tests for libc module
2022-09-26 19:06:46 +02:00
benpicco
4737d8148a
Merge pull request #17702 from benpicco/core/macros/math
...
core/macros: add math helper macros
2022-09-22 14:14:24 +02:00
Benjamin Valentin
27b3c115d2
tests/unittests: add tests core math macros
2022-09-21 16:00:26 +02:00
Martine Lenders
d5e63a5e46
Merge pull request #18096 from Teufelchen1/feat/port_parsing
...
sys/uri_parser: Adding the port as uint16_t
2022-09-19 13:40:53 +02:00
Teufelchen1
df8fe4476d
sys/uri_parser: Adding the port as uint16
2022-09-08 11:32:49 +02:00
Marian Buschsieweke
754ad23de5
Merge pull request #18539 from miri64/hashes_cmac/cleanup/rename
...
hashes_cmac: rename to hashes_aes128_cmac
2022-08-31 19:06:21 +02:00
Martine Lenders
27e68787c5
tests: rename cmac to aes128_cmac
2022-08-31 10:43:25 +02:00
Teufelchen1
a25934ca16
sys/checksum: Adding four crc16 variations: ccitt-aug/false/kermit/mcrf4xx
2022-08-30 15:37:04 +02:00
Martine Lenders
f15fbb3c15
Merge pull request #18441 from miri64/dns_cache/fix/ttl0
...
dns_cache: handle TTL=0 properly
2022-08-23 02:58:13 +02:00
Jose Alamos
f6fd8fafd8
unittests/bhp_msg: add initial unittests
2022-08-19 12:01:31 +02:00
benpicco
fc33f887b5
Merge pull request #18438 from Ziesie1/Ziesie1-patch-1
...
tests/unittests: Correct typo in documentation
2022-08-16 18:07:52 +02:00
Martine Lenders
7d2c4c4cbc
tests/unittests/tests-dns_cache: add test case for TTL=0
2022-08-11 14:07:54 +02:00
Ziesie
dc928108b9
tests/unittests: Correct typo in Documentation
2022-08-11 11:32:28 +02:00
Jose Alamos
c80e0e1559
unittests/bhp_event: add initial unittests
2022-08-11 10:57:54 +02:00
Karl Fessel
c48f53f8df
test/unittest: initilize ztimer64 is required, use xtimer test-fib
...
test-fib has direct use of xtimer -> it needs to use the module
2022-07-25 13:54:59 +02:00
Karl Fessel
1f80bfc898
unittest/main: do not intialize xtimer if ztimer_xtimer_compat
2022-07-21 14:48:43 +02:00
Martine Lenders
8bec9c1115
sock_dns_cache: move to dns_cache
...
Also piggy-back some fixes to the unittests and submodule handling
2022-07-18 15:27:58 +02:00
Benjamin Valentin
d09d29a581
tests/unittests: add tests sock_dns_cache
2022-07-15 00:03:49 +02:00
Teufelchen1
1231807bab
Documentation: Renaming OS X to macOS
2022-06-23 17:25:48 +02:00
Martine Lenders
f91c8799c6
unittests: fix assertion for nanocoap_cache_key_compare()
...
The doc states only that the result is <0, not -1. The result isn't the
latter for some platforms (see
https://github.com/RIOT-OS/RIOT/runs/6534330788?check_suite_focus=true#step:13:696 )
2022-05-23 12:22:58 +02:00
chrysn
dc7bc9f854
Merge pull request #17683 from chrysn-pull-requests/mtd-granularity
...
mtd: Introduce write granularity
2022-05-20 11:52:03 +02:00
Marian Buschsieweke
158203fe71
Merge pull request #17651 from benpicco/fs/constfs-cleanup
...
sys/fs/constfs: drop dummy implementations
2022-05-19 23:23:49 +02:00
Benjamin Valentin
a587069b18
vfs: return -EROFS if remove operation is not implemented
2022-05-19 11:43:08 +02:00
benpicco
025af7534f
Merge pull request #18067 from kfessel/p-unittest_sock-read
...
unittest/sock_util: move test_strings to their tests
2022-05-17 09:37:53 +02:00
Cenk Gündoğan
fb3f1a2138
Merge pull request #17888 from miri64/gcoap/enh/caching
...
gcoap: add nanocoap_cache support for clients
2022-05-13 15:39:10 +02:00
Martine Lenders
9a54e7ef7f
Merge pull request #18099 from kaspar030/unittests_native_asan
...
unittests: enable ASAN on native
2022-05-13 14:11:59 +02:00
Martine Lenders
dbed2b48ea
nanocoap_cache: add helper function to check if entry is stale
2022-05-13 12:14:55 +02:00
Martine Lenders
e6a9443932
tests/unittests/tests-gcoap: adapt for automatically added ETag option
2022-05-13 12:14:55 +02:00
dcf5cda260
tests/unittests/uri_parser: increase VEC_MSG_LEN
...
Previous value tripped ASAN. Increase to sth with room to spare.
2022-05-13 11:47:17 +02:00
3a0e5fd775
tests/unittests: enable address sanitizer for native
2022-05-11 21:49:57 +02:00
5c0b99a1a0
tests/unittests/tests-uri_parser: add bad port length case
2022-05-11 21:33:02 +02:00
Cenk Gündoğan
b4cae9d09d
nanocoap: add unittests for nanocoap-cache
2022-05-10 18:43:57 +02:00
Karl Fessel
ab5958febd
unittest/sock_util: move strings to their tests
2022-05-06 11:54:25 +02:00