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

2886 Commits

Author SHA1 Message Date
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
Gaëtan Harter
d4775ccf96
riotboot: remove compatibility for HEXFILE as file to flash
It is now the case for `edbg`.
Openocd support still needs special handling.
2019-03-26 13:35:04 +01:00
Martine Lenders
a927a051db tests/unittests: exclude ENOMEM tests for gnrc_pktbuf_malloc 2019-03-26 12:08:10 +01:00
Martine Lenders
8749dc817a tests: use NDP_HOP_LIMIT instead of magic number 2019-03-26 12:00:52 +01:00
Gaëtan Harter
ec4d83727a
Makefile.include: add a 'test/available' target
This allows querying the build system if there are test available.

Before, one should rely on 'info-debug-variable-TESTS' to print the list
of test files. But was not reliable as sometime the build system printed
messages anyway.

    BOARD=esp32-wroom-32 make --silent --no-print-directory \
        -C examples/hello-world/ info-debug-variable-TESTS
    ESP32_SDK_DIR should be defined as /path/to/esp-idf directory
    ESP32_SDK_DIR is set by default to /opt/esp/esp-idf
    # empty line here

Now the return code can be trusted.
2019-03-25 16:17:26 +01:00
afa261194b
Merge pull request #11245 from gschorcht/tests/malloc/fix
tests/malloc: fix of dereferencing a NULL pointer
2019-03-25 08:40:24 +01:00
MrKevinWeiss
7bd633a8b2 tests/doc: Add intial how to test doc
This commit adds a README.md to the testing folder.
It explains the basic about how to run a test with testrunner.
It adds a reference so it will be displayed on the doxygen docs.
There currently is not obvious documentation for running tests.
2019-03-24 15:15:35 +01:00
Hauke Petersen
eae103cbd7 unittests/core: added tests for clist_count 2019-03-23 23:47:25 +01:00
Gunar Schorcht
136849661a tests/malloc: fix of dereferencing a NULL pointer
If the memory is exhausted during the allocation of the new `head` structure, subsequent accesses to `head` will result in dereferencing of a NULL pointer.
2019-03-23 14:01:28 +01:00
e5831cf321
tests/pkg_semtech-loramac: add note about duty-cycle disabling 2019-03-23 13:14:26 +01:00
Federico Pellegrin
5faafac092 sam0 flashpage RWWEE flash support 2019-03-21 04:27:41 +01:00
Gaëtan Harter
732bcc7335
tests/posix_semaphore: sem_timedwait should not return before abstime
Update the test as sem_timedwait is not supposed to return before the
given abstime.

Source: http://pubs.opengroup.org/onlinepubs/9699919799.2016edition/functions/sem_timedwait.html

    The timeout shall expire when the absolute time specified by abstime
    passes, as measured by the clock on which timeouts are based (that is,
    when the value of that clock equals or exceeds abstime), or if the
    absolute time specified by abstime has already been passed at the time
    of the call.
2019-03-20 15:18:25 +01:00
0916126941
tests/driver/lpsxxx: update with support for lps22hb 2019-03-20 14:43:37 +01:00
f3b7b6066a
tests/driver_lpsxx: use new unified driver 2019-03-20 14:43:36 +01:00
Martine Lenders
4ee4625f39
Merge pull request #10357 from jcarrano/posix_headers-module
sys/posix: make posix module provide only headers.
2019-03-20 14:07:12 +01:00
Juan Carrano
6b766c3cd3 sys/posix: make posix module provide only headers.
The build system contains several instances of
 INCLUDES += -I$(RIOTBASE)/sys/posix/include

This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.

That line is also added when one of the posix_* modules is requested.

According to the docs, the posix module provides headers only, but in
reality there is also inet.c.

This patch:

- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
  module.
- Rename `posix` as `posix_headers` to make it clear the module only
  includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
  explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
  on `posix_headers`.
2019-03-20 12:57:13 +01:00
Martine Lenders
fb5a298c1f
Merge pull request #11193 from haukepetersen/rm_pkbuf_getiovec
net/gnrc_pktbuf: rm deprecated _pktbuf_get_iovec()
2019-03-19 11:52:14 +01:00
fb2c7eaec4
Merge pull request #11181 from kaspar030/add_riotboot_flashwrite
riotboot: add riotboot_flashwrite module
2019-03-18 11:15:25 +01:00
Andreas "Paul" Pauli
fbac2d47bb
Merge pull request #10397 from Josar/pr/test/xtimer_hang/separate_debug_pin
test/xtimer hang: separate debug pins
2019-03-18 02:10:22 +01:00
josar
254d25fc5a test/xtimer_hang: separate debug pins
Previously one pin was used for both slacker threads.
For better debugging seperating the threads to use one pin each is better.
2019-03-17 09:21:30 +01:00
641a32bfeb tests/riotboot_flashwrite: initial commit 2019-03-15 12:32:50 +01:00
Hauke Petersen
9fb2f541ba net/gnrc_pktbuf: rm deprecated _pktbuf_get_iovec() 2019-03-15 10:21:22 +01:00
Marian Buschsieweke
0e90e6195f
tests: Updated Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 15:39:54 +01:00
297efdd5b2
Merge pull request #10892 from kb2ma/gcoap/use_opt_finish
net/gcoap: Replace use of gcoap_finish() with coap_opt_finish()
2019-03-12 22:16:32 +01:00
Gilles DOFFE
37cfd17de6 tests: add motor_driver test
Test motor_driver API by making 2 motors turn clockwise and
counter-clockwise alternatively.
Speed varies from 0 to max PWM duty cycle.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
d562af40e6
Merge pull request #11144 from jia200x/pr/netdev_lora_rx_info
netdev/lora: add netdev_lora_rx_info structure for RX info
2019-03-08 18:36:02 +01:00
d3de1d7aec
tests/driver_sx127x: use netdev_lora_rx_info structure for RX info 2019-03-08 18:20:34 +01:00
36affe13c2
tests/driver_sx127x: handle RX started netdev event 2019-03-08 08:46:52 +01:00
Marian Buschsieweke
63069f9b88
Merge pull request #11058 from smlng/pr/9707/squash
tests : add periph_gpio_arduino for verifying arduino pin mappings
2019-03-06 16:22:52 +01:00