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

665 Commits

Author SHA1 Message Date
Hauke Petersen
234c3075c0 tests: fix handling for common board folders 2017-11-30 10:26:36 +01:00
smlng
1dfe3719d8 unittests: fix gnrc_ipv6_nib test 2017-11-29 21:11:08 +01:00
c4f66edba1 tests: fix python style 'E302 expected 2 blank lines, found 1' 2017-11-29 17:32:06 +01:00
Martine Lenders
e65211db7d
Merge pull request #7195 from miri64/gnrc_pktbuf_malloc/feat/initial
gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
2017-11-28 00:00:36 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
fa7624019c tests: adapt unittests for nc_del signiture change 2017-11-27 20:32:27 +01:00
6b661bef04
Merge pull request #8119 from kaspar030/fix_cib
core: cib: fix overflow handling
2017-11-23 13:13:26 +01:00
Martine Lenders
8d71f250d1
tests: add #8117 test case for cib.h unittests 2017-11-22 18:23:34 +01:00
Martine Lenders
56ec27cf6f
tests: adapt cib.h unittests for variable cib size 2017-11-22 18:23:07 +01:00
Gaëtan Harter
f584a8fab7 tests-gcoap: Fix resources order which should be sorted.
gcoap documentation says for `resources`:

    First element in the array of resources; must order alphabetically

So make tests respect the API.
2017-11-21 18:04:18 +01:00
Gaëtan Harter
c450b4ce0e tests-gcoap: fixup typo ressources->resources 2017-11-21 18:01:41 +01:00
Martine Lenders
2f7b55b486 tests: adapt unittests for new FT behavior 2017-11-19 23:36:20 +01:00
Martine Lenders
c28de94fd1
tests: adapt tests for route lifetime 2017-11-17 13:45:41 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures 2017-11-17 09:20:29 +01:00
Martine Lenders
81731791f8
tests: unittests: remove outdated, defective unittests 2017-11-16 16:17:21 +01:00
Martine Lenders
db553b6149
tests: adapt gnrc_ipv6_nib unittests to add new required modules 2017-11-16 15:49:21 +01:00
Hauke Petersen
4ceef0c67f examples/tests: remove entries for qemu-i386 2017-11-16 10:42:02 +01:00
Vincent Dupont
27fbdc4ebe unittests: update boards lists 2017-11-14 14:16:12 +01:00
Martine Lenders
6cd91ee2cb
tests: remove gnrc_ipv6_netif requirement from gnrc_ipv6_nib tests 2017-11-13 16:36:34 +01:00
Martine Lenders
b83bc1b763
Merge pull request #7456 from miri64/gnrc_ipv6_nib/feat/port-to-gnrc_netif2
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-11 19:10:14 +01:00
Martine Lenders
fa81932a8f tests: unittests: extend gnrc_ipv6_nib unittests for holey NIB
When there are holes in the NIB (e.g. when entries were removed)
currently the NIB crashes the system due to a failed assertion.
This commit tests this behavior (`DEVELHELP` needs to be activated to
test this behavior). A fix will follow.
2017-11-09 15:28:55 +01:00
Hauke Petersen
24056f3fd8 tests/examples: removed pca1000x from Makefiles 2017-11-09 13:59:18 +01:00
Martine Lenders
22a41ea99c
tests: port gnrc_ipv6_nib unittests to gnrc_netif2 2017-11-08 20:18:53 +01:00
615b1e60bc core/clist: add argument to clist_foreach 2017-11-06 12:49:22 +01:00
f142908f4e
Merge pull request #7655 from kaspar030/add_list_sort
core/clist: add clist_sort()
2017-11-06 12:46:01 +01:00
d011fd1dd8 tests: exclude feather-m0 board from unittests 2017-11-05 22:19:07 +01:00
f7f3b687fd tests: unittests: add avsextrem to BOARD_INSUFFICIENT_MEMORY 2017-11-02 12:59:46 +01:00
Sebastian Meiling
2e0917cd81
Merge pull request #7727 from beduino-project/bluepill-rebased
boards: add support for bluepill board
2017-10-27 20:33:07 +02:00
Sören Tempel
9b3714b0c4 add support for bluepill board 2017-10-27 16:06:50 +02:00
Hauke Petersen
4bdce27d02 test/unittests: set pexpect timeout to 60s 2017-10-25 15:37:37 +02:00
316e8426ae tests/unittests: skip sodaq-explorer 2017-10-13 17:24:46 +02:00
Lucas Jenss
6998ffbb14 cppcheck: Provide consistent reason formatting for all cppcheck-suppresses 2017-10-10 10:25:20 -07:00
Martine Lenders
1b36cdf79e
nib: implement public NIB functions up to link-local AR 2017-10-10 10:12:19 +02:00
Martine Lenders
c60caccf43 tests: extend gnrc_ipv6_nib unittests for FT component 2017-10-06 23:01:10 +02:00
Cenk Gündoğan
7af0f916fe Merge pull request #7270 from miri64/gnrc_ipv6_nib/feat/abr-component
gnrc_ipv6_nib: provide component to handle ABRO
2017-10-06 22:16:17 +02:00
Martine Lenders
361dc1423f tests: extend gnrc_ipv6_nib unittests for internal ABR component 2017-10-06 22:09:53 +02:00
Martine Lenders
11e81907d5
tests: unittests: actually do TODO in NIB-PL tests 2017-10-06 17:25:35 +02:00
Martine Lenders
32d48a81a1
tests: extend gnrc_ipv6_nib unittests for prefix list component 2017-10-06 15:35:41 +02:00
Cenk Gündoğan
c3d3e7d024 Merge pull request #7212 from miri64/gnrc_ipv6_nib/feat/internal-offl
gnrc_ipv6_nib: provide internal implementation for off-link entries
2017-10-06 12:02:43 +02:00
Cenk Gündoğan
11baf130a3 Merge pull request #6988 from miri64/gnrc_ipv6_nib/feat/nc-component
gnrc_ipv6_nib: add neighbor cache component
2017-10-06 11:57:46 +02:00
Martine Lenders
c1f9b15c3a
tests: extend nib-internal unittests for off-link entry handling 2017-10-06 11:50:59 +02:00
Martine Lenders
9558a3d14a
tests: extend gnrc_ipv6_nib unittests for NC component 2017-10-06 11:33:13 +02:00
Andreas "Paul" Pauli
69476a7a6f Merge pull request #7624 from smlng/boards/cc2650_launchpad
boards: initial support for TI CC2650 LaunchPad
2017-10-05 17:26:06 +02:00
258f7b70f9 tests/unittests: add clist_sort() tests 2017-10-03 00:36:14 +02:00
smlng
71dbf14149 unittests: update tests-fmt 2017-09-28 15:44:35 +02:00
ef44438d05 tests/unittests: cleanup makefile indentation 2017-09-22 14:53:01 +02:00
smlng
37db4c3112 boards: add cc2650-launchpad to BOARD_INSUFFICIENT_MEMORY for tests and examples
- examples: dtls-echo, gnrc_border_router, javascript
    - tests: thread_cooperation, unittests
