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

2916 Commits

Author SHA1 Message Date
Martine Lenders
c1be18a002 tests/gnrc_udp: include gnrc_pktbuf_cmd per default
`tests/gnrc_udp` was specifically introduced for testing the release
specs. All of them ask the tester to check the packet buffer after the
test. So it makes sense to include the module that allows for that per
default for this test so the tester does not forget to include it ;-).
2019-04-24 16:45:25 +02:00
Martine Lenders
cfde3f1596
Merge pull request #11387 from danpetry/tests/periph_rtt_testfix
tests/periph_rtt: Correct the test script syntax
2019-04-23 12:30:15 +02:00
José Alamos
d16d911f42
Merge pull request #10120 from mtausig/ocb
Add OCB encryption mode
2019-04-23 11:08:30 +02:00
Mathias Tausig
dcab239b9b crypto: Implement Unit Tests for OCB mode 2019-04-23 10:36:31 +02:00
c93bb62040
Merge pull request #11427 from aabadie/pr/pkg/c25519_make_cleanup
pkg/c25519: cleanup in Makefiles
2019-04-23 09:55:56 +02:00
ddc909f8d9
tests/pkg_semtech-loramac: fix build commands in README 2019-04-22 21:12:25 +02:00
33bc8b67cc
tests/pkg_c25519: remove useless test target 2019-04-22 21:08:47 +02:00
Juan I Carrano
7169695cb5
Merge pull request #11379 from kaspar030/tests/pthread_cooperation_disable_hifive1
tests/pthread_cooperation: add hifive1 to BLACKLIST
2019-04-15 13:52:42 +02:00
Gilles DOFFE
3a83648f2a drivers: add licence to motor_driver source files
Related to PR #10290, add missing licence to some source files.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-04-13 00:29:58 +02:00
danpetry
b3ed7ade10 tests/periph_rtt: Correct the test script syntax
Previously the test was failing due to apparently incorrect Python syntax in
the testrunner script. This fix corrects this and the test now passes.
2019-04-12 14:39:14 +02:00
afc983724b tests/pthread_cooperation: add hifive1 to BLACKLIST
The hifive1 has only 16kB of memory. The tests tries to allocate 12
thread stacks with 1kB (default) stacksize each. The corresponding
malloc() fails for the last two threads, making the test fail silently.
2019-04-11 15:42:42 +02:00
Martine Lenders
364499f212
Merge pull request #11356 from jcarrano/fix_udp_atoi-master
tests/gnrc_udp: Replace atoi() by strtol().
2019-04-11 12:48:21 +02:00
Juan Carrano
c0af4237d8 tests/gnrc_udp: fix printf format string (%d->%u).
This was causing the CI build to fail in the static-check stage
(cppcheck).
2019-04-11 11:26:02 +02:00
Martine Lenders
f11d462b82
Merge pull request #11371 from danpetry/tests/gnrc_sock_dns_timeout
tests/gnrc_sock_dns: Give time to allow node to set its ll address
2019-04-10 17:43:10 +02:00
Martine Lenders
e0de94cb5f
Merge pull request #11309 from miri64/tests/enh/lwip_sock-l2util
tests: remove NETOPT_IPV6_IID dependency from lwip_sock tests
2019-04-10 17:07:16 +02:00
danpetry
b320dd7909 Give time to allow node to set its ll address
Set a delay of three seconds at the beginning of the test. Otherwise,
the node will send a neighbour solicitation with a blank link local
address, it won't receive a reply, and the test will fail.
2019-04-10 16:43:27 +02:00
Juan Carrano
54cbdaaa53 tests/gnrc_udp: Replace atoi() by strtol().
This patch is a reduced version of an earlier one, with the bare minimum
required to be able to run the test and get the release going.

Original description:

atoi() cannot detect errors. Many implementation return zero on error
and that is what was being checked here, making the "udp send" command
unable to parse integer values of zero. On top of this, the behavior on
errors does not seem to be specified in the standard (so it is not even
correct to check for zero even when zero is not an accepted value, like
for a port number).

The result of all this is that sending UDP packets of zero length (as
required by the Release Specs) was not possible.

This patch replaces atoi by strlen, which allows for robust error detection.
Sending zero length packets is possible.
2019-04-10 15:33:46 +02:00
Juan I Carrano
9832299e62
Merge pull request #11319 from miri64/pkg/new/ubasic
pkg: Initial introduction of ubasic package
2019-04-08 17:38:03 +02:00
Martine Lenders
9f960fd61c tests: provide tests for ubasic package 2019-04-08 17:09:28 +02:00
Sebastian Meiling
4dd09eaa06
Merge pull request #6178 from OTAkeys/pr/can_stm32
can stm32: add a driver for STM32 bxCAN peripheral
2019-04-08 08:50:08 +02:00
25b0d4d67b
tests/pkg_c25519: increase timeout on non-native 2019-04-05 16:33:53 +02:00
f6f988cfbf
Merge pull request #9389 from bergzand/pr/pkg/c25519/initial
c25519: Initial support for the c25519 package
2019-04-04 14:23:09 +02:00
2ed516fa39
c25519: add test application 2019-04-04 14:05:57 +02:00
Hyungsin
d9c17c2154 boards: add initial hamilton board support 2019-04-03 15:00:35 -07:00
88171698e0
Merge pull request #10931 from kb2ma/nanocoap/pktapi_opt_enospc
net/nanocoap: Packet API return error if buffer full
2019-04-03 14:49:44 +02:00
Vincent Dupont
74ddf56171 tests/conn_can: build stm32 CAN drivers
Build can_stm32 module on boards which have a stm32 CAN controller.
2019-04-03 11:12:46 +02:00
Martine Lenders
397adf79ca tests: remove NETOPT_IPV6_IID dependency from lwip_sock_ip 2019-03-29 13:21:58 +01:00
Martine Lenders
31f72e29be tests: remove NETOPT_IPV6_IID dependency from lwip_sock_udp 2019-03-29 13:21:58 +01:00
14f47bf220
Merge pull request #10695 from aabadie/pr/drivers/lpsxxx
drivers/lpsxxx: refactor lps331ap and add support for lps25hb + lps22hb
2019-03-29 10:54:08 +01:00
Sebastian Meiling
4242a026e9
Merge pull request #11197 from miri64/tests/fix/pktbuf-unittests-malloc
tests/unittests: exclude ENOMEM tests for gnrc_pktbuf_malloc
2019-03-29 10:03:11 +01:00
Martine Lenders
3b95ac0eb1 tests: add tests to reproduce #10881 2019-03-28 18:40:56 +01:00
Kevin "Bear Puncher" Weiss
831955c742
Merge pull request #11269 from cladmi/pr/makefiles/tests/refactoring/test/available
Makefile.include: add a 'test/available' target
2019-03-28 12:08:02 +01:00
Gaëtan Harter
29ada72a9e
Merge pull request #11254 from cladmi/pr/make/openocd/flashfile
makefiles/openocd.inc.mk: use FLASHFILE
2019-03-28 11:56:59 +01:00
Dylan Laduranty
ccf12c57a8
Merge pull request #10884 from fedepell/sam_rwee_support
sam0 flashpage RWWEE flash support
2019-03-28 11:00:25 +01:00
Martine Lenders
e5c5beaf40
Merge pull request #10898 from miri64/tests/enh/gnrc_sock_dns
tests/gnrc_sock_dns: port to scapy
2019-03-27 12:11:21 +01:00
José Alamos
61d7b205b8
Merge pull request #11241 from aabadie/pr/pkg/loramac_duty_cycle
pkg/semtech-loramac: provide a way to disable dutycycle
2019-03-27 11:47:48 +01:00
Hauke Petersen
f2df22ed99
Merge pull request #10589 from miri64/l2util/feat/initial
l2util: initial import of a general IPv6 over X helper module
2019-03-27 11:46:12 +01:00
Martine Lenders
3bfadedcdf tests/gnrc_sock_dns: add failure tests 2019-03-27 11:35:45 +01:00
Martine Lenders
c1ea34eed0 tests/gnrc_sock_dns: port to scapy with sockets 2019-03-27 11:35:45 +01:00
Martine Lenders
5cfb31d86c tests/gnrc_sock_dns: port to shell based test
Also remove binding of the DNS server to 2001:db8::1. It causes
`dnsmasq` to send router advertisements from that address, which is
not a [valid source for RAs][RFC 4861], so a default route is never
configured on the RIOT to reach the DNS server.

[RFC 4861]: https://tools.ietf.org/html/rfc4861#section-6.1.2
2019-03-27 11:35:45 +01:00
Martine Lenders
9b70b5aa29 tests: provide tests for l2util module 2019-03-27 10:22:17 +01:00
Hauke Petersen
ce5a08cd2c unittests: added tests for bluetil_addr 2019-03-26 21:05:11 +01:00
Martine Lenders
2c012a2c05
Merge pull request #11235 from haukepetersen/add_tests_nimblel2cap
tests: add nimble_l2cap test and benchmark applications
2019-03-26 21:01:16 +01:00
Martine Lenders
60a8bd0949
Merge pull request #11251 from haukepetersen/add_core_clistcount
core/clist: add clist_count()
2019-03-26 20:55:15 +01:00
Hauke Petersen
07a12108da tests: add nimble_l2cap test application(s) 2019-03-26 20:23:01 +01:00
Martine Lenders
83b9f72f83
Merge pull request #11011 from miri64/ndp/enh/add-hop-limit-define
ndp: provide define for common hop-limit
2019-03-26 20:18:07 +01:00
Martine Lenders
713fd19040
Merge pull request #9454 from miri64/tests/enh/lwip-recv-port0
tests: provide tests for reception on sock with port 0
2019-03-26 20:05:30 +01:00
Gaëtan Harter
ff13208751
riotboot: remove compatibility for ELFFILE as file to flash
Openocd boards are now updated.
2019-03-26 19:26:42 +01:00
Dylan Laduranty
a7785683c2
Merge pull request #11172 from cladmi/pr/make/flashfile/edbg
makefiles/edbg.inc.mk: use FLASHFILE
2019-03-26 15:12:58 +01:00
Kevin "Bear Puncher" Weiss
268d3e926c
Merge pull request #10826 from ranbe1/at_driver_uart_initialize_status
drivers/at: make at_dev_init() return uart initialize status
2019-03-26 14:07:05 +01:00