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

2463 Commits

Author SHA1 Message Date
96fa80c2e6 tests/driver_at: fix wrong nucleo board name 2018-05-23 18:49:39 +02:00
Vincent Dupont
ca1e53250f
Merge pull request #8650 from aabadie/pr/nucleo32-rename
boards/nucleo32*: rename boards to use their ST marketing name
2018-05-23 17:41:17 +02:00
Vincent Dupont
84874e61d3
Merge pull request #7084 from kaspar030/add_at_parser
drivers: initial commit of generic AT parser module
2018-05-23 17:33:05 +02:00
b7c7d57740
unittests: Add unittest for uuid module 2018-05-23 16:31:02 +02:00
Vincent Dupont
88a978adfb tests/driver_at: improve test app 2018-05-23 16:08:28 +02:00
0c9c00f976 tests/at: improve shell and add README 2018-05-23 16:08:28 +02:00
0b603a11fd tests/at: add nucleo32-f031 to BOARD_INSUFFICIENT_MEMORY 2018-05-23 16:08:28 +02:00
331f8531b4 tests/at: add missing stdio.h include 2018-05-23 16:08:28 +02:00
Vincent Dupont
e3f26b2c15 tests: add at parser basic test app 2018-05-23 16:08:28 +02:00
eaf2698a69 boards/nucleo-l432kc: rename to st marketing name 2018-05-23 12:55:36 +02:00
3bbf8c01ab boards/nucleo-f303k8: rename to st marketing name 2018-05-23 12:51:41 +02:00
633a92929d boards/nucleo-l031k6: rename to st marketing name 2018-05-23 12:50:33 +02:00
81700d4301 boards/nucleo-f042k6: rename to st marketing name 2018-05-23 12:49:40 +02:00
3e4f7adc95 boards/nucleo-f031k6: rename to st marketing name 2018-05-23 12:46:42 +02:00
07c2c46e16 tests: use new nucleo-f767zi name 2018-05-23 12:09:28 +02:00
d59c77d9c8 tests: use new nucleo-f746zg name 2018-05-23 12:09:28 +02:00
765a820d5b tests: use new nucleo-f722ze name 2018-05-23 12:09:28 +02:00
ede9ff7af3 tests: use new nucleo-f446ze name 2018-05-23 12:08:53 +02:00
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
Vincent Dupont
93ebf38615
Merge pull request #8649 from aabadie/pr/nucleo-rename
boards/nucleo64*: rename boards to use their ST marketing name
2018-05-23 12:08:06 +02:00
Vincent Dupont
ce782b4cf8 tests: add a dummy app to build DMA 2018-05-23 11:09:46 +02:00
f1571db6b8 tests/mpu_stack_guard: fix alignment issue 2018-05-22 22:02:57 +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
81cff65c57
tests/xtimer_now64: Start time measure after print
Printing can take a lot of time over a serial connection. On the atmega
board it takes more than 2 ms, skewing the first measurement over the
threshold value and causing a test failure. This moves the print
statement above the first measumerement to prevent the skew.
2018-05-16 16:49:03 +02:00
Francisco Acosta
d634b7b1d9 tests: add more hardware in the loop tests 2018-05-15 19:54:51 +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
14e5a2b683
Merge pull request #9098 from basilfx/feature/efm32_unittests
tests: unittests: disable for new efm32 boards.
2018-05-14 11:13:12 +02:00
1f436e2486
Merge pull request #8965 from aabadie/pr/drivers/io1_xplained_enh_sd
drivers/io1_xplained: improve driver and add support for the sdcard and light sensor
2018-05-14 09:00:47 +02:00
372aadd626
Merge pull request #8978 from Hyungsin/forupstream_fxos8700
drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer
2018-05-14 08:45:58 +02:00
Bas Stottelaar
e7b3e4bf64 tests: unittests: disable for new efm32 boards. 2018-05-13 18:59:12 +02:00
Hyungsin
beaf08bcb2 drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer 2018-05-12 17:51:58 -07:00
234b363e8c
Merge pull request #9032 from cladmi/pr/fix/test/wsn430/mutex_unlock_and_sleep
tests/mutex_unlock_and_sleep: increase timeout
2018-05-12 02:09:37 +02:00
a0077f3c4b tests/unittests: test clist_foreach() return value 2018-05-12 00:13:41 +02:00
e05b780a10
Merge pull request #9118 from cladmi/pr/tests/trickle
tests/trickle: initialize prev_now in main
2018-05-11 20:57:01 +02:00
925f3c3a03 tests/pkg_cayenne_lpp: improve test and fix failing checks
- generated payloads can differ between architectures due to floating precision
- reworked how buffer content is tested in the application
- second test value depends on architecture (native and other platforms)
2018-05-11 18:57:36 +02:00
Gaëtan Harter
4032cf73b0
tests/trickle: initialize prev_now in main
Having `prev_now` initialized to 0 breaks tests on `arduino-zero` and
`arduino-mega2560` as `xtimer_now_usec` is way bigger (72k on `arduino-zero`).