2017-09-20 11:11:13 +02:00
27ed76cad1 tests/gcoap: Add second listener 2017-09-19 14:13:46 +02:00
91c1f4d9d6 Merge pull request #7511 from haukepetersen/rm_board_weio
boards/cpu: removed support for weio and lpc11u34
2017-09-01 09:36:08 +02:00
Sebastian Meiling
86c386e3d6 Merge pull request #7391 from OTAkeys/fix/cbor
cbor: fix out of bound memory access
2017-08-28 17:19:19 +02:00
Pieter Willemsen
b76bfec0a3 cbor: fix out of bound memory access 2017-08-28 14:42:43 +02:00
Hauke Petersen
cfa9580f31 boards: removed support for weio
No maintainer and no hardware available to the community.
2017-08-28 12:11:51 +02:00
016381525e tests/unittests: skip arduino-mkrzero 2017-08-25 15:33:03 +02:00
smlng
8c6e5e4590 tests: add test_fmt_s32_dfp
+ silently fix minor typos, too
2017-08-15 12:31:07 +02:00
Hauke Petersen
813c92e52a unittests/gcoap: add tests for _get_resource_list 2017-08-08 16:00:15 +02:00
87b9c75556 boards: rename nucleo-l1 to nucleo-l152 2017-07-17 18:24:15 +02:00
Martine Lenders
475e2bdc82 gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
The main motivation for this is to valgrind the network stack.
2017-07-15 17:54:47 +02:00
Martine Lenders
d09999a127 tests: provide unittests for bcd 2017-07-06 20:43:30 +02:00
Michael Frey
5964eaa336 doc: changed include and function call in README 2017-06-29 14:03:53 +02:00
Pieter Willemsen
6706e763d4 sys: cbor: add test app for cbor_stream_decode 2017-06-27 17:47:47 +02:00
Pieter Willemsen
29e8bd1351 sys: cbor: makefiles can enable cbor functionality
new cbor pseudomodules:
- cbor_ctime
- cbor_float
- cbor_semantic_tagging
2017-06-27 17:45:42 +02:00
Francisco Acosta
32b50c371a Merge pull request #6850 from aabadie/NZ32-SC151
boards/nz32-sc151: add initial support
2017-06-26 14:50:52 +02:00
e71bf07a68 Merge pull request #7223 from kb2ma/gcoap/confirm_piggy_server
net/gcoap: Provide piggybacked ACK response to confirmable request
2017-06-24 21:47:37 +02:00
Francisco Acosta
cd824c3bc2 Merge pull request #6723 from aabadie/nucleo144_f412
boards/nucleo144-f412: initial support
2017-06-23 15:29:41 +02:00
Ken Bannister
9768f51db6 net/gcoap: Unit tests for CON request and piggybacked ACK response 2017-06-21 22:47:08 -04:00
56396624be tests/unittests: skip b-l072z-lrwan1 board 2017-06-21 15:08:41 +02:00
Martine Lenders
bfa515bd43 tests: enhance tests for caching error case 2017-06-15 11:40:46 +02:00
Martine Lenders
0bf52f07f7 tests: provide unittests for internal NIB functions 2017-06-09 21:52:37 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
kYc0o
bc2387ed25 tests-gcoap: move dependencies to gcoap module 2017-05-22 12:23:43 +02:00
ca70a58cfe tests/unittests: add nucleo144-f412 to cortexM boards 2017-05-19 15:57:37 +02:00
4c9866d634 test/unittests: add arduino-mkr1000 for ARM and unsufficient memory boards 2017-05-16 10:14:59 +02:00
9156aa1483 tests/unittests: skip nz32-sc151 2017-05-13 20:00:42 +02:00
Vincent Dupont
9edda8d013 unittests/tests-spiffs: fix dummy memory layout
Use 8 pages per sector to comply with spiffs requirements:
 - page_size must be block_size / (2^y) where y > 2
