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

735 Commits

Author SHA1 Message Date
0bb43db9f2 tests: use new nucleo-f429zi name 2018-05-23 12:08:53 +02:00
3a78497211 tests: use new nucleo-f413zh name 2018-05-23 12:08:53 +02:00
033311ae94 tests: use new nucleo-f412zg name 2018-05-23 12:08:53 +02:00
9be89c120b tests: use new nucleo-f303ze name 2018-05-23 12:08:53 +02:00
51c290ba90 boards/nucleo-l476rg: rename to marketing name 2018-05-22 22:02:57 +02:00
ba3478fa1e boards/nucleo-l152re: rename to marketing name 2018-05-22 22:02:57 +02:00
a5436e0b66 boards/nucleo-l073rz: rename to marketing name 2018-05-22 22:02:57 +02:00
18435609ce boards/nucleo-l053r8: rename to marketing name 2018-05-22 22:02:57 +02:00
5821bfd68e boards/nucleo-f446re: rename to marketing name 2018-05-22 21:52:41 +02:00
de783eed78 boards/nucleo-f411re: rename to marketing name 2018-05-22 21:52:41 +02:00
1d1354bf82 boards/nucleo-f410rb: rename to marketing name 2018-05-22 21:52:41 +02:00
7818c1a080 boards/nucleo-f401re: rename to marketing name 2018-05-22 21:52:41 +02:00
b0912659b5 boards/nucleo-f334r8: rename to marketing name 2018-05-22 21:52:41 +02:00
c7b5b0f992 boards/nucleo-f303re: rename to marketing name 2018-05-22 21:52:41 +02:00
72df36909b boards/nucleo-f302r8: rename to marketing name 2018-05-22 21:52:41 +02:00
2004fb2881 boards/nucleo-f103rb: rename to marketing name 2018-05-22 21:52:41 +02:00
b8895c1946 boards/nucleo-f091rc: rename to marketing name 2018-05-22 21:52:41 +02:00
4b20095dc8 boards/nucleo-f072rb: rename to marketing name 2018-05-22 21:52:41 +02:00
9acde8e148 boards/nucleo-f070rb: rename to marketing name 2018-05-22 21:52:41 +02:00
bd6a7c3d26 boards/nucleo-f030r8: rename to marketing name 2018-05-22 21:52:41 +02:00
Gaëtan Harter
64bc06f2b6
tests/unittests: add empty list clist_foreach case
Add clist_foreach empty list test case which should:

* not call `func`
* return `NULL`
2018-05-15 16:49:59 +02:00
56c2b6a0e3
Merge pull request #9017 from kaspar030/clist_add_foreach_return
core/clist: make clist_foreach() return break-causing node
2018-05-15 16:48:12 +02:00
bcb458192d tests/unittests: add nucleo-l496zg to arm boards 2018-05-15 11:56:51 +02:00
Bas Stottelaar
e7b3e4bf64 tests: unittests: disable for new efm32 boards. 2018-05-13 18:59:12 +02:00
a0077f3c4b tests/unittests: test clist_foreach() return value 2018-05-12 00:13:41 +02:00
Gaëtan Harter
fa33eacd1f
crypto/ccm: fix _fits_in_nbytes function
Function is broken with num_bytes >= 4.

Could happen when storing input_len with len_encoding >= 4.
It can take values from 2 to 8, so make it work for cases it would overflow.
2018-05-07 15:08:00 +02:00
Gaëtan Harter
a47e5e427e
tests/ccm: add test for input_len check 2018-05-07 15:08:00 +02:00
Gaëtan Harter
154fbcff35
tests: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 10:52:26 +02:00
Joakim Nohlgård
5c59f6a39a unittests: Add tests for matstat library 2018-04-28 08:03:35 +02:00
f18f25c5c2
Merge pull request #8577 from gebart/pr/analog_util-refactor
sys/analog_util: Refactor, add test
2018-04-17 10:40:53 +02:00
ba809c231e
pkg/libcose: add simple unittest application 2018-04-16 19:02:04 +02:00
355c559ae9
test/cn-cbor: Use memarray as block allocator 2018-04-16 15:27:43 +02:00
ad8e69da96
pkg/cn-cbor: compile with context pointer support 2018-04-16 15:27:43 +02:00
Joakim Nohlgård
69e9767184 unittests: Add analog_util tests 2018-04-16 13:53:49 +02:00
4f4ee31f6b
Merge pull request #8949 from bergzand/pr/tests/cn_cbor_fix_memleak
unittests/cn_cbor: fix memory leak
2018-04-16 10:55:46 +02:00
35c9f999d3
tests/cn_cbor: fix memory leak 2018-04-16 10:01:12 +02:00
46938f6153
Merge pull request #8244 from beurdouche/hacl_ng
pkg: add support for HACL*
2018-04-14 21:32:43 +02:00
Benjamin Beurdouche
1d3207f38b Initial HACL* package and tests 2018-04-14 13:43:27 +02:00
ee3675e39a
tests/tweetnacl: Cleanup headers and includes 2018-04-14 12:47:32 +02:00
6b01f4d388
Merge pull request #7263 from haukepetersen/opt_fmt_s16dfp_pos
sys/fmt: extended fmt_s16_dfp to handle scales
2018-04-13 09:54:08 +02:00
d64d38b391
Merge pull request #8909 from miri64/doc/enh/ipv6-rfc
doc: update IPv6 RFC references
2018-04-12 12:11:23 +02:00
8841486f2e
Merge pull request #8741 from OTAkeys/pr/fix_spiffs_summy_mem
unittests/tests-spiffs: fix dummy mtd (as in #8607)
2018-04-10 23:47:29 +02:00
b33ae7df4f unittests/tests-nanocoap: add coap_get_uri() test 2018-04-10 20:58:06 +02:00
Martine Lenders
23bdc80e22 doc: update IPv6 RFC references
RFC 2460 was obsoleted by RFC 8200. This PR changes the references
around, so we don't reference an obsoleted RFC ;-).

Also I'm moving these references from the old-style HTML-like format
to the newer-style Markdown-like format.
2018-04-10 15:40:18 +02:00
d7bf2c112e
Merge pull request #7491 from aabadie/nucleo_l433
boards/nucleo-l433rc: initial support
2018-04-07 21:12:14 +02:00
Hauke Petersen
ac93818c90 unittests/fmt: adapt and enhance tests for sxx_dfp() 2018-04-06 12:10:18 +02:00
Francisco Acosta
baf1b8f6e9
Merge pull request #8791 from kaspar030/fix_cn-cbor
pkg: cncbor: misc fixes
2018-04-04 16:18:43 +02:00
0a553401c8 tests/unittests: support CI on-hardware testing 2018-03-28 18:28:54 +02:00
be5ae87262
Merge pull request #8829 from ZetaR60/RIOT_xplained
cpu/atmega1284p: support and boards/mega-xplained: support
2018-03-27 10:03:15 +02:00
Matthew Blue
9378d6c133 tests/* : blacklisting for mega-xplained 2018-03-26 11:17:23 -04:00
Joakim Nohlgård
f4fce5b2d2 unittests: Add test for phydat (phydat_fit) 2018-03-22 15:21:01 +01:00
86ea22a1c1 tests/unittests: blacklist nucleo-l433rc board 2018-03-21 17:07:28 +01:00
Emmanuel Baccelli
88e61ed353
Merge pull request #8781 from kaspar030/add_qdsa_pkg
pkg: add qDSA package
2018-03-16 16:30:38 +01:00
809c4b7724 unittests: unify configuration of large main stack 2018-03-16 16:00:58 +01:00
47998af5ee unittests: add msba2 to list of insufficient memory boards 2018-03-16 16:00:58 +01:00
b22d3e4bd6 tests/unittests: add qDSA unittests 2018-03-16 16:00:58 +01:00
6b189f988d tests/unittests/tests-cn_cbor: make use of fmt_hex_bytes() 2018-03-16 15:35:13 +01:00
Emmanuel Baccelli
a367e378c8
Merge pull request #8467 from lorenz9314/pr_cn_cbor_unit_tests
pkg: add cn-cbor CBOR implementation plus unit tests
2018-03-16 14:28:44 +01:00
Lorenz Hüther
711766312f tests/unittests: Added unit tests for pkg cn-cbor, removed old tests. 2018-03-16 13:52:40 +01:00
2b33f460d1 tests/unittest/tests-tweetnacl: increase main stacksize 2018-03-14 09:52:36 +01:00
c59c4897f2 tests/unittests: add tweetnacl sign/verify test 2018-03-14 07:34:51 +01:00
d025de32ed
Merge pull request #8351 from kaspar030/introduce_iolists
net: Introduce iolists
2018-03-07 09:56:13 +01:00
Martine Lenders
0b928b797a
Merge pull request #7881 from mtausig/feature/sha3
Add support for SHA-3 hash function
2018-03-06 17:34:05 +01:00
Mathias Tausig
792137f88d hashes:sha3: Integrate SHA-3 into RIOT API
Add init/update/final interface
Add interface functions for direct SHA3
Add unit tests for SHA-3
Document functions and types
Reduced var scope in Keccak code
Add CCO Copyright notice to Keccak code
2018-03-06 16:18:18 +01:00
da67e3a8eb tests/unittests: adapt to iolist pktsnip 2018-03-06 14:00:32 +01:00
c935a07513 sys/net/gnrc/pkt: match pktsnip struct start with iolist_t 2018-03-06 14:00:31 +01:00
Vincent Dupont
d938a9f68e unittests/tests-spiffs: fix dummy mem (as in #8607) 2018-03-05 18:36:58 +01:00
Vincent Dupont
03ecb0c6f3
Merge pull request #8607 from OTAkeys/pr/fix_littlefs_unittests
unittests/tests-littlefs: fix dummy mtd
2018-03-05 17:05:24 +01:00
Vincent Dupont
36e1d6b335 unittests/tests-littlefs: fix dummy mtd
_init function were erasing whole memory leading to losing everything
when mounting or formating the memory
2018-03-05 11:04:34 +01:00
Joakim Nohlgård
2d53178cc5 boards/frdm-kw41z: Add NXP FRDM-KW41Z
https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/kinetis-cortex-m-mcus/w-serieswireless-conn.m0-plus-m4/freedom-development-kit-for-kinetis-kw41z-31z-21z-mcus:FRDM-KW41Z
2018-03-02 15:40:35 +01:00
Vincent Dupont
647133f5c5 unittests/tests-spiffs: add partition test 2018-03-02 13:45:18 +01:00
a10a755548
Merge pull request #8629 from ochristi/fix_test_atomic_dec_positive
unittests/tests-core: Fix tests in loop not being executed
2018-02-26 16:04:46 +01:00
MichelRottleuthner
bad08596f6
Merge pull request #8399 from OTAkeys/fix/mtd_native_write
mtd_native: fix overlapping pages write check
2018-02-26 15:38:46 +01:00
Vincent Dupont
f04ecee9f6 mtd_native: fix overlapping pages write check 2018-02-26 15:32:06 +01:00
o0c
d7853ac87f unittests: fix loop in tests-core-atomic 2018-02-26 14:52:05 +01:00
Martine Lenders
2757f1d7dd Revert "unittests: adapt tests-netreg"
This reverts commit a7b7789388.
2018-02-22 20:29:55 +01:00
Ken Bannister
d7004ebcd8
Merge pull request #8513 from kaspar030/nanocoap_add_context_to_resources
nanocoap: add context pointer to resources
2018-02-22 18:30:43 +00:00
Ronald Weber
1293113dca unittests/saul_reg: Add unit test for saul_reg_rm of list head
This also leaves the global saul_reg list in the same empty state like
before the unit tests.
2018-02-18 12:05:54 +01:00
Joakim Nohlgård
d24cd4fd73 unittests/vfs: Add test case for #8309 2018-02-13 18:14:58 +01:00
Joakim Nohlgård
85125d04ef unittests/vfs: Add test for vfs_bind invalid FD argument 2018-02-12 08:46:44 +01:00
Vincent Dupont
5ede5db234 pkg/littlefs: add format implementation 2018-02-09 14:29:46 +01:00
Vincent Dupont
6c2d7ecac6 unittests/spiffs: add a format test 2018-02-09 14:29:45 +01:00
Martine Lenders
47bbeb8969
Merge pull request #8517 from smlng/enh/gnrc/netreg
gnrc_netreg: some optimisations
2018-02-07 08:22:44 +01:00
Joakim Nohlgård
30ad56d133
Merge pull request #8522 from gebart/pr/fmt_s64_dec
sys/fmt: Add fmt_s64_dec, print_s64_dec
2018-02-07 07:55:42 +01:00
smlng
a7b7789388 unittests: adapt tests-netreg 2018-02-06 21:40:47 +01:00
56d5ceb601 tests: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
Joakim Nohlgård
5ec44c82ba fmt: Add fmt_s64_dec, print_s64_dec 2018-02-06 11:04:42 +01:00
Joakim Nohlgård
8ecf3c6bb6 unittests/fmt: Basic check for buffer overflow errors 2018-02-06 11:03:05 +01:00
Joakim Nohlgård
19d3995504 unittests/fmt: Add max test for fmt_u16_dec 2018-02-06 11:03:05 +01:00
Joakim Nohlgård
3b90481bed unittests/fmt: Add test for min/max in fmt_s32_dec 2018-02-06 11:03:05 +01:00
96fb3b1e21 tests/unittests/tests-gcoap: adapt to resource context ptr 2018-02-02 19:02:31 +01:00
Gaëtan Harter
14ac1fa577
Merge pull request #8109 from cladmi/pr/tests-crypto-modes-ccm/refactoring
tests-crypto-modes-ccm: Refactoring to support more evolved tests
2018-01-30 21:05:51 +01:00
8d0815d386 boards: rename nucleo144-f207 to nucleo-f207zg 2018-01-29 22:14:25 +01:00
Sebastian Meiling
c2400083ae
Merge pull request #8440 from miri64/tests/fix/deactivate-DEVELHELP
tests: deactivate DEVELHELP for unittests
2018-01-26 16:03:40 +01:00
Vincent Dupont
c7d02497f4 unittests/littlefs: fix unittests
Dummy RAM mtd was too small to run unit tests correctly.
Added some sectors and reduced page size.
2018-01-26 15:08:06 +01:00
Martine Lenders
cc729bd26a tests: deactivate DEVELHELP for unittests
In my opinion it doesn't make sense to activate DEVELHELP for unittests
because it also causes the evaluation of `assert()`. This causes the
tests to crash for values the tests test intentionally (because it is
the point of the unittests to test also some unexpected values and how
this influences the behavior).
2018-01-25 16:24:43 +01:00
6e0dfcec8d tests/unittests: skip arduino-mkrfox1200 2018-01-25 11:56:27 +01:00
cefb7974d7
Merge pull request #8210 from astralien3000/teensy31
boards/teensy31 : initial support of Teensy 3.1 & 3.2
2018-01-18 09:14:51 +01:00
3f990480d1
Merge pull request #7162 from kb2ma/nanocoap/msgid_byte_order
nanocoap: fix byte order of request message ID, and add test application
2018-01-17 22:59:07 +01:00
Loïc Dauphin
f200c310ad tests/unittests: add teensy31 to BOARD_INSUFFICIENT_MEMORY 2018-01-17 18:14:00 +01:00