Issue found in:
* #9052 and proposed fix by ZetaR60
* https://github.com/RIOT-OS/Release-Specs/issues/62#issuecomment-387421737
2018-05-11 17:56:27 +02:00
Gaëtan Harter
d0f22b787c
Merge pull request #8112 from cladmi/pr/crypto/input_len
crypto/ccm: fix input_len checking with length_encoding
2018-05-09 18:56:34 +02:00
7f83c450c8
Merge pull request #9100 from cladmi/pr/tests/libfixmath_unittests
tests/libfixmath_unittests: fix for iotlab-m3 and samr21-xpro
2018-05-09 15:30:26 +02:00
Gaëtan Harter
2c240cadf6
tests/libfixmath_unittests: increase timeout for samr21/iotlab-m3
On iotlab-m3 test duration was 80 seconds and 250 on samr21.
2018-05-08 14:46:45 +02:00
Gaëtan Harter
1773b06a62
tests/libfixmath_unittests: add missing printf_float dependency
The test fix16_str_unittests uses snprintf("%0.5f") to compare to fix16_to_str.
2018-05-08 14:46:38 +02:00
Gaëtan Harter
4f2521262b
tests/mutex_unlock_and_sleep: reduce number of loops in test
Globally speed up automated tests as iterating more does not add anything.

Especially usefull for wsn430 that now takes ~30 seconds instead of the double.
2018-05-08 11:55:49 +02:00
Gaëtan Harter
57a2397631
tests/mutex_unlock_and_sleep: reduce number of iterations on boards
Reduce number of iterations, it allows taking less than 3 seconds on wsn430.

Tested on wsn430 and iotlab-m3 to check that speed was not too fast to read when
executing term.
2018-05-08 11:55:10 +02:00
Gaëtan Harter
2dfb5847f3
tests/mutex_unlock_and_sleep: replace modulo to speed up tests on wsn430
Doing a 32 bit modulo is really slow on wsn430, even when changing to a power of
two modulo.