2017-05-10 17:44:59 +02:00
José Alamos
137d4689da tests/unittests/tests-hashes: add tests for AES-CMAC 2017-05-08 13:52:12 +02:00
Vincent Dupont
e2d392629b unittests/tests-mtd: disable AND flash test with dummy flash 2017-05-02 09:59:14 +02:00
Martine Lenders
006b12e4b3 Merge pull request #6960 from emmanuelsearch/delete-3des
sys: crypto: Remove 3DES crypto
2017-04-26 08:17:44 +02:00
Martine Lenders
7f778988c3 tests: provide test for off-by-x error in ipv6_addr 2017-04-25 19:19:27 +02:00
Emmanuel Baccelli
6589c01aa0 sys/crypto: remove 3DES 2017-04-25 18:34:18 +02:00
Ken Bannister
e7d6d57e5f gcoap: Define length of client token in test to parse response. 2017-04-24 22:21:53 -04:00
Ken Bannister
412d0dd67e gcoap: Use client token length macro when generate expected data. 2017-04-24 22:21:53 -04:00
smlng
3b50f30a6e unittests: enhance tests-pkt with type search 2017-04-22 20:56:54 +02:00
Martine Lenders
38f383c68d Merge pull request #6703 from OlegHahm/cppcheck_fixes
dist: enable cppcheck warnings for all files
2017-04-19 08:18:47 +02:00
Travis Griggs
b2e33e840f unittests: unroll board lists to one item per line 2017-04-17 15:09:37 -07:00
908429eb33 tests: fix misc cppcheck warnings 2017-04-14 14:36:16 +02:00
Travis Griggs
43a9b85dd3 tests: update configuration for samd21-xpro 2017-04-13 18:21:07 -07:00
Vincent Dupont
70ed63ed25 Merge pull request #6838 from aabadie/nucleo32_l432
boards/nucleo32-l432: initial support
2017-04-13 09:44:05 +02:00
Joakim Nohlgård
a2b4c42c28 unittests: Only build C++ tests for some platforms
Known working platforms are native and Cortex-M
2017-04-10 09:31:13 +02:00
Joakim Nohlgård
0f477b8b44 unittests: Add C++ constructors test 2017-04-10 09:31:13 +02:00
a454975ae5 tests/unittests: skip nucleo32-l432 2017-04-06 22:23:31 +02:00
66c870a446 test/unittests: update ARM based boards list 2017-04-06 09:27:43 +02:00
Francisco Acosta
9edca89ea7 Merge pull request #6625 from aabadie/nucleo144_f303
boards/nucleo144-f303: initial support
2017-04-05 19:31:26 +02:00
Martine Lenders
117c9341ab Merge pull request #6854 from gebart/pr/unittests-dir-wildcard
unittests: Refactor Makefile test wildcard matching line
2017-04-04 19:55:07 +02:00
Joakim Nohlgård
9809db3d90 unittests: Refactor Makefile test wildcard matching line
Eliminate external shell calls
2017-04-04 15:04:17 +02:00
Joakim Nohlgård
7f9b37e2ca unittests: Add missing check for result of vfs_opendir in tests-spiffs 2017-04-03 10:08:25 +02:00
Joakim Nohlgård
f4dd0a31b2 Merge pull request #5625 from OTAkeys/pr/spiffs
pkg: add SPIFFS support
2017-03-31 20:29:41 +02:00
Vincent Dupont
b52c9a79cf unittests: add spiffs unittests 2017-03-31 17:17:42 +02:00
Hauke Petersen
05bcd3106f test: added nucleo-f476 to unittest targets 2017-03-30 16:58:34 +02:00
Joakim Nohlgård
d1ea50a600 mtd: Redefine MTD_0 as a mtd_dev_t * 2017-03-28 17:00:39 +02:00
a3774adfaf tests: unittests: add unittest for fmt_lpad() 2017-03-27 17:44:51 +02:00
fb907b35f8 tests/unittests: add nucleo144-f303 to cortexM boards 2017-03-24 17:29:11 +01:00
8d49054190 tests/unittests: add nucleo144-f429 to cortexM boards 2017-03-18 15:58:13 +01:00
Vincent Dupont
1b2b5d9df9 Merge pull request #5624 from OTAkeys/pr/mtdi_flash
mtd: add a generic low level flash interface
2017-03-17 17:18:13 +01:00
879fe0c416 tests/unittests: add nucleo144-f446 to cortexM boards 2017-03-16 18:24:34 +01:00
Joakim Nohlgård
9782be1d91 unittests: add unit test for mtd-vfs 2017-03-16 18:19:05 +01:00
Vincent Dupont
81149f1843 unittests: add mtd unittests 2017-03-16 11:24:46 +01:00
83307d311e tests/unittest: add nucleo-f302 to unsufficient memory list 2017-03-16 10:44:37 +01:00
ca85e8afe4 Merge pull request #6651 from aabadie/nucleo32_l031
boards/nucleo32-l031: initial support
2017-03-16 08:30:48 +01:00
a0e45d1390 tests/unittest: remove nucleo32-l031 from unittest 2017-03-15 14:08:06 +01:00
721ca1ee78 tests/unittests/relic: remove nucleo-f410 from blacklist 2017-03-15 13:25:21 +01:00
478ee1a9a0 tests: add nucleo-f410 to unsufficient memory boards 2017-03-14 18:45:11 +01:00
Vincent Dupont
db65e8b3fe tests: sort ARM_CORTEX_M_BOARDS in Makefile 2017-03-14 08:12:59 +01:00
Vincent Dupont
ad0f0877cc tests,examples: sort BOARD_INSUFFICIENT_MEMORY alphabetically 2017-03-13 18:27:50 +01:00
26b99a57be cpu: native: add vfs wrappers 2017-03-07 17:59:59 +01:00
Joakim Nohlgård
0371769e72 devfs: Dynamic file system for device nodes 2017-03-07 17:59:59 +01:00
Joakim Nohlgård
dcc37329df sys/vfs: A virtual file system (VFS) layer for RIOT
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00
Hauke Petersen
f3d3c08e2a Merge pull request #6679 from brummer-simon/ringbuffer-remove-bugfix
core: bugfix: ringbuffer_remove
2017-03-06 17:27:07 +01:00
Loïc Dauphin
ac53dff0cb tests: rename opencm9-04 into opencm904 2017-03-03 09:57:53 +01:00
0e874357a2 tests: remove nucleo-l053 from unittests 2017-03-02 13:52:12 +01:00
Simon Brummer
68581a8fbe core: bugfix: ringbuffer_remove 2017-03-01 22:01:26 +01:00
BytesGalore
dacc3cba9f Merge pull request #6283 from OTAkeys/pr/hmac_iterative_calc
hashes/sha256: add iterative hmac calc. functions
2017-03-01 17:14:11 +01:00
Hermann Lelong
f2ef9db988 hashes/sha256: add iterative hmac calc. functions
Add init, update, and final functions to do HMAC
calculation using blocks, instead of one shot.

