d5c527161d
test/crypto: Add tests for poly1305
...
Tests are based on the tests vectors provided in RFC 7539
2018-12-03 09:31:10 +01:00
b59bfd5554
Merge pull request #10505 from miri64/gnrc_mac/fix/header-includes
...
gnrc_mac: fix header includes
2018-11-29 22:02:46 +01:00
Sebastian Meiling
7913811a0f
tests: board specific TIMER_SPEED in periph_timer
...
By default the periph_timer tests wants to init all timers with 1MHz,
which is not suitable for all timers, e.g. the atmega timers cannot
run at that speed to make the test work they need to be set to 250kHz.
2018-11-29 16:25:06 +01:00
Sebastian Meiling
739cb85830
tests: add README.md for periph_timer
...
Moving test description from code to a separate README.md file to reduce
binary size to make the test fit on an arduino-uno.
2018-11-29 16:24:51 +01:00
Kevin "Bear Puncher" Weiss
153759b926
Merge pull request #10498 from smlng/pr/adapt/7542
...
atmega: add periph_pwm (taken from #7542 )
2018-11-29 15:54:51 +01:00
Martine Lenders
9d6a32b551
gnrc_mac: fix header includes
...
The inclusion of `net/gnrc.h` in `net/gnrc/mac/types.h` header makes it
impossible to include the `net/gnrc/netif.h` header within
`net/gnrc/netif/hdr.h`, due to `net/gnrc/mac/types.h` being included
with `net/gnrc/netif/mac.h` (which is included in `net/gnrc/netif.h`)
2018-11-29 12:39:34 +01:00
Victor Arino
8ff8aefb72
boards/arduino-atmega-common: support for PWM
2018-11-29 08:50:56 +01:00
f9eebce43f
tests/qdsa: Move from unittests to regular tests
...
Stack size is changed from 4 times the default + printf to 5 times the
default stack size. Only on the lpc2387 this reduces the resulting stack
space. the test is not rerun for the lpc2387 and is untested.
2018-11-28 14:37:37 +01:00
Martine Lenders
85b9be71da
Merge pull request #10188 from smlng/pr/tests/pkg_cn-cbor
...
tests/cn-cbor: move from unittests to regular test
2018-11-27 23:51:11 +01:00
smlng
7b0a7db286
tests/cn-cbor: move from unittests to regular test
...
This moves tests for the cn-cbor package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-11-27 22:17:05 +01:00
smlng
618fd16699
tests/relic: move from unittests to regular test
...
This moves tests for the relic package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-11-27 20:41:26 +01:00
Juan I Carrano
050e06f20f
Merge pull request #10376 from cladmi/pr/crypto/ccm/const_input
...
crypto/modes/ccm: update api to const input buffers
2018-11-27 15:33:00 +01:00
Hauke Petersen
b603c298ef
Merge pull request #9156 from kb2ma/gcoap/use_opt_add_api
...
net/gcoap: Use nanocoap pkt/options API
2018-11-26 11:20:27 +01:00
Ken Bannister
424a01ddc1
net/gcoap: remove gcoap attributes from coap_pkt_t
2018-11-24 07:09:25 -05:00
Ken Bannister
f8e5b3dee3
net/gcoap: update tests for nanocoap options API
2018-11-24 07:09:25 -05:00
José Alamos
396f53c2a1
Merge pull request #10300 from miri64/tests/enh/gnrc_rpl_srh_unittests
...
unittests/tests-rpl_srh: various improvements
2018-11-23 13:48:16 +01:00
Martine Lenders
78164977d8
Merge pull request #10223 from kb2ma/nanocoap/string_opt_first_char
...
net/nanocoap: fix string option separator write handling
2018-11-22 16:43:45 +01:00
Ken Bannister
fa77929cc7
net/nanocoap: fix string option separator handling
...
Assumed initial character was a separator when writing the option,
and skipped over it.
2018-11-22 09:25:05 -05:00
José Alamos
1cb780ea26
Merge pull request #10447 from miri64/gnrc_pktbuf/feat/merge
...
gnrc_pktbuf: add gnrc_pktbuf_merge()
2018-11-22 13:58:14 +01:00
Tobias Heider
b4f7259a93
tests: add gnrc_pktbuf_merge() unittests
2018-11-22 11:13:33 +01:00
1279697f9f
tests/driver_mma8x5x: adapt README with type param removal
2018-11-20 10:42:14 +01:00
Martine Lenders
a63dec8074
unittests/gnrc_rpl_srh: make test constructor static
2018-11-20 09:32:32 +01:00
Gaëtan Harter
5c426f0fc9
tests-crypto-modes-ccm: change test inputs to const
...
Do required changes to have test inputs as const buffers.
2018-11-19 16:44:04 +01:00
Gaëtan Harter
3ca51d8b5d
tests-crypto/test-crypto.h: update api to const input buffers
...
Input buffers are not modified, so can be declared const arguments.
This will allow using `const` inputs for `modes/ccm` tests.
2018-11-19 16:44:04 +01:00
Gaëtan Harter
c87fe94ec1
crypto/modes/ccm: update api to const input buffers
...
Input buffers are not modified, so can be declared const arguments.
2018-11-19 16:44:04 +01:00
Kevin "Bear Puncher" Weiss
c7894d2bfc
Merge pull request #10385 from PeterKietzmann/pr_tests_puf_args
...
tests/puf_sram: add input args to automation script
2018-11-19 09:54:48 +01:00
ZetaR60
1b1d7b8b91
Merge pull request #10411 from cladmi/pr/eepreg/remove_features_required
...
tests/eepreg: remove duplicate FEATURES_REQUIRED
2018-11-17 15:18:45 -05:00
Martine Lenders
a0067b925d
tests/unittests: provide tests for gnrc_pkt_len_upto()
2018-11-16 15:51:36 +01:00
Gaëtan Harter
195d51b92a
tests/eepreg: remove duplicate FEATURES_REQUIRED
...
The dependency from eepreg to FEATURES_REQUIRED is already defined in
`sys/Makefile.dep` so should not need to be duplicated in the
application Makefile.
2018-11-16 12:07:00 +01:00
PeterKietzmann
0de38c2a6f
tests/puf_sram: add input args to automation script
2018-11-14 13:34:41 +01:00
Gaëtan Harter
147390c209
tests/ccm: add test for auth_data_len upper value
...
Maximal supported value is 0xFEFF.
2018-11-12 16:38:45 +01:00
Cenk Gündoğan
df9e25353b
test: trickle: fix condition for success
...
The current test implementation wrongly assumes that the diff between
two fired events (e1, e2) must always increase. That is not true, as
event e1 may reside on the upper part of [I/2, I) and e2 on the lower
part of [I, 2*I).
This commit fixes the test to look at the actual time that was randonmly
chosen from both intervals (t1, t2). Given that the intervals are
doubled, t1 must always be smaller than t2.
2018-11-05 16:58:54 +01:00
Francisco Acosta
dd3ca90e8a
examples, tests: add memory insufficient arduino boards
...
The unification of a bigger stack for the atmega platforms
makes some boards to not have enough memory to provide
the big stack plus the application code.
It is possible though, to override the stack size to a
smaller amount if running the test is necessary.
2018-11-02 17:57:13 +01:00
MichelRottleuthner
1606e16879
Merge pull request #10174 from Josar/pr/xtimer_hang/debug_pins
...
test/xtimer_hang: DEBUG_PINS
2018-11-01 10:20:06 +01:00
josar
162d17c5a2
test/xtimer_hang: DEBUG_PINS
...
Add the option to use debug pins to investigate timing issues.
2018-10-31 12:41:43 +01:00
Cenk Gündoğan
f30d0a68d8
Merge pull request #10305 from jia200x/pr/fix_my9221_test
...
tests/driver_my9221: fix for loop indexes
2018-10-31 11:59:14 +01:00
Jose Alamos
b543f2dc67
tests/driver_my9221: fix for loop indexes
2018-10-31 10:59:51 +01:00
Emmanuel Baccelli
365d82ed09
Merge pull request #9829 from OTAkeys/pr/uuid_string
...
uuid: add uuid_to_string() and uuid_from_string()
2018-10-30 14:30:47 +01:00
Martine Lenders
17738d7dd4
unittests/tests-rpl_srh: rename to tests-gnrc_rpl_srh
2018-10-30 12:41:45 +01:00
Martine Lenders
fb4689290d
unittests/tests-rpl_srh: add failure tests
2018-10-30 12:41:40 +01:00
Martine Lenders
c7b90aab81
unittests/tests-rpl_srh: factor-out pointer initialization
2018-10-30 12:26:15 +01:00
Martine Lenders
54a8caf0cd
unittests/tests-rpl_srh: reorder stack vars where appropriately
...
Also make constants static const ;-).
2018-10-30 12:16:38 +01:00
Martine Lenders
e56c6188ae
unittests/tests-rpl_srh: move buffers out of function context
...
Things like this already lead to problems in other unittests, so move
them out of the stack.
2018-10-30 12:14:47 +01:00
Joakim Nohlgård
21efb20184
Merge pull request #9725 from miri64/tests/enh/pkg_cmsis-dsp-testscript
...
tests/pkg_cmsis-dsp: provide testscript
2018-10-27 02:39:32 +02:00
Martine Lenders
d6ea335bfc
unittests: add tests for gnrc_pktbuf_reverse_snips()
2018-10-25 23:11:33 +02:00
Martine Lenders
959e4491fa
Merge pull request #9702 from maribu/phydat_fit
...
sys/phydat: New phydat_fit API
2018-10-25 19:16:54 +02:00
Martine Lenders
466bc341a6
Merge pull request #10231 from miri64/gnrc_ipv6_ext/enh/move-rh-to-gnrc
...
gnrc_ipv6_ext: move ipv6_ext_rh (partly) to GNRC
2018-10-25 19:15:22 +02:00
danpetry
99ae495226
Merge pull request #10011 from leandrolanzieri/pr/drivers/ds18
...
drivers/ds18: Add Maxim Integrated 1-Wire temperature sensor driver
2018-10-25 17:26:10 +02:00
Gaëtan Harter
c5deac4865
Merge pull request #10023 from miri64/gnrc_netif/fix/no-addr-but-addr-len
...
gnrc_netif: Fix l2addr_len > 0, but no l2addr edge-case
2018-10-25 14:31:32 +02:00
Martine Lenders
390ddfba7c
tests/unittests: adapt for value name changes
2018-10-25 14:02:46 +02:00