Martine Lenders
4d2a942b5e
tests/unittests: amend uri_parser tests for query-splitter
2021-08-04 12:47:28 +02:00
Benjamin Valentin
a53e8e3138
unittests: rtt_rtc: add test for rtc_get/settimeofday()
2021-07-28 00:35:47 +02:00
Francisco Molina
1fa6374530
boards/lora-e5-dev: initial support
2021-07-21 11:28:16 +02:00
6aa8fd650b
tests/unittests/tests-ipv6_hdr: fix too short ipv6_hdr_t allocations
2021-07-05 22:35:29 +02:00
ddc30a198a
unittests/tests-ipv6_addr: test_ipv6_addr_to_str__addr_NULL(): zero a
2021-07-05 16:51:16 +02:00
b388a2a440
unittests/tests-ipv4_addr: test_ipv4_addr_to_str__addr_NULL(): zero a
2021-07-05 16:50:44 +02:00
MrKevinWeiss
48ef2ec2da
tests/ieee802154: Add unit tests for
2021-06-23 16:44:09 +02:00
Francisco
d7b3328601
Merge pull request #16098 from kfessel/p-remove-lifo
...
core/lifo: Remove lifo [after 2021.04]
2021-06-15 13:55:30 +02:00
Ollrogge
427d2bd06e
sys/crypto: Enable support for AES-192, AES-256
2021-05-03 17:34:49 +02:00
20981e5f7c
tests/unittests: tests-ztimer: add ztimer_is_set() regression test
2021-04-22 11:12:48 +02:00
Akshai M
bd8f571895
unittests: Add WL
to insufficient mem list
2021-04-20 21:04:36 +02:00
Karl Fessel
5735d99971
core/clist: add special cardinality tests and matching unittest
...
adds clist_exactly_one() and clist_more_than_one()
and a unittest that tests them
2021-04-14 21:00:10 +02:00
Martine Lenders
873b71c3e9
tests/unittests/tests-rtc: do not use DST info for normalization
...
`rtc_tm_normalize` does not use it, so `mktime` should not either.
2021-04-13 14:37:19 +02:00
f48aba5035
tests/unittests: add clist_is_empty() test case
2021-04-09 10:54:29 +02:00
Gerson Fernando Budke
4a9f0efb6d
boards: introduce atmega328p-xplained-mini
...
Add ATmega328P Xplained Mini board. The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
Martine Lenders
214fdf007d
Merge pull request #16193 from miri64/gnrc_netif_pktq/feat/usage
...
gnrc_netif_pktq: add function to check usage
2021-03-18 23:05:27 +01:00
399ada9968
Merge pull request #16143 from kfessel/p-optimize-native
...
board/native: add basic debugging compatible optimization
2021-03-16 14:37:01 +01:00
Karl Fessel
21ce589bec
unittests/tests-ieee802154: remove stack_smasher from unitest
...
test_ieee802154_set_frame_hdr_flags0_non_beacon_non_ack
buffer given to ieee802154_set_frame_hdr has to be at least 2 bytes
see <RIOT>/sys/net/link_layer/ieee802154/ieee802154.c l32
2021-03-16 12:14:24 +01:00
Martine S. Lenders
6507d04a83
tests/unittests: extend tests for gnrc_netif_pktq_usage()
2021-03-15 15:13:59 +01:00
MrKevinWeiss
e9b65306ea
tests/unittests/turo: Add turo unittest
2021-03-15 10:36:46 +01:00
Leandro Lanzieri
9e2e99fafb
unittests/clif: add attribute test cases
...
- missing value in attribute with separator should fail
- single-quoted value in attribute should fail
- empty value in quoted attribute should fail
2021-03-05 16:47:48 +01:00
Karl Fessel
f9649973d3
core/lifo: Remove lifo unittests
2021-02-27 11:59:36 +01:00
benpicco
9fc60da4ca
Merge pull request #15830 from benpicco/net/nanocoap_add_uri
...
nanocoap: add coap_opt_put_uri_pathquery()
2021-02-24 12:09:08 +01:00
Benjamin Valentin
d4e5c25b70
nanocoap: add coap_opt_put_uri_pathquery()
2021-02-23 18:27:54 +01:00
Francisco Molina
2bb8cb4b55
tests/unittests/tests-flashpage: move out of unittests
...
Co-authored-by: Martine Lenders <mlenders@inf.fu-berlin.de>
2021-02-23 09:08:57 +01:00
15124e4769
Merge pull request #15002 from kaspar030/pr/xfa_v3
...
core: introduce crossfile arrays (xfa) v3
2021-02-18 14:49:22 +01:00
Francisco Molina
1d8448d449
tests/unittests/tests-flashpage: require periph_flashpage
...
The test uses module functions, so require it.
2021-02-16 18:52:53 +01:00
Joakim Nohlgård
12a2243485
unittests: Add XFA tests
2021-02-16 14:55:26 +01:00
Sören Tempel
0d141bf93a
clif: Don't access any data if input is empty
...
This is relevant as clif_decode_link may invoke clif_get_attr with
input_len == 0.
2021-02-08 13:42:18 +01:00
Leandro Lanzieri
609c9ada34
Merge pull request #15945 from nmeum/pr/clif_get_attr_bounds
...
clif: After incrementing pos, make sure it is still in bounds
2021-02-10 08:50:10 +01:00
benpicco
a69da13d56
Merge pull request #15948 from jeandudey/2021_02_08-cc1350-launchpad
...
boards: add cc1350 launchpad
2021-02-09 23:34:58 +01:00
Jean Pierre Dudey
2bca4d3ac3
boards: add cc1350-launchpad
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
Benjamin Valentin
ae4d7ee116
Makefile.ci: add zigduino
2021-02-09 15:26:03 +01:00
Sören Tempel
767e700a5f
clif: After incrementing pos, make sure it is still in bounds
...
While the for-loop condition does contain a bounds check, the pointer is
independently increment in the for-loop body. This increment therefore
requires a separate bounds check. Otherwise, the parsing loop may access
data outside the given buffer boundaries.
2021-02-08 11:29:44 +01:00
Cenk Gündoğan
6ef29d9b53
tests: uri_parser: new test to check empty host
2021-02-05 13:32:49 +01:00
Sören Tempel
333572e091
uri_parser: check if uri is long enough to even contain a ://
...
Before attempting to access these characters. This fixes an
out-of-bounds read on the provided URI buffer.
2021-02-04 20:08:26 +01:00
Benjamin Valentin
d3ca85ad65
tests: add bluepill-stm32f030c8 to Makefile.ci
2021-02-02 23:47:40 +01:00
f5b6ebf1cb
unittests/flashpage: force uniform flashpage layout
...
The unittest for flashpage only checks the inline flashpage_ functions
with the assumption that the flashpage layout is uniform. This commit
undefines the macro guarding those functions to force them to be
included even when the flashpage peripheral defines own implementations.
2021-02-01 18:23:05 +01:00
benpicco
98726ded6d
Merge pull request #14662 from benpicco/cpu/samd20
...
cpu/samd21: add support for SAMD20 & SAM D20 Xplained Pro board
2021-01-26 19:14:36 +01:00
Benjamin Valentin
33fec8b9dc
boards/samd20-xpro: add support for SAM D20 Xplained Pro
2021-01-21 20:29:15 +01:00
Bas Stottelaar
6a285369ab
unittests: extend tests for saul_reg
2021-01-18 22:31:11 +01:00
Jose Alamos
59d5a808a7
tests/unittest/ieee802154: add tests for RSSI and dBm conversion
2021-01-13 14:14:45 +01:00
d1fe44fbbb
tests/unittests/tests-clif: use ARRAY_SIZE macro
2021-01-08 14:37:33 +01:00
Bas Stottelaar
74e1ac29ac
tests: add to BOARD_INSUFFICIENT_MEMORY
2021-01-06 23:44:54 +01:00
Benjamin Valentin
48c33ae0a2
sys/base64: drop padding for base64url encoding
...
The URLsafe base64 encoding variant does not require padding, using
'=' as padding is in fact an error as it is not a URL-safe character.
2020-12-15 12:18:45 +01:00
Benjamin Valentin
0c36a57e4e
tests: add samd10-xmini to Makefile.ci
2020-12-11 18:33:31 +01:00
71f6b73251
Merge pull request #15519 from benpicco/byteorder_letoh
...
sys/byteorder: add helpers to convert from little endian to host byte order
2020-12-08 12:52:32 +01:00
2d551ec125
tests/core: Add tests for little endian functions
2020-12-08 11:26:20 +01:00
benpicco
418aaa6e67
Merge pull request #15388 from benpicco/boards/e104-bt5010a-tb
...
boards/e104-bt5011a-tb: add support for the E104-BT5011A Test Board
2020-12-02 00:24:33 +01:00
Benjamin Valentin
c27ea1afa1
examples, tests: add e104-bt5011a-tb to Makefile.ci
2020-12-01 18:28:41 +01:00