Replace modulo by a double counter.
2018-05-08 11:54:57 +02:00
7e2f5cf99a tests/pkg_semtech-loramac: adapt to change in pkg 2018-05-08 11:14:05 +02:00
jia200x
736c757b80
Merge pull request #8639 from aabadie/pr/pkg/loramac_link_check
pkg/semtech-loramac: add link check support
2018-05-08 11:11:33 +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
Francisco Acosta
5519f06e1e
Merge pull request #8897 from ZetaR60/RIOT_atmega_race
tests/thread_race: add test for race conditions
2018-05-04 19:38:27 +02:00
Matthew Blue
8d40e3c481 tests/thread_race: add test for race conditions 2018-05-04 12:49:01 -04: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
f9c75d0df7
Merge pull request #8915 from ZetaR60/RIOT_ads101x
drivers/ads101x: support for ADCs
2018-05-03 08:31:03 +02:00
e13b1b7dd2
Merge pull request #9045 from cladmi/pr/tests/thread_flags/wsn430
tests/thread_flags: fix printf on 16bit platform
2018-04-28 14:49:47 +02:00
Joakim Nohlgård
9c85ce1916
Merge pull request #8733 from gebart/pr/matstat
matstat: Integer mathematical statistics library
2018-04-28 09:37:02 +02:00
Joakim Nohlgård
5c59f6a39a unittests: Add tests for matstat library 2018-04-28 08:03:35 +02:00
Gaëtan Harter
8edd9a924c
tests/thread_flags: fix printf on 16bit platform
Diff output was truncated to a 16b unsigned on wsn430 which made tests fail

    main: timeout triggered. time passed: 34581us

Instead of

    main: timeout triggered. time passed: 100117us
2018-04-27 21:08:20 +02:00
b522d5e6ee
Merge pull request #9033 from cladmi/pr/tests/pkg_tiny-asn/blacklist/wsn430
tests/pkg_tiny-asn1: blacklist wsn430 boards
2018-04-27 15:22:39 +02:00
97618c0ec0
Merge pull request #9031 from cladmi/pr/fix/test/sizeof_tcb
tests:sizeof_tcb: fix for wsn430 and arduino
2018-04-27 11:42:22 +02:00
95a5befdf9
Merge pull request #9030 from cladmi/pr/fix/test/wsn430/float
tests/float: increase timeout for wsn430
2018-04-27 11:40:26 +02:00
Gaëtan Harter
a1fe556f02
tests/pkg_tiny-asn1: blacklist wsn430 boards
Boards do not have enough memory to `malloc` for the test

    ERROR: Could not allocate the memory for the ASN.1 objects
2018-04-26 16:53:07 +02:00
Gaëtan Harter
23eefa3408
tests/sizeof_tcb: fix printf format to work on arduino
arduino-uno and arduino-mega2560 do not support the '%-*s' option.
2018-04-26 16:04:40 +02:00
Gaëtan Harter
4f1206c1c5
tests/sizeof_tcb: fix test for 16bit wsn430 2018-04-26 16:04:37 +02:00
Gaëtan Harter
ac1bf94f67
tests/float: increase timeout for wsn430 2018-04-26 16:00:53 +02:00
Gaëtan Harter
fa58928695
tests/bloom_bytes: increase timeout for wsn430
adding 512 elements took 10243ms
    checking 10000 elements took 134720ms
2018-04-26 15:57:27 +02:00
aa0acd62c7 tests/pkg_semtech-loramac: add new link_check command 2018-04-19 15:51:43 +02:00
378ec103f9 tests/pkg_semtech-loramac: apply new API 2018-04-19 11:44:51 +02:00
f872a7f676 tests/driver_io1_xplained: print light sensor values 2018-04-17 11:06:01 +02:00
367190c08d tests/driver_io1_xplained: use sdcard in test application 2018-04-17 10:49:48 +02:00
57734a1e15 tests/driver_io1_xplained: rework with new API 2018-04-17 10:48:49 +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
Dylan Laduranty
ff5817c569
Merge pull request #8926 from aabadie/pr/drivers/sx127x_fixes
drivers/sx127x: various improvements
2018-04-16 16:10:27 +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
Bas Stottelaar
7e5d958cd8 tests: pkg_u8g2: adapt to new version. 2018-04-15 11:05:58 +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
Matthew Blue
7d1424a596 tests/driver_ads101x: initial support 2018-04-13 11:38:51 -04:00
3d97fd4771
Merge pull request #6164 from kaspar030/fix_cortexm_thread_yield
cortexm: fix thread_yield() -> thread_yield_higher() in ISRs
2018-04-13 10:27:46 +02:00
9529b1a305 tests: add regression test for thread_yield() vs thread_yield_higher() 2018-04-13 10:12:39 +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
d686b597b1
Merge pull request #8869 from kYc0o/hil_add_more_tests
tests: add on-hardware execution for selected tests
2018-04-12 10:00:58 +02:00
1d1a167158 tests/drivers_sx127x: exit when initialization failed 2018-04-12 10:00:54 +02:00
Joakim Nohlgård
d3d3c1c036 tests/periph_rtt: Initialize timer target from current reading
This avoids false test failures when the RTT retains its old counter
value across reboots/resets.
2018-04-12 08:01:29 +02:00
0a8590c78b tests/sx127x: several fixes
- fix style
- remove global netdev
2018-04-11 17:53:55 +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
012c016b74
Merge pull request #8772 from kaspar030/rework_nanocoap_option_handling
net/nanocoap: rework option handling
2018-04-10 21:11:18 +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
Gaëtan Harter
747b11d90e
Merge pull request #7651 from tobhe/memarray
Generic memory block allocator
2018-04-10 15:22:40 +02:00
tobhe
62ca3d36ba memarray: add fixed-size block allocator test 2018-04-10 14:37:29 +02:00
Martine Lenders
629a19dc87
Merge pull request #8871 from miri64/gnrc_netif/fix/unspec-addr
gnrc_netif: check if input for address search is ::
2018-04-10 14:35:07 +02:00
Francisco Acosta
1886256f90 tests: add HIL for selected test 2018-04-09 17:50:22 +02:00
0575dbfad7
Merge pull request #8879 from kaspar030/enable_some_on_hardware_tests
tests: enable ps_schedstatistics and struct_tm_utility on-hardware CI tests
2018-04-09 17:14:46 +02:00
5c9ee37ba4
Merge pull request #8899 from aabadie/pr/tests/periph_flashpage
tests/periph_flashpage: fix typo in doxygen header
2018-04-09 11:03:16 +02:00
d7bf2c112e
Merge pull request #7491 from aabadie/nucleo_l433
boards/nucleo-l433rc: initial support
2018-04-07 21:12:14 +02:00
5f3228b3d6 tests/periph_flashpage: fix typo in doxygen header 2018-04-06 15:25:44 +02:00
Hauke Petersen
4333a29a41 tests/drivers: adapt to changed fmt_s16_dfp semantics 2018-04-06 12:10:18 +02:00
Hauke Petersen
ac93818c90 unittests/fmt: adapt and enhance tests for sxx_dfp() 2018-04-06 12:10:18 +02:00
zhuo shuguo
8a6b446dd7 tests: adjust MAC test folders' names. 2018-04-06 14:15:16 +08:00
Bas Stottelaar
ec564c051d
Merge pull request #8623 from basilfx/feature/pkg_ucglib
pkg: ucglib: add support for color graphics library
2018-04-05 17:20:17 +02:00
Semjon Kerner
014df46e2e tests/periph_pwm: add shellcommands for more detailed testing 2018-04-05 17:12:17 +02:00
Bas Stottelaar
bfccf3182a tests: pkg_ucglib: add test application. 2018-04-05 14:20:57 +02:00
Bas Stottelaar
74d496f99f tests: periph_pm: add peripheral test. 2018-04-05 10:57:52 +02:00
1ecaa8dfff tests/struct_tm_utility: enable on-hardware CI testing 2018-04-05 10:00:53 +02:00
3c24e651d1 tests/ps_schedstatistics: enable on-hardware CI testing 2018-04-04 17:25:39 +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
043a6826a3
Merge pull request #8877 from bergzand/pr/tests/pthread_barrier_utf8
tests/pthread_barrier: Convert UTF-8 to ASCII in printf statement
2018-04-04 14:29:32 +02:00
4177e54723
tests/pthread_barrier: Convert UTF-8 to ASCII 2018-04-04 13:53:41 +02:00
Martine Lenders
1b7de325b3 tests: gnrc_netif: provide test cases for invalid input 2018-04-03 17:33:19 +02:00
Bas Stottelaar
9e5a2e9a63 tests: periph_i2c: map speed to i2c_speed_t. 2018-03-29 13:13:10 +02:00
0a553401c8 tests/unittests: support CI on-hardware testing 2018-03-28 18:28:54 +02:00
a5ed5e283c tests: enable CI testing for some tests 2018-03-28 18:28:54 +02:00
39fec304d2
Merge pull request #8809 from aabadie/pr/pkg/cayenne-lpp
pkg/cayenne-lpp: add support for Cayenne LPP format
2018-03-28 14:55:04 +02:00
Gaëtan Harter
21a9958323
Merge pull request #8822 from aabadie/pr/make_curly
make: replace curly braces with parenthesis
2018-03-27 15:44:36 +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
fc4b4851c0 tests: add test application for Cayenne LPP package 2018-03-23 08:54:27 +01:00
61f1b941ce make: replace curly braces with parenthesis 2018-03-22 20:43:15 +01: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
Martine Lenders
87d45c1719 tests: provide tests for trace module 2018-03-20 15:14:07 +00:00
0611be6b1b tests/shell: disable DEVELHELP
Fixes tests assuming non-DEVELHELP ps output.
2018-03-19 10:53:16 +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
Francisco Acosta
81875fcfc6
Merge pull request #8770 from aabadie/pr/tests/flashpage
tests/periph_flashpage: small cleanup
2018-03-16 16:13:21 +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
890cec321e tests/periph_flashpage: small cleanup 2018-03-16 15:20:54 +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
70f0d844ac pkg: add cn-cbor CBOR implementation 2018-03-16 12:51:51 +01:00
Joakim Nohlgård
0735614376 tests/pkg_fatfs: Word wrap README 2018-03-14 11:56:52 +01:00
Joakim Nohlgård
f8a9e6303f tests/pkg_fatfs_vfs: Word wrap README 2018-03-14 11:56:52 +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
2d432eaccd tests/driver_si114x: add basic test application 2018-03-08 14:07:28 +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
403faf2314 pkg/lwip: update to use iolists 2018-03-06 14:00:32 +01:00
1faa845d8e sys/net: iolist updates 2018-03-06 14:00:32 +01:00
23b414b732 drivers: net: adapt to iolist-using netdev 2018-03-06 14:00:31 +01:00
2f179f26bb sys/net/gnrc/netif: adapt to netdev with iolist 2018-03-06 14:00:31 +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
Hauke Petersen
47a500d0b1
Merge pull request #8447 from haukepetersen/opt_test_periphuartpower
tests/periph_uart: included power_on/off() in test
2018-03-05 09:49:20 +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
Peter Kietzmann
215940b058
Merge pull request #8643 from Josar/jiminy_master
boards: Jiminy-mega256rfr2: initial support
2018-03-02 15:24:39 +01:00
Josarn
cb6222daba tests/* : Blacklisting for Jiminy
Signed-off-by: Josua Arndt  <josuaarndt@live.de>
Signed-off-by: Steffen Robertz <steffen.robertz@online.de>
2018-03-02 13:51:28 +01:00
Vincent Dupont
647133f5c5 unittests/tests-spiffs: add partition test 2018-03-02 13:45:18 +01:00
Hauke Petersen
a38a9f7a6f tests/periph_uart: included power_on/off() in test 2018-03-02 10:53:55 +01:00
jia200x
605d4e3dfb
Merge pull request #8633 from aabadie/pr/tests/pkg_loramac_get
tests/pkg_semtech_loramac: fix get command with EUI values
2018-02-27 10:46:48 +01:00
jia200x
ab4232651f
Merge pull request #8645 from aabadie/pr/pkg/semtech-loramac_devaddr
tests/pkg_semtech-loramac: fix loramac set devaddr
2018-02-27 10:37:57 +01:00
072b3a866e test/pkg_semtech-loramac: fix loramac set devaddr 2018-02-27 10:08:53 +01:00
c450cdebeb
Merge pull request #8482 from cogip/qdec
drivers: Initial import of low-level QDEC driver interface
2018-02-26 17:44:58 +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
Joakim Nohlgård
032b07cee7
Merge pull request #8614 from gebart/pr/tests-pkg_fatfs-mtd-fix
tests/fatfs: Fix tests on native after configuration changes in #8272
2018-02-26 13:37:44 +01:00
6ea16d7d96 tests/driver_hts221: fix missing words and cleanup 2018-02-25 14:27:59 +01:00
Gilles DOFFE
f15fbf13b3 tests: add periph_qdec test
* Test all QDEC devices

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-24 18:08:05 +01:00
8708e2035a tests/pkg_semtech_loramac: fix get command for EUIs
- add a null character after conversion from bytes to hex chars
- set the maximum print buffer size to the maximum possible size (application key size)
2018-02-24 11:07:12 +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
Joakim Nohlgård
a90a444dd6 tests/pkg_fatfs: Fix native configuration flags for #8272 2018-02-22 08:27:24 +01:00
Joakim Nohlgård
b39f6708ae tests/pkg_fatfs_vfs: Fix native configuration flags for #8272 2018-02-22 08:25:25 +01:00
587299d0e3 tests/driver_sx127x: fix setup issue 2018-02-21 13:13:51 +01:00
8b43659230
Merge pull request #8597 from bergzand/pr/tests/emb6-feat-req
tests/emb6: remove obsolete FEATURES_REQUIRED from makefile
2018-02-21 09:40:19 +01:00
5efd9599e0 sys/benchmark: remove BENCHMARK_SETUP() 2018-02-20 10:10:13 +01:00
1d716befc8
tests/emb6: remove obsolete FEATURES_REQUIRED from makefile 2018-02-19 21:07:15 +01:00
Martine Lenders
26ad044e12
Merge pull request #8563 from miri64/gnrc_ipv6_nib/fix/6lo-tentative
gnrc_ipv6_nib_6ln: do not mark non-link-local addresses directly VALID
2018-02-19 15:28:08 +01:00
Martine Lenders
8d98447c36 tests: adapt gnrc_ipv6_nib_6ln test for new behavior 2018-02-19 14:39:29 +01:00
Semjon Kerner
aa0d22a552 tests/driver_bmx055: provide test application for bmx055 2018-02-19 14:29:24 +01:00
Joakim Nohlgård
a25c059f1f
Merge pull request #8368 from smlng/examples/fix_posix
posix: fix pthread and socket example
2018-02-19 10:58:02 +01:00
Joakim Nohlgård
354499d397
Merge pull request #8588 from rxwb/fix_saul_reg_rm
sys/saul_reg: Fix saul_reg_rm return value when removing first element
2018-02-19 10:38:14 +01:00
f59e8247b0
Merge pull request #8040 from haukepetersen/add_bench_periphgpiototest
tests/periph_gpio: added benchmark capabilities
2018-02-19 09:48:39 +01: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
6f46b50337
Merge pull request #8488 from smlng/fix_tests_180129
tests: minor fixes for libfixmath, sizeof_tcb and gnrc_netif
2018-02-13 12:53:18 +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
Joakim Nohlgård
2bf1068c72 tests/rng: Clean up includes 2018-02-07 10:24:33 +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
Hauke Petersen
9b557d2e47 tests/periph_gpio: added 'bench' make target
This commit enables the GPIO benchmark to be run automatically
(through 'make bench') using pexpect.
2018-01-31 13:55:37 +01:00
Hauke Petersen
94796ef413 tests/periph_gpio: added benchmark command 2018-01-31 13:55:37 +01:00
Sebastian Meiling
fac763bffc
Merge pull request #8422 from MichelRottleuthner/pr_fatfs_bump_version
pkg/fatfs: bump version to R0.13a
2018-01-31 12:05:31 +01:00
Gaëtan Harter
3ccdbb52e8
Merge pull request #8485 from miri64/tests/fix/netdev_test-DEVELHELP
tests: deactivate DEVELHELP for netdev_test
2018-01-30 22:17:57 +01:00
Martine Lenders
f26cd88511 tests: deactivate assert() for netdev_test 2018-01-30 21:08:07 +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
smlng
2ed609a810 tests/gnrc_netif: fix unused parameter
Test does not compile when DEVELHELP=0 otherwise.
2018-01-30 19:57:30 +01:00
smlng
b0a0fdf400 tests/sizeof_tcb: fix test condition
Fix test condition to match size if compiled with
    and w/o DEVELHELP.
2018-01-30 19:57:30 +01:00
smlng
6caa9f9e51 tests/libfixmath: fix range of loop in test script
The range for the loop was orders of magnitude too low.
    While the tests succeeds on native, it fails on real
    boards with a timeout.
2018-01-30 19:57:30 +01:00
Gaëtan Harter
934b075f76
Merge pull request #7883 from Hyungsin/hamilton-pushbutton
pulse counter driver: initial SAUL-compatible implementation
2018-01-30 19:35:44 +01:00
Martine Lenders
f1f079fb0e
Merge pull request #8480 from miri64/gnrc_ipv6_nib/fix/fix-conv
gnrc_ipv6_nib: ignore corner case when adding to PL
2018-01-30 13:52:15 +01:00
Martine Lenders
1f8dc50602 tests: adapt NIB tests for lifetime unit conversion 2018-01-30 12:32:06 +01:00
8d0815d386 boards: rename nucleo144-f207 to nucleo-f207zg 2018-01-29 22:14:25 +01:00
3f4e304b44 tests: use STM32 Nucleo-64 name in readmes 2018-01-27 18:48:24 +01:00
Martine Lenders
c13426f688 tests/gnrc_ndp: add device type handler to netdev mock-up
By providing a getter for `NETOPT_DEVICE_TYPE` the assertion failed in
\8458 is not hit anymore.
2018-01-27 07:24:15 +01:00
aaabbdd1d3
Merge pull request #8448 from smlng/fix_auto_tests_1801
tests: fix some minor issues with auto tests scripts
2018-01-26 16:40:20 +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
smlng
d57f32225e tests: remove obsolete clearing of TERMFLAGS 2018-01-26 11:10:14 +01:00
smlng
9da940736b tests: use python3 for tests scripts 2018-01-26 11:09:11 +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
Francisco Acosta
972b0ab8d2
Merge pull request #7087 from aabadie/driver_ata8520
drivers/ata8520e: add initial implementation (without netdev but provides Sigfox feature)
2018-01-25 14:59:31 +01:00
11b7e3b6d6 tests: add ata8520e test application 2018-01-25 12:01:57 +01:00
6e0dfcec8d tests/unittests: skip arduino-mkrfox1200 2018-01-25 11:56:27 +01:00
14911c1883
Merge pull request #8429 from bergzand/pr/enc28j60_deps
drivers/enc28j60: Add feature deps to makefile
2018-01-24 17:47:54 +01:00
5717429c95
tests/driver_enc28j60: Remove unnecessary feature requirements 2018-01-24 15:25:29 +01:00
Michel Rottleuthner
7ad1d77786 pkg/fatfs: align to interface changes of FatFs R0.13a 2018-01-23 19:32:41 +01:00
Hyungsin
36666a75b0 tests/driver_pulse_counter: test application for pulse counter driver 2018-01-22 12:34:47 -08:00