Unit tests: use the PRF-6 test vector to test the case
where data is splitted in 3 different blocks.
2017-03-01 15:51:21 +01:00
4ca7f1096a tests/unittests: exclude nucleo-l073 board 2017-02-24 16:12:41 +01:00
77df65e95e tests: add nucleo32-f031 to unsufficient memory boards 2017-02-22 18:43:02 +01:00
3628617001 tests/unittest: add nucleo-f411 to ARM Cortex based boards 2017-02-22 15:18:21 +01:00
Joakim Nohlgård
cb34eed8f3 tests/unittests/core-atomic: Use stdatomic.h instead of custom atomic.h 2017-02-08 16:23:49 +01:00
kYc0o
5ff272f9f8 tests/unittests: add more boards to insufficient memory list 2017-01-26 15:02:00 +01:00
kYc0o
2277cc3354 tests/unittests/tests-tweetnacl: increase needed stack 2017-01-26 15:02:00 +01:00
Martine Lenders
751a82807b Merge pull request #6214 from miri64/tests/enh/list-unittests
tests: provide unittests for core/list
2017-01-24 15:56:43 +01:00
Francisco Acosta
e44236d379 Merge pull request #6170 from haukepetersen/add_periph_romaddrtopage
drivers/flashrom: added addr-to-page function
2017-01-24 14:18:41 +01:00
Martine Lenders
b0a849c01c tests: provide unittests for core/list 2017-01-24 14:15:48 +01:00
Hauke Petersen
87bdd7be32 tests/unittests: added flashpage tests (page<->addr) 2017-01-24 09:41:56 +01:00
Frits Kuipers
e483c2307b boards/maple-mini: initial support 2017-01-21 16:27:17 +01:00
Martine Lenders
5b1c00ad8b Merge pull request #6388 from astralien3000/opencm9-04
boards/opencm9-04 : initial support
2017-01-21 14:37:50 +01:00
Ken Bannister
342c3f2ed3 gcoap: Remove coap.h include file, which is no longer used.
Also change references in dependencies to the net/gcoap.h include.
2017-01-20 22:00:25 -05:00
Ken Bannister
acda73c9c7 gcoap: Update unit tests for rebase on sock 2017-01-20 22:00:25 -05:00
Loïc Dauphin
73a3be518b tests: add opencm9-04 to insufficient memory boards in some tests 2017-01-20 18:11:00 +01:00
smlng
a79ee2d623 unittests: fix heatshrink compiler error on macOS 2017-01-20 14:34:35 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
693636690c Merge pull request #6399 from OlegHahm/timex_constants
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
Martine Lenders
76f951b54f Merge pull request #6326 from smlng/pr/osx/tests_name_clash
tests: fix linker failure on OS X due to name clash
2017-01-19 16:08:13 +01:00
smlng
6a037ad004 tests: add prefix to Makefile.tests_common
- fixes name clash on macOS
    - correct naming of test coap to pkg_libcoap
2017-01-19 15:20:37 +01:00
Martine Lenders
8ba057daf7 Merge pull request #6377 from aabadie/nucleo32-f303
boards/nucleo32-f303 : initial support
2017-01-19 14:19:28 +01:00
Oleg Hahm
4f4214235b timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
Oleg Hahm
b9b6e4934c Merge pull request #5203 from OlegHahm/cbor_bound_checking
cbor: bounds checking on read and no_copy string deserialization
2017-01-19 12:21:18 +01:00
ca11e4c9e6 tests: add nucleo32-f303 to insufficient memory boards in some tests 2017-01-19 11:09:42 +01:00
963662416b boards/nucleo32-f042: change board name nucleo->nucleo32 2017-01-18 22:04:59 +01:00
Lucio Torre
d783d784c9 cbor: add zero copy string deserialization 2017-01-18 19:33:00 +01:00
smlng
48a93cb665 unittests: fix array length error on OSX 2017-01-18 13:50:56 +01:00
21faabe417 Merge pull request #5948 from kaspar030/add_pkg_heatshrink
pkg: add heatshrink compression library
2017-01-17 08:37:04 +01:00