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

1142 Commits

Author SHA1 Message Date
Marian Buschsieweke
fa3d0ad0f1
tests/unittests: fix unaligned access 2021-11-16 14:23:45 +01:00
Marian Buschsieweke
f2a53c8fb3
tets/unittests: add test for DECLARE_CONSTANT() 2021-11-10 15:22:48 +01:00
Benjamin Valentin
a803cab439 tests/unittests: add test for index_of() 2021-11-05 16:42:38 +01:00
Dave VanKampen
55ea8cfb97 boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
Martine Lenders
ea8e632eda
Merge pull request #16765 from benpicco/RIOT_VERSION_CODE
build system: add machine-readable RIOT_VERSION_CODE macro
2021-09-22 12:47:35 +02:00
Benjamin Valentin
eaf5162b5d tests/unittests: add test for kernel_defines 2021-09-21 17:43:29 +02:00
Leandro Lanzieri
e0b9d8b602
tests/unittests/credman: add tests for key load functions 2021-09-20 08:11:01 +02:00
Martine Lenders
913573a200
Merge pull request #16702 from miri64/ut_process/feat/initial
ut_process: initial import of a URI template processor
2021-09-17 09:43:20 +02:00
Martine Lenders
c844c73629
tests/unittests: provide test cases for ut_process 2021-09-16 18:18:48 +02:00
benpicco
025770968b
Merge pull request #16036 from bergzand/pr/gd32vf103/initial
gd32v/seeedstudio-gd32: Initial support
2021-08-25 00:38:00 +02:00
f8bb757bae seeedstudio-gd32: Initial include of board
The seeedstudio-gd32 is an small development board based on the
gd32vf103 MCU

Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2021-08-24 14:30:23 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
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