1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 17:12:45 +01:00
Commit Graph

4256 Commits

Author SHA1 Message Date
Martine Lenders
b251f96022 tests/pkg_minmea: remove blacklisting of ATmega-based boards
The reason for the blacklisting was fixed in the current version of
minmea.
2019-05-24 19:03:27 +02:00
Martine Lenders
5522f3d7a5 tests/pkg_minmea: port to fmt
With `newlib-nano` and other smaller `libc`s the output of floats does
not work with `printf()`. Since minmea uses floating point operations
I used `fmt` instead.
2019-05-24 18:58:47 +02:00
Marian Buschsieweke
855b5bd54d
tests: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed
2019-05-24 17:57:44 +02:00
Marian Buschsieweke
5522e9efb5
tests: Updated BOARD_BLACKLIST
Added arduino-leonardo to BOARD_BLACKLIST where needed
2019-05-24 17:56:42 +02:00
Marian Buschsieweke
112b88f7ee
tests/periph_timer: Set freq for Arudino Leonardo
The Arduino Leonardo requires - like the other ATmega based Arduinos - a
different frequency than the default 1000000, as this frequency cannot be
achieved on a 16MHz ATmega with any available prescaler.
2019-05-24 15:12:47 +02:00
Martine Lenders
10d0dfaf33
Merge pull request #11378 from kaspar030/tests/pthread_tls_allow_negative_key
tests/pthread_tls: allow negative key values
2019-05-23 16:14:58 +02:00
69a38f8b7b
tests/driver_ds75lx: add test application 2019-05-22 16:54:19 +02:00
07a7ae9c3a
test: not enough memory for i-nucleo-lrwan1 2019-05-21 09:57:33 +02:00
ea2988c057
tests: add lsn50 to insufficient memory boards 2019-05-17 22:43:04 +02:00
Hauke Petersen
e172c80bad tests/nimble_l2cap: adapt to config var name change 2019-05-17 10:34:26 +02:00
Hauke Petersen
5bd53db88f tests/l2cap: use newly introduced TX_UNSTALLED evt 2019-05-17 10:34:26 +02:00
Leandro Lanzieri
d57f8ff793
Merge pull request #11536 from ParksProjets/pr_ds18
drivers/ds18: fix `ds18_read` for negative temperatures
2019-05-17 10:27:51 +02:00
Guillaume Gonnet
c9fa1d7503 tests/drivers_ds18: display negative numbers
When `ds18_read` returns -2506, DS18 test print `Temperature [ºC]: -25.-6`
whereas it should print `Temperature [ºC]: -25.06. This commit fixes this
issue.
2019-05-16 20:22:02 +02:00
Leandro Lanzieri
f5f76c7375 tests/driver_at: Fix README typo 2019-05-16 14:45:53 +02:00
Leandro Lanzieri
b5171f4d48 tests/driver_at: Add receive until string test 2019-05-16 14:45:53 +02:00
Hauke Petersen
8637d308bd tests: add test for evens_wait_timeout() 2019-05-16 12:01:42 +02:00
Gaëtan Harter
dde4fe0dc1
Merge pull request #11493 from fjmolinas/pr_xtimer_usleep_negative
tests/xtimer_usleep: fail with negative offsets
2019-05-14 12:45:15 +02:00
francisco
a687a26f42 tests/xtimer_usleep: fail with negative offset
- xtimer_usleep(timeout) should sleep for at least timeout us.
  Negative offset, i.e. sleeping less than the specified time
  is incorrect.
2019-05-14 08:57:29 +02:00
Juan I Carrano
cbc08edcd1
Merge pull request #11358 from fjmolinas/riot-cortexm-address-check
cpu/cortexm_common: function to check address validity
2019-05-13 11:50:48 +02:00
Oleg Artamonov
a5ce6deb02 cpu/cortexm_common: function to check address validity 2019-05-13 09:35:34 +02:00
Martine Lenders
98f97afc97
Merge pull request #11467 from kaspar030/increase_posix_semaphore_timeout
tests/posix_semaphore: unify and increase allowed test4 margin
2019-05-06 15:47:45 +02:00
a9cd9433f0 tests/posix_semaphore: unify and increase allowed test4 margin
Previously, there was a very tight allowed margin (100us), then some
special cases for platforms for which the test would otherwise fail,
increasing the margin.
This turned out to be a maintanance burden, as each slightly special
board needed a PR adding the special case.

This commit sets a quite large margin (1000us, 0.1% of total delay),
which should be large enough to not trip over platform-induced timer
inaccuracies, but still verify that the module is using timers
correctly.

(This is not a timer accuracy test.)
2019-05-06 14:51:44 +02:00
Dylan Laduranty
c49e72ac66
Merge pull request #11307 from fedepell/rwwee_autotests
tests/periph_flashpage: add RWWEE automatic test if hw supports it
2019-05-04 23:46:17 +02:00
Gaëtan Harter
ad599f724d
tests/pkg_cc25519: increase timeout for arduino-mega2560
`arduino-mega2560` finishes the test in 170 seconds so set a bigger timeout.
2019-04-30 21:59:54 +02:00
Francisco
c073e56b25
Merge pull request #11448 from cladmi/pr/tests/periph_hwrng
tests/periph_hwrng: add automated python test
2019-04-30 08:43:00 -07:00
Gaëtan Harter
564402e88f
tests/periph_hwrng: enable test in murdock 2019-04-30 15:50:09 +02:00
Francisco
cd0ab4a193
Merge pull request #11469 from aabadie/tests/periph_timer_kw41z
tests/periph_timer: include kw41z boards in low-power timer boards
2019-04-30 06:23:29 -07:00
96fd49520b
tests/periph_timer: include kw41z boards in low-power timers 2019-04-30 14:58:40 +02:00
Frank Hessel
19275d5788
tests/driver_sdcard_spi: Use uint8_t for byte buffers 2019-04-29 19:25:39 +02:00
Gaëtan Harter
9a15b32c57 tests/periph_hwrng: add automated python test
Add the automated test for 'periph_hwrng'. It only checks that numbers
are returned, not their value.
2019-04-25 15:21:26 +02:00
Martine Lenders
1fdccd5a2e
Merge pull request #11429 from jia200x/pr/fix_at86rf2xx_test
drivers/at86rf2xx: enable NETOPT_RX_END_IRQ and fix RSSI values
2019-04-24 20:26:23 +02:00
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
Jose Alamos
576bbaa248 drivers/at86rf2xx: print signed RSSI instead of unsigned 2019-04-23 11:15:26 +02:00
Jose Alamos
53a54dcea1 tests/at86rf2xx: enable NETOPT_RX_END_IRQ 2019-04-23 11:14:05 +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
33783d9fa2 tests/pthread_tls: allow negative key values
On Hifive1, the created keys have a negative value. This commit
adjusts the pexpect script to allow for that.
2019-04-11 15:34:00 +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
Luka Paulic
e16b42aeb6 test: reverted to last commit 2019-04-04 22:05:00 +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
Luka Paulic
8f658aee8a drivers: modify DS18 driver so it is supported on all platforms 2019-04-04 12:01:02 +02:00
Luka Paulic
480bc74edd tests: add tested boards to the board whitelist 2019-04-04 07:38:35 +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
Federico Pellegrin
672dbd707e tests/periph_flashpage: add RWWEE automatic test if hw supports it 2019-03-29 07:19:26 +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
Ken Bannister
7d259cc268 net/gcoap: verify error when overfill on coap_opt_finish 2019-03-19 05:30:04 -04:00
Ken Bannister
58faa35156 tests/nanocoap: verify error when overfill buffer 2019-03-19 05:30:04 -04: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
MichelRottleuthner
3427dcd168
Merge pull request #10961 from MrKevinWeiss/pr/addshellcommands
sys/app_metadata: Add a shell command to print application metadata
2019-03-06 13:36:14 +01:00
smlng
4dca51dc84 tests/periph_gpio_arduino: disable low-mem boards 2019-03-06 13:28:26 +01:00
Tom Keddie
e460065b65 tests : add periph_gpio_arduino for verifying arduino pin mappings 2019-03-06 13:26:02 +01:00
MrKevinWeiss
c36cf5743f tests/shell: Add app_metadata to shell tests
Adds app_metadata to the shell test
This both serves as a simple test to see if the module is available
and doesn't crash as well as an example
2019-03-06 13:07:57 +01:00
Gaëtan Harter
13e852c58c
tests/riotboot: use FLASHFILE for the generated file
FLASHFILE is now a generated file when doing `make all`.
This prepares also for when flashers will use `FLASHFILE` as a file to
be flashed.

It currently still needs the hack below for openocd and edbg.

This also fixes the issue when building 'riotboot' in docker that was
being built with the host toolchain.
2019-03-05 11:22:11 +01:00
Gaëtan Harter
60f71a1c15
tests/riotboot: use 'RIOTBOOT_COMBINED_BIN' variable
Use the new variable instead of the composed name.
2019-03-05 11:22:11 +01:00
Rotzbua
d606c11d11 tests/leds: initialize led0 by default
fix unexpected behavior:
reference #9949
reference #10294

fix redefinition for AUTO_INIT_LED0
2019-02-27 13:09:29 +01:00
Martine Lenders
a2c14b33ff
Merge pull request #11053 from cladmi/pr/tests/bloom_bytes/float_handling
tests/bloom_bytes: replace %f with fmt/print_float
2019-02-26 21:27:02 +01:00
Martine Lenders
dd1f45d05e tests: adapt tests for gnrc_netif checks 2019-02-26 16:46:29 +01:00
Martine Lenders
727a843ce4
Merge pull request #10905 from maribu/packet_size_l2_pdu
net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
2019-02-22 15:23:00 +01:00
Gaëtan Harter
642f5e4809
tests/bloom_bytes: explicitely expect a float
The last line should be a float lower than 1 so 0.XXX.
So expect it to match this.

This should prevent issues when float printing does not work.
2019-02-21 16:19:47 +01:00
Gaëtan Harter
124e1dd3fa
tests/bloom_bytes: replace %f with fmt/print_float
Even if using `%f` the `printf_float` module was not used.

When running the test on `samr21-xpro` and `arduino-mega2560` the float
is not printed correctly.

 * samr21-xpro ` false positive rate.`
 * arduino-mega2560 `? false positive rate.`

As the arduino-mega2560 does not handle printf_float use
`fmt/print_float`.

The output should be flushed before using fmt/print functions if
available as they do not use `printf` buffer.
2019-02-21 16:19:38 +01:00
Gaëtan Harter
f5c79ba821
tests/bloom_bytes: define regexp as raw strings
Python strings for regular expression should be declared as `raw` so `\`
is not re-interpreted.

This fixes `flake8` warning.
2019-02-21 16:19:27 +01:00
a4c4cd9605 tests/pkg_relic: add hifive1 to blacklist 2019-02-21 14:24:55 +01:00
Sebastian Meiling
92b3558b4b
Merge pull request #11047 from kaspar030/fix_tests_periph_timer_for_hifive1
tests/periph_timer: add hifive1 exception
2019-02-21 14:39:57 +02:00
332b06a319 tests/periph_timer: add hifive1 exception 2019-02-21 11:40:30 +01:00
c16bd3871c tests/lwip_sock_ip: fix memcpy lenghts
sizeof(ip6_addr_t) > 16 depending on compilation flags, possibly reading
more data than available.

Fix by using the actual address' sizeof for memcpy.
2019-02-21 11:30:25 +01:00
Peter Kietzmann
654fd4fba5
Merge pull request #10999 from cladmi/pr/tests/rng/print_float
tests/rng: replace printf_float with fmt/print_float
2019-02-21 11:11:46 +01:00
Gaëtan Harter
27b42d34d3
tests/rng: replace printf_float with fmt/print_float
When running the test on `arduino-mega2560` printing the float failed
and was printed as ` ?`.

    Calculated  ? bits of entropy from 10000 samples.

Replace using `printf` floating point printing by using `fmt/print_float`.
Now the test succeeds on `arduino-mega2560`.

As `print_float` does not buffer and is used with `printf` the output
should be flushed before calling it if `fflush` is available.
2019-02-21 10:42:04 +01:00
Gaëtan Harter
44d2b62a70
tests/rng: fix cppcheck error shiftTooManyBitsSigned
cpp check is reporting the following error

    error (shiftTooManyBitsSigned):
    Shifting signed 32-bit value by 31 bits is undefined behaviour

Fix by ensuring the `1` is an `uint32_t` before shifting.
2019-02-21 10:41:33 +01:00
Marian Buschsieweke
9216607163
tests/gnrc_ipv6_nib_6ln: Refactored code
Improved readability of if statements. This issue was pointed out by cppcheck.
2019-02-19 13:00:05 +01:00
Leandro Lanzieri
5d481c2a68
Merge pull request #9838 from gebart/pr/ds3234-pps
ds323x: Minimal driver for DS323x extremely accurate RTC
2019-02-19 12:52:24 +01:00
Joakim Nohlgård
a6f430b4b5 drivers/ds3234: Minimal driver for DS3234 extremely accurate RTC
This driver currently only supports the SPI connected DS3234, and only
for initializing 1 Hz square wave output on the SQW pin, nothing else.
2019-02-19 11:57:40 +01:00
Peter Kietzmann
dd664a88fd
Merge pull request #10963 from brummer-simon/gnrc_tcp-fix_test_setup
gnrc_tcp: change and verify addrs in use
2019-02-19 09:32:53 +01:00
Marian Buschsieweke
1b5f615554
tests/driver_at86rf2xx: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:20 +01:00
Marian Buschsieweke
0c03c63c0e
tests/lwip_sock_ip: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:18 +01:00
Marian Buschsieweke
829a8b1792
tests/lwip_sock_udp: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:16 +01:00
Marian Buschsieweke
5189ac4d19
tests/gnrc_sixlowpan: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:13 +01:00
Marian Buschsieweke
4c0469f9d3
tests/gnrc_ipv6_nib_6ln: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:11 +01:00
Marian Buschsieweke
db83b363db
tests/gnrc_ndp: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:09 +01:00
Marian Buschsieweke
80c202f3e5
tests/gnrc_ipv6_nib: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:07 +01:00
Marian Buschsieweke
6efd1f840a
tests/gnrf_netif: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:04 +01:00
ac775b8ae5
Merge pull request #9181 from haukepetersen/opt_event_independencefromthread
sys/event: make event queue independent from thread
2019-02-16 13:50:14 +01:00
Simon Brummer
63ea8080f6 gnrc_tcp: fix test setup 2019-02-16 08:23:20 +01:00
Leandro Lanzieri
aefdc6550c tests: Add test for AD7746 driver 2019-02-15 13:37:45 +01:00
Juan I Carrano
643de0a857
Merge pull request #11005 from cladmi/pr/test/periph_eeprom/use_eeprom_clear_byte
tests/periph_eeprom: use EEPROM_CLEAR_BYTE
2019-02-12 18:00:53 +01:00
Gaëtan Harter
8e4b11cdd0
Merge pull request #10369 from miri64/gnrc_ipv6_nib/fix/arsm-16-bit
gnrc_ipv6_nib/arsm: ensure proper int width in backoff calculation
2019-02-12 17:54:52 +01:00
Martine Lenders
f5086e76df tests/unittests: add tests for exponential NS backoff 2019-02-12 17:01:14 +01:00
Gaëtan Harter
c894b67733
tests/periph_eeprom: take EEPROM_CLEAR_BYTE into account
After being cleared, the memory can be `0xFF` for `atmega` platforms for
example.

Fix the test to take EEPROM_CLEAR_BYTE into account.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
3058c8c645
tests/periph_eeprom: use memcmp for cleared bytes
`strcmp` was used to check that the 4 bytes were empty but was not
testing what it should as an empty string is `0` bytes long.

The whole must be verified.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
7455e0b6fe
tests/periph_eeprom: use memcmp
Use `memcmp` where it is obvious it is not doing a string comparison.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
6d8fd279ac
tests/periph_eeprom: remove useless casts
Casting to `const char *` is not necessary as input, the type are
already the right ones.

It could not be before as `result` was with the wrong type.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
c029fcde11
tests/periph_eeprom: fix 'results' type
Results type should only be an array of char, not an array of pointers.
2019-02-12 16:37:42 +01:00
Martine Lenders
875377d622 tests/unittests: suppress cppcheck redundantAssignment warning
To make the CI happy ;-).
2019-02-08 23:35:37 +01:00
Martine Lenders
2451fb36f8 tests: add unittest for state corruption in NC cache-out 2019-02-08 19:22:51 +01:00
Kees Bakker
50ec5130d6 drivers: add support for SHT2x (I2C temp and humidity sensor)
Several parts were inspired by a driver written by:
  George Psimenos (gp7g14@soton.ac.uk)
  Steffen Robertz (steffen.robertz@rwth-aachen.de)
2019-02-05 22:17:30 +01:00
PeterKietzmann
b2857529ef tests/gnrc_tcp_server: don't set PORT=tap0 as default 2019-02-05 15:01:12 +01:00
PeterKietzmann
e03bbb4f2e tests/gnrc_tcp_client: don't set PORT=tap1 as default 2019-02-05 15:01:05 +01:00
Kevin "Bear Puncher" Weiss
7dc243e3cc
Merge pull request #10220 from bergzand/pr/crypto/chacha20poly1305
chacha20poly1305: Initial implementation of AEAD cipher.
2019-02-04 12:52:24 +01:00
f4a4f5d0b1
chacha20poly1305: Provide a test based on the rfc
Add a test case to the crypto tests testing the chacha20poly1305
algorithm with the test vectors from rfc 8439.
2019-02-04 09:29:26 +01:00
Martine Lenders
73d72c0c52
Merge pull request #10893 from aabadie/pr/tests/periph_rtt
tests/periph_rtt: add Python script for automatic testing + use 5s delay between Hellos
2019-02-01 10:20:46 +01:00
Kevin "Bear Puncher" Weiss
1d693403b6
Merge pull request #10743 from yegorich/uart-enhanced-settings
RFC: UART enhanced settings
2019-01-31 17:11:28 +01:00
Sebastian Meiling
805efb69c5
Merge pull request #10458 from MichelRottleuthner/pr_driver_sds011
add driver for SDS011 active laser dust sensor
2019-01-31 15:54:09 +02:00
Yegor Yefremov
2673b662af tests/periph_uart: add tests for uart_mode
Add positive and negative tests for data bits, stop bits and parity:

- 7E1, 7O1
- 8E1, 8O1
- 8N2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-01-31 14:15:20 +01:00
Yegor Yefremov
738cbf685b tests/periph_uart: add support for changing serial
Add command mode that will be used like this:

mode <dev> <data bits> <parity> <stop bits>

This command must be called after init otherwise
the UART won't be fully initialized.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-01-31 14:15:20 +01:00
6a570f3a82
tests/periph_rtt: add automatic testing script 2019-01-31 10:47:05 +01:00
aee4771a42
tests/periph_rtt: use a 5s delay between each hello 2019-01-31 10:46:56 +01:00
f6e616d48f
tests/pkg_semtech-loramac: fix send return value management 2019-01-30 18:58:43 +01:00
Michel Rottleuthner
17a1358ccb tests: add test application for sds011 driver 2019-01-30 13:15:17 +01:00
782b181b63
Merge pull request #10887 from aabadie/pr/make/distclean_cleanup
tests: remove leftover test targets in test application makefiles
2019-01-28 16:25:02 +01:00
Marian Buschsieweke
075ad47bb3
tests/driver_ltc4150: BOARD_INSUFFICIENT_MEMORY 2019-01-28 13:53:47 +01:00
Marian Buschsieweke
2ba57ac00c
tests/driver_ltc4150: Workarround for msp430
The msp430 toolchain is missing an `fputs()` implementation. This commit makes
them use the `printf("%s", str);` instead of `fputs(str, stdout);`, which is
semantically equivalent (but has more overhead).
2019-01-28 13:53:38 +01:00
Marian Buschsieweke
618e2e58d5
tests: Added test for ltc4150 driver 2019-01-28 13:50:42 +01:00
Marian Buschsieweke
5acd87bf6f
tests/saul: Updated BOARD_INSUFFICIENT_MEMORY 2019-01-28 13:33:27 +01:00
9bf82ecd16
tests/pkg_cmsis-dsp: remove useless test target 2019-01-28 10:26:36 +01:00
3ef9707e40
tests/cond_order: remove useless test target 2019-01-28 10:26:20 +01:00
MrKevinWeiss
957cc83cc6 doc: Update copywrites it include HAW 2019-01-28 09:08:50 +01:00
eb79ba0400
tests/pkg_lora-serialization: remove useless test target 2019-01-27 19:39:26 +01:00
Ken Bannister
e96209fddb net/gcoap: use coap_opt_finish in unit tests 2019-01-27 09:14:46 -05:00
b8565e492d
Merge pull request #10851 from miri64/tests/feat/gnrc_sixlowpan_frag-tests
tests: provide unittests for gnrc_sixlowpan_frag/rbuf
2019-01-25 17:55:28 +01:00
Martine Lenders
6ff06d3f41 tests: provide unittests for gnrc_sixlowpan_frag/rbuf
The reason I put these unittests into their own application is that I
intentionally wanted to test this module very isolated.
2019-01-25 16:57:09 +01:00
Kevin "Bear Puncher" Weiss
06b5a58e62
Merge pull request #10802 from leandrolanzieri/pr/boards/sensebox_samd21-mtd
boards/sensebox_samd21: Add MTD definition
2019-01-24 12:20:16 +01:00
Sebastian Meiling
907b761750
Merge pull request #10792 from gschorcht/esp8266_esp_wifi_netdev
esp8266: esp_wifi netdev driver
2019-01-24 12:09:46 +01:00
Gunar Schorcht
e6cf33eb4c tests/lwip*: blacklist esp8266 boards 2019-01-24 10:29:19 +01:00
Sebastian Meiling
44234783da
Merge pull request #10823 from kb2ma/nanocoap/verify_before_write_option
net/nanocoap: validate option length
2019-01-24 09:23:26 +01:00
Ran Berant
59416fc6ce drivers/at: make at_dev_init() return uart initialize status
in case there's an error uart_init() returns an error value,
this value indicates the reason for the error thus we should
return it from at_dev_init() so the user will be able to identify
whether the init succeded or failed.
2019-01-23 19:02:14 +02:00
Martine Lenders
d3f8739a1e
Merge pull request #5949 from zhuoshuguo/add_timeout_module_to_gnrc_mac
gnrc_mac: add timeout module.
2019-01-22 10:34:30 +01:00
7e3c382547
Merge pull request #10653 from dylad/pr/saml1x_support
cpu/saml1x: add support for SAML10 and SAML11 MCUs (Cortex-M23)
2019-01-22 08:53:06 +01:00
94d6bafc28
Merge pull request #10831 from cladmi/pr/tests/adapt_tests_auto_lookup
tests/posix_semaphore: private sub functions for tests libs
2019-01-21 18:02:37 +01:00
Dylan Laduranty
7afacf97e7 tests/*: add saml1*-xpro to BOARD_INSUFFICIENT_MEMORY 2019-01-21 17:11:32 +01:00
Dylan Laduranty
762e5251b4 tests/unittests: disable optimization for test_atomic_inc_rollover
Disable optimization for this function only with CPU_SAML1X MCUs due to an internal crosscompiler bug
2019-01-21 17:10:19 +01:00
zhuoshuguo
79e5586d0c gnrc_mac: add timeout module.
Co-Authored-By: zhuoshuguo <zhuosgzju@gmail.com>
2019-01-21 22:46:10 +08:00
e990391948
tests/periph_dma: add automatic testing of DMA over UART 2019-01-21 15:06:16 +01:00
Gaëtan Harter
6e7fa9e9e0
tests/posix_semaphore: private sub functions for tests libs
While trying python test libraries, like pytest, the automatic test collection
detects the `testNUM` functions as tests but does not know the `term` argument
and fails.

This declares them as private to only find `testfunc(child)` entry point.

Another solution could have been to use `testNUM(child)` and rename
`testfunc` to `main` but would not match other tests.
2019-01-21 12:32:29 +01:00
Ken Bannister
715b79a1e7 tests/nanocoap: build request that fills buffer 2019-01-18 12:34:55 -05:00
Sebastian Meiling
f9a3bdf1a7
Merge pull request #10671 from kb2ma/nanocoap/retry_qty
net/nanocoap: fix confirmable retry countdown
2019-01-18 17:49:00 +01:00
Dylan Laduranty
a78f357b26
Merge pull request #10813 from aabadie/pr/tests/pkg_hacl_monocypher
tests/pkg_{hacl,monocypher}: set custom timeout value
2019-01-18 16:08:29 +01:00
a1546375da
tests/periph_rtc: add automatic python test script 2019-01-18 14:42:58 +01:00
ebb45459b0
Merge pull request #10777 from fedepell/test_flashpage_enh_1
tests/periph_flashpage: improve flashpage tests
2019-01-18 14:37:39 +01:00
Leandro Lanzieri
2625a86450 boards/sensebox_samd21: Add MTD definitions 2019-01-18 13:25:35 +01:00
Ken Bannister
2e2847372c tests/nanocoap: allow server to ignore requests 2019-01-18 05:47:43 -05:00
a1736b08ad
tests/pkg_{hacl,monocypher}: set custom timeout value
On samr30-xpro the tests takes respectively 20 and 14 seconds to complete
2019-01-18 11:29:46 +01:00
939774105f
tests/periph_rtc: fix alarm period in README
The default period value the application code is set to 2s
2019-01-18 09:17:30 +01:00
Gaëtan Harter
5260b62160
tests/build_system_utils: fix TESTS name collision
TESTS is used to find the tests files for the application but was used
to list test targets. Rename to COMPILE_TESTS as already done in some of
my other applications.
2019-01-16 18:24:13 +01:00
Sebastian Meiling
2fde8335c9
Merge pull request #10728 from keestux/memcpy-struct-copy
Do normal assignment instead of memcpy
2019-01-16 09:18:44 +01:00
Federico Pellegrin
4b7c37cca0 tests/periph_flashpage: improve flashpage tests
-) verify correctness of data written by raw write test
-) write to really last flash page and not last - 1
-) use flashpage_addr instead of manual calculation
2019-01-16 05:29:23 +01:00
Emmanuel Baccelli
209d90bc00
Merge pull request #10215 from kYc0o/pr/riotboot_multislot
riotboot: add multislot support
2019-01-15 19:04:28 +01:00
Francisco Acosta
8e5ac629e0 tests/riotboot: extend to accept slot 0 or 1
Modify the test to accept slot values 0 and 1.
2019-01-14 16:14:34 +01:00
Cenk Gündoğan
6a4c764c95
Merge pull request #10569 from miri64/gnrc_netif/enh/rm-get-NETOPT_IPV6_IID
gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
2019-01-14 14:09:34 +01:00
Martine Lenders
7ae90564d9 gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
This way the IID generation gets much simplified and code duplication
is avoided since it removes GNRC's requirement for NETOPT_IPV6_IID.
2019-01-14 13:42:58 +01:00
9767dd3d49
Merge pull request #10754 from kaspar030/fix_nanocoap_optlen
nanocoap: fix server-side option_count overflow
2019-01-14 13:26:37 +01:00
Ken Bannister
1058a8d07e tests/nanocoap: add test for option parse overflow 2019-01-14 12:30:06 +01:00
dd53bb89f7 tests/unittests/nanocoap: add test case for option_count overflow 2019-01-14 12:30:06 +01:00
José Alamos
5b350d6b2a
Merge pull request #10392 from miri64/tests/new/gnrc_rpl_srh
tests: introduce dedicated `gnrc_rpl_srh` test
2019-01-11 15:42:23 +01:00
Martine Lenders
3ff2edfe33 tests/gnrc_rpl_srh: output unittests as text 2019-01-11 15:18:53 +01:00
Martine Lenders
1d5184a948 tests: move gnrc_rpl_srh unittests to dedicated test application 2019-01-11 15:18:52 +01:00
Martine Lenders
df3d1be3e6 tests/gnrc_rpl_srh: introduce dedicated gnrc_rpl_srh test 2019-01-11 15:18:52 +01:00
José Alamos
bb095e45ce
Merge pull request #10382 from miri64/tests/enh/gnrc_ipv6_ext_scapy
tests/gnrc_ipv6_ext: port to scapy
2019-01-11 13:44:35 +01:00
Martine Lenders
70c970695a tests/gnrc_ipv6_ext: port to scapy 2019-01-11 13:27:21 +01:00
Kees Bakker
c12db036d0 tests/driver_sx127x: do normal assignment instead of memcpy 2019-01-10 19:50:25 +01:00
Marian Buschsieweke
f3b9398ed7
tests/gnrc_udp: Fixed typo in Makefile 2019-01-10 13:55:16 +01:00
Sebastian Meiling
7b405058b4
Merge pull request #10640 from kb2ma/tests/nanocoap_infrastructure
tests: add nanocoap CLI app for client and server testing
2019-01-10 09:16:42 +01:00
steffen
2ff2b2c1d7 drivers: Initial support for TPS6274x converter
drivers/tps6274x: initial support step-down converter
tests/driver_tps6274x: Added testcase for the step-down converter
boards/jiminy-mega256rfr2: Added TPS6274x config
2019-01-10 00:00:02 +01:00
Ken Bannister
ee09936cc5 tests: add CLI app for nanocoap testing
Includes both server and client components.
2019-01-08 08:25:04 -05:00
Sebastian Meiling
d06aa5f23f
Merge pull request #10597 from miri64/tests/cleanup/rm-NETOPT_IPV6_IID
tests: remove NETOPT_IPV6_IID get() from driver_at86rf2xx test
2019-01-08 09:59:43 +01:00
Kees Bakker
1d5a67dcce drivers/bh1750fvi: change prototype of bh1750fvi_init
The params argument is now a const pointer. This eliminates the need for
a type cast that converts a const to a non-const.
2019-01-07 21:37:02 +01:00
Martine Lenders
b2a261f0c3 tests: remove NETOPT_IPV6_IID get() from driver_at86rf2xx test 2019-01-07 17:09:23 +01:00
Sebastian Meiling
79b051907a
Merge pull request #10706 from keestux/eliminate-cast-at86rf2xx
tests/driver_at86rf2xx: eliminate cast
2019-01-07 14:32:16 +01:00
Sebastian Meiling
612469f8ad
Merge pull request #10398 from Josar/pr/xtimer_hang/priority_worker
tests/xtimer_drift: increase priority of worker
2019-01-07 10:40:01 +01:00
Kevin "Bear Puncher" Weiss
9554f751d8
Merge pull request #6630 from OTAkeys/pr/cortex-m4f-fpu
cortexm_common: add FPU support for cortex-m4f and cortex-m7
2019-01-04 11:56:18 +01:00
Kees Bakker
d909cf3a84 tests/driver_at86rf2xx: eliminate cast 2019-01-03 22:56:15 +01:00
5072acc8b8
Merge pull request #10698 from MrKevinWeiss/pr/fixsetbaudrate
tests/periph_uart: fix baudrate truncation
2019-01-03 18:43:36 +01:00
MrKevinWeiss
501b257223 tests/periph_uart: fix baudrate truncation
Since some boards an int is 16 bits the atoi truncates values.
This commit using a long instead of an int.
2019-01-03 16:38:33 +01:00
Vincent Dupont
402b60e30c tests: add thread_float test app 2019-01-03 16:06:30 +01:00
MrKevinWeiss
d2e67261ae tests/driver_ds1307: Blacklist iotlab boards
This states iotlab boards shouldn't run these tests.
This is because the i2c address of L3G4200 is the same ad the ds1307.
This causes an error that thinks the test is valid when it is not.
2019-01-03 14:38:56 +01:00
Kevin "Bear Puncher" Weiss
e4ed9d703d
Merge pull request #10118 from aabadie/pr/tests/sx127x_default_board
tests/sx127x: set b-l072z-lrwan1 as default board
2019-01-03 11:35:49 +01:00
José Alamos
f14d46d935
Merge pull request #10242 from miri64/gnrc_ipv6_ext_rh/enh/icmpv6_error_msg
gnrc_ipv6_ext_rh: add ICMPv6 error message sending
2019-01-03 10:35:54 +01:00
f90c69cf6e tests/bench_runtime_coreapis: improve pexpect autotest 2019-01-02 14:22:37 +01:00
4e7bfb65df tests/bench_runtime_coreapis: globally import testrunner 2019-01-02 14:22:28 +01:00
Martine Lenders
9f51e15889
Merge pull request #10606 from aabadie/pr/tests/posix_semaphore_timeout_margin
tests/posix_semaphore: increase timeout margin
2018-12-28 12:10:10 +01:00
Martine Lenders
e13bc4285b
Merge pull request #10191 from fedepell/at_recv_bytes_1
drivers/at: add function to read raw data bytes from modem
2018-12-28 12:09:35 +01:00
Sebastian Meiling
cf1a5e0cae
Merge pull request #10396 from Josar/pr/xtimer_hang/periodic_wakeup
test/xtimer_hang: use xtimer_periodic_wakeup
2018-12-21 21:18:17 +01:00
Sebastian Meiling
139b5dba3c
Merge pull request #10501 from kb2ma/gcoap/req_path_null
net/gcoap: allow NULL path in gcoap_req_init()
2018-12-21 14:36:04 +01:00
Dylan Laduranty
764c7d2cc1
Merge pull request #10069 from fedepell/sam0_flashwrite
sam0 flashpage_write: correct translation from RIOT pages to CPU pages writing
2018-12-21 14:17:20 +01:00
Federico Pellegrin
50f2078fcd tests/periph_flashpage: test_last_raw must erase page before write 2018-12-20 21:18:52 +01:00
Gunar Schorcht
ae3ad4a93f tests/ccs811: satisfy Codacy 2018-12-20 12:42:44 +01:00
Gunar Schorcht
f03fb32f88 tests/driver_ccs811: fixes for Codacy 2018-12-20 12:42:44 +01:00
8a7edeb193 drivers/ccs811: fix build issues on ARM (#1)
* drivers/ccs811: fix types in debug messages

* drivers/driver_ccs811_full: fix unused variable build error
2018-12-20 12:42:44 +01:00
Schorcht
4323d9c233 drivers/ccs811: splitted test apps 2018-12-20 12:42:44 +01:00
Schorcht
74e1ab220c drivers: add driver for CCS811 gas sensor 2018-12-20 12:42:44 +01:00
4878cf2119
Merge pull request #10400 from miri64/core/enh/thread_has_queue_func
core: provide function to check msg queue initialization
2018-12-19 18:41:39 +01:00
Martine Lenders
91b526b0ad tests/gnrc_netif: use thread_has_msg_queue() for msg queue check 2018-12-19 15:39:50 +01:00
Martine Lenders
be5dd81a79 tests/unittests: adapt rpl_srh tests for API change 2018-12-18 19:46:27 +01:00
Francisco Acosta
66911d6ce1 tests/riotboot: add basic automatic test in python
Co-authored-by: Federico Pellegrin <fede@evolware.org>
2018-12-18 19:31:35 +01:00
Francisco Acosta
f1c57b21ec tests: add riotboot bootloader test
The tests overrides the target all to be tested by the CI.
All the instructions how to use it are in README.md
The test is successful if the image boots and displays
information about the image and running slot.

Co-authored-by: Federico Pellegrin <fede@evolware.org>
2018-12-18 19:31:35 +01:00
Gaëtan Harter
47830f44c2
Merge pull request #10603 from aabadie/pr/tests/pthread_timeout
tests/pthread_condition_variable: increase timeout
2018-12-17 17:57:15 +01:00
Martine Lenders
a3864aa103
Merge pull request #9158 from aabadie/pr/periph/stm32_lpuart
cpu/stm32-common: add support for lpuart
2018-12-17 12:16:27 +01:00
bd77949bc7 tests/posix_semaphore: increase timeout margin
Otherwise it may break on nrf51 boards where the timeout can be slightly above 100. Using 105us margin seems enough
2018-12-14 22:22:36 +01:00
87dd5f9341 tests/pthread_condition_variable: increase timeout
Otherwise it raises a timeout on slow boards. It takes around 2 minutes
on nrf51 based boards (e.g microbit)
2018-12-14 22:05:12 +01:00
Gaëtan Harter
169a72b9a7
Merge pull request #10590 from aabadie/tests/pkg_libcose_timeout
tests/pkg_libcose: increase timeout of autotest
2018-12-14 21:05:58 +01:00
Gaëtan Harter
60f3e1af8a
Merge pull request #10591 from aabadie/pr/tests/libfixmath_extend_timeout
tests/libfixmath_unittests: extend timeout in autotest
2018-12-14 19:46:44 +01:00
Gaëtan Harter
7b5b778cea
Merge pull request #10602 from aabadie/pr/tests/pkg_micro-ecc_timeout
tests/pkg_micro-ecc*: increase expect timeout
2018-12-14 19:28:56 +01:00
dbe43d7515 tests/periph_uart: add periph_lpuart optional dependency 2018-12-13 12:39:00 +01:00
0ea00d932e tests/pkg_libcose: increase timeout of autotest
On a microbit (nrf51) the autotest takes around 4 minutes to complete.
2018-12-13 10:04:30 +01:00
5c4698bfd8 tests/pkg_micro-ecc*: increase expect timeout
Otherwise the test takes too long on nrf51 based boards and fails:
- 80s on a microbit for tests/pkg_micro-ecc
- 120s on a microbit for tests/pkg_micro-ecc-with-hwrng
2018-12-13 10:00:51 +01:00
Leandro Lanzieri
4ce63d00ea
Merge pull request #10280 from fedepell/stk3700_arduino
boards/common/silabs: add Arduino API support for SiLabs boards
2018-12-12 09:51:13 +01:00
d8d9dd32bf tests/libfixmath_unittests: extend timeout in autotest
It can takes up to 640s to complete on microbit
2018-12-11 14:42:08 +01:00
Hauke Petersen
45698d95fa tests/events: blacklist boards for insuff. mem 2018-12-11 13:41:21 +01:00
Hauke Petersen
795699fed3 tests/events: use EVENT_QUEUE_INIT 2018-12-11 13:41:21 +01:00
Juan I Carrano
c644110bdb
Merge pull request #10573 from cladmi/pr/tests/compile_tests_in_docker
tests: compile-tests should only be executed in building machine
2018-12-10 15:46:23 +01:00
José Alamos
970bec1d1b
Merge pull request #10233 from miri64/gnrc_ipv6/enh/assume-no-preparsed-pkt
gnrc_ipv6: assume no preparsed packets
2018-12-10 14:21:17 +01:00
Gaëtan Harter
5a2609c573
Merge pull request #10439 from jcarrano/ensure-value
makefile/utils: Add a function for checking that a string is not empty.
2018-12-07 19:17:37 +01:00
Gaëtan Harter
9d252a883e tests/build_system_utils: add test for build system utilities
This will allow testing the build system 'utils' functions.
2018-12-07 18:19:38 +01:00
Gaëtan Harter
58bcde876a
tests/cortexm_common_ldscript: only execute compile-tests in docker
Without the protection, the host system also tries to execute the tests.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
4dd6eb3e5b
tests/libc_newlib: only execute compile-test in docker
Without the protection, the host system also tries to execute the tests.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
aea71dc309
tests/libc_newlib: verify the file exist before testing
If the file does not exist, because of concurrency issues, there is no
error. So verify it is there for good measures.
2018-12-07 17:41:57 +01:00
Martine Lenders
2b280f867e tests/gnrc_ipv6_ext: remove test for parsed packet reception 2018-12-06 16:22:31 +01:00
Hauke Petersen
92fcb4de6a
Merge pull request #10513 from miri64/gnrc_netif/enh/iid-conversion
gnrc_netif: add general IID to/from l2addr conversion functions
2018-12-06 15:57:06 +01:00
Martine Lenders
f757376fc6 tests/gnrc_sock_udp: mark arduino-atmega2560 for insufficient memory 2018-12-06 15:39:00 +01:00
Gaëtan Harter
1bc0bbb1a8
tests/xtimer_usleep: disable running test on native
The test randomly fails for unrelated PRs. Expecting real-time timing on
native is not really possible. Maybe it could be fixed but it currently
triggers many false positive.
2018-12-05 17:32:53 +01:00
Gaëtan Harter
1e7d72dea9
tests/xtimer_now64_continuity: disable running test on native
The test randomly fails for unrelated PRs. Expecting real-time timing on
native is not really possible. Maybe it could be fixed but it currently
triggers many false positive.
2018-12-05 17:31:12 +01:00
3e8c113c59 tests/periph_eeprom: cleanup + add auto tests for clear and set 2018-12-04 11:25:08 +01:00
f1d3d206c9 tests/periph_eeprom: add set command in shell 2018-12-04 11:24:57 +01:00
c95c1e4def tests/periph_eeprom: add clear and erase commands 2018-12-04 11:24:57 +01:00
90db0bf253
Merge pull request #10253 from kYc0o/pr/riot_hdr
sys: add riotboot_hdr module
2018-12-04 09:44:45 +01:00
1de4ae743a tests: exclude nrf51dk from big tests 2018-12-04 08:37:00 +01:00
Francisco Acosta
ffb1ba6e47 tests: add riotboot_hdr test
Unittest for riotboot_hdr submodule. If successful, it must
print 4 successful tests.
2018-12-04 00:01:42 +01:00
Martine Lenders
0c09a9ad8b
Merge pull request #10538 from smlng/pr/embunit
tests: adapt embunit TEST_ASSERT_EQUAL_STRING
2018-12-03 16:59:06 +01:00
Sebastian Meiling
a638b6c1ba tests: verify embunit TEST_ASSERT_EQUAL_STRING 2018-12-03 15:44:02 +01:00
Kevin "Bear Puncher" Weiss
f05852290a
Merge pull request #9236 from bergzand/pr/crypto/poly1305
crypto: Poly1305 implementation
2018-12-03 14:31:28 +01:00
Peter Kietzmann
c83493728a
Merge pull request #10435 from leandrolanzieri/pr/boards/sodaq_sara_r410m
boards/sodaq-sara-aff: Initial support
2018-12-03 14:11:34 +01:00
Marian Buschsieweke
003c04bd4c
Merge pull request #10012 from gschorcht/drivers_sht3x
drivers: sht3x temperature and humidity sensor
2018-12-03 10:43:16 +01:00
Leandro Lanzieri
d53fbb0045 boards/sodaq-sara-aff: Initial support 2018-12-03 10:05:37 +01:00
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
Joakim Nohlgård
36e5b8ef23 usb-kw41z: NXP USB-KW41Z wireless IoT USB dongle 2018-12-01 13:51:55 +01:00
Sebastian Meiling
43d39b7a33
Merge pull request #8333 from samkumar/feature-condition-variable
core: condition variable implementation
2018-11-30 21:15:53 +01:00
Sam Kumar
fb8edbb610 core: condition variable implementation 2018-11-30 11:22:07 -08:00
Federico Pellegrin
e34d46e096 drivers/at: add function to read raw data bytes from modem 2018-11-30 14:59:00 +01:00
Juan I Carrano
77c9cc4041
Merge pull request #10219 from bergzand/pr/crypt/helper_add_wipe
crypto/helper: Add secure wipe function
2018-11-30 11:32:45 +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
Ken Bannister
ffa0c5b03c tests/gcoap: test NULL path in gcoap_req_init() 2018-11-28 13:26:04 -05: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
Schorcht
00cb786344 tests: add SHT3X sensor driver test application 2018-11-21 09:07:20 +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
josar
ccbb294f9d tests/xtimer_drift: increase priority of worker
When the slacker threads and the worker thread have the same priority
the drift and jitter depend on the workload.
Timer set before the worker thread will be fired before the worker and so
the result is not the timings the system might reach when proper priority
is set. Increasing the priority of the worker thread ensures that the
measureed timings are the achievable timings.
2018-11-15 12:36:02 +01:00
josar
82d126158e test/xtimer_hang: use xtimer_periodic_wakeup
When sleeping in the main function with xtimer_sleep not every percentage
will be printed as the sleep duration and the processing time added do
not result in full percentage values.

Using xtimer_periodic_wakeup ensures that every integer percentage is printed.
2018-11-15 12:14:09 +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
Federico Pellegrin
994999132a boards/common/silabs: add Arduino API support for SiLabs boards 2018-11-08 17:03:19 +01:00
730286903a
crypto/helper: Add test for crypto_secure_wipe
The test added for crypto_secure_wipe wipes a buffer with a secret in
it. Only the last byte is kept as it was. The last byte is used to check
that the function doesn't write outside the supplied buffer.
2018-11-07 18:27:10 +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
Gaëtan Harter
40187e81fa
Merge pull request #10184 from bergzand/pr/tests/tweetnacl_move
tests/tweetnacl: Move from unittests to regular test
2018-10-25 12:27:16 +02:00
José Alamos
059ef5c437
Merge pull request #10201 from MrKevinWeiss/pr/tests/fixlibfixmath
tests/libfixmath: Add delay at start of test
2018-10-25 11:06:37 +02:00
MrKevinWeiss
646c6d67c0 tests/libfixmath: Add delay at start of test
The delay allows allows time for the `make term` to connect and start flushing the output buffer before the buffer overflows.
2018-10-24 17:27:30 +02:00
137e4825ed
tests/tweetnacl: Move from unittests to regular test
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.

Tests are disable for the Arduino. While they "might" work, it takes
around 8 minutes to complete the tests.
2018-10-24 16:56:32 +02:00
Frits Kuipers
8b8790c18f drivers/ds18: Add Maxim Integrated ds18 driver
tests/driver_ds18: Add test application for DS18B20 sensor.

tests/driver_ds18: Add whitelist of boards
2018-10-24 16:02:05 +02:00
José Alamos
ea219c3eba
Merge pull request #10217 from cladmi/pr/tests/heatshrink/ci
tests/pkg_heatshrink: re-enable CI test
2018-10-24 13:56:16 +02:00
Marian Buschsieweke
fe46cae00d
sys/phydat: New phydat_fit API
The current phydat_fit implementation the following limitations:
- The API is way more complicated to use than needed
- It doesn't perform any rounding
- It uses `long` in a place where actual width (or better range) of the type
  is pretty important.

This commit addresses these limitations and uses lookup-tables to reduce the
number of divisions required.

Before this commit code using it looked like this:
``` C
long values[] = { 100000, 2000000, 30000000 };
phydat_t dat = { .scale = 42, .unit = UNIT_V };
phydat_fit(&dat, values[0], 0, phydat_fit(&dat, values[1], 1, phydat_fit(&dat, values[2], 2, 0)));
```

Now it can be used like this:
``` C
int32_t values[] = { 100000, 2000000, 30000000 };
phydat_t dat = { .unit = UNIT_V, .scale = 42 };
phydat_fit(&dat, values, 3);
```
2018-10-24 13:05:51 +02:00
Gaëtan Harter
f160a75aa5
Merge pull request #10209 from bergzand/pr/pkg/hacl_move
tests/hacl: Move from unittests to regular test
2018-10-23 18:32:27 +02:00
Martine Lenders
3068fb8aed
Merge pull request #9034 from cladmi/pr/tests/pkg_micro-ecc/blacklist/wsn430
tests/pkg_micro-ecc: blacklist wsn430 boards
2018-10-23 18:17:44 +02:00
052fea24aa
tests/hacl: Move from unittests to regular test 2018-10-23 17:46:13 +02:00
fd7a05e635
tests: Add test for fletcher multipart functions 2018-10-23 17:35:58 +02:00
danpetry
6fcb9ad552 tests/tsl4531x: Add tests to cover API changes.
The changes to the test correspond to the change in the API and design
of the driver, as described in the previous commit and in tsl4531x.h.
2018-10-23 17:26:28 +02:00
Juan Carrano
b99bd67efd tests/driver_tsl4531x: Add tests for illuminance sensor.
Missing README.
2018-10-23 17:26:28 +02:00
Gaëtan Harter
4157a07152
tests/external_module_dir: test for EXTERNAL_MODULE_DIRS
It demonstrates:

 * Adding a module with source code
 * Setting a header include directory
 * Adding dependences, which are evaluated before other modules dependencies

If the application compiles, everything is ok.
2018-10-23 13:22:25 +02:00
Gaëtan Harter
69225e6add
tests/pkg_micro-ecc: blacklist 16bits boards
Test breaks on wsn430 boards with the node rebooting.

This must come becauso `micro-ecc` does not have 16b support.
I also blacklisted the other 16bits boards.

 * https://github.com/kmackay/micro-ecc/issues/96
2018-10-22 14:28:44 +02:00
cladmi
d23fea6043
tests/pkg_heatshrink: re-enable CI test
When moved out of `unittests` running test on CI was not re-enabled.
2018-10-21 19:31:25 +02:00
aedc5260d8
Merge pull request #9848 from ZetaR60/RIOT_eepreg2
sys/eepreg: EEPROM registration support (version 2)
2018-10-21 11:20:53 +02:00
Matthew Blue
a99361e0b6 tests/eepreg: Initial test support 2018-10-20 09:30:41 -04:00
smlng
24032ac9ae tests/heatshrink: move from unittests to regular test
This moves tests for the heatshrink package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-10-19 15:18:16 +02:00
Martine Lenders
ed1eb8ed9c
Merge pull request #10183 from bergzand/pr/tests/libcose_move
tests/libcose: Move from unittests to regular test
2018-10-18 15:16:20 +02:00
José Alamos
372a729e21
Merge pull request #10070 from OTAkeys/pr/bump_littlefs_version
pkg/littlefs: bump version to v1.6.2
2018-10-18 14:35:55 +02:00
PeterKietzmann
d3e34b4334 sys/ecc: add repetition code 2018-10-18 13:37:21 +02:00
03e2eca813 tests/libcose: Move from unittests to regular test 2018-10-18 11:43:18 +02:00
Martine Lenders
179f17ca42
Merge pull request #9989 from PeterKietzmann/pr_add_golay
sys/ecc: add golay(24,12) half rate code
2018-10-18 09:31:17 +02:00
PeterKietzmann
9768995a0b sys/ecc: add golay(24,12) ECC 2018-10-18 09:05:28 +02:00
910b088094
Merge pull request #10172 from miri64/tests/fix/lwip_sock_array_address
tests/lwip_sock_{i,ud}p: correctly get array address
2018-10-17 20:36:33 +02:00
Martine Lenders
98c63e4995 tests: provide tests for reception on sock with port 0 2018-10-17 20:27:48 +02:00
8b2d295ab6
Merge pull request #10107 from miri64/tests/fix/lwip-sock-stack
tests/lwip_sock_*: Stop main thread from overflowing
2018-10-17 20:26:31 +02:00
Martine Lenders
bf8ebbac81 tests/lwip_sock_{i,ud}p: correctly get array address
We want the address of the start of the array.
2018-10-17 11:43:11 +02:00
917548f37c
Merge pull request #10170 from fedepell/arduino_tests_1
tests/arduino: add automatic test for arduino module
2018-10-17 09:15:20 +02:00
Martine Lenders
a291facbd7 tests/lwip_sock_tcp: make non-static end-point consts static 2018-10-16 19:09:24 +02:00
Martine Lenders
f6964c1065 tests/lwip_sock_tcp: make IPv4 address byteorder static 2018-10-16 19:09:23 +02:00
Martine Lenders
4934df3112 tests/lwip_sock_ip: make non-static consts static 2018-10-16 19:09:23 +02:00
Martine Lenders
73ec2ac652 tests/lwip_sock_ip: make IPv4 address byteorder static 2018-10-16 19:09:23 +02:00
Martine Lenders
6789a0b246 tests/lwip_sock_udp: make non-static consts static 2018-10-16 19:09:23 +02:00
Martine Lenders
a5370ff6df tests/lwip_sock_udp: make IPv4 address byteorder static 2018-10-16 19:09:23 +02:00
77d97a6fa2
Merge pull request #9336 from jia200x/openthread_ftd
pkg/openthread: rework of FTD and MTD support
2018-10-16 17:23:55 +02:00
9f390f19c6
Merge pull request #10059 from miri64/pkg/enh/lwIP-2.1
lwip: Bump version to v2.1.0
2018-10-16 17:10:26 +02:00
Federico Pellegrin
6ddab08cdb tests/arduino: add automatic test for arduino module 2018-10-16 16:41:26 +02:00
Kevin "Bear Puncher" Weiss
0628345364
Merge pull request #10093 from aabadie/pr/drivers/periph_eeprom_refactor
drivers/periph_eeprom: refactor implementation and test application
2018-10-16 16:30:40 +02:00
Martine Lenders
6911589989
Merge pull request #10102 from PeterKietzmann/pr_bitarithm_types
core/bitarithm: change types to `uintXX_t`
2018-10-16 16:09:08 +02:00
Jose Alamos
b75ffb98da examples/openthread: move test to examples 2018-10-16 15:25:44 +02:00
Kevin "Bear Puncher" Weiss
7187bbf8cf
Merge pull request #9426 from gschorcht/esp32
ESP32 port
2018-10-16 15:24:25 +02:00
Sebastian Meiling
ca90f9db2c
Merge pull request #10087 from kb2ma/nanocoap/fix_response_type
net/nanocoap: fix response type
2018-10-16 13:41:20 +02:00
a91b71a581 tests/periph_eeprom: add testrunner script 2018-10-16 10:39:10 +02:00
ae6028c749 tests/periph_eeprom: refactor test application + fix bounds 2018-10-16 10:39:10 +02:00
dfe03562a8
Merge pull request #7401 from dailab/Firefly
boards: add Zolertia Firefly board
2018-10-16 10:28:48 +02:00
Martine Lenders
1a3d84d932 tests/gnrc_sock_tcp: update INSUFFIENT_MEMORY for new build size 2018-10-15 21:40:31 +02:00
Martine Lenders
9cced4e806 tests/lwip_sock_udp: enlarge message queue due to more NDP messages 2018-10-15 21:32:34 +02:00
Martine Lenders
7fd55803ee tests/lwip_sock_*: adapt for address zoning 2018-10-15 21:32:34 +02:00
Gunar Schorcht
7fde6fc258
Merge pull request #6712 from aabadie/driver_vcnl4010
drivers/vcnl4010: initial implementation
2018-10-15 16:12:45 +02:00
91d57ca235 tests/pkg_semtech-loramac: cleanup README formatting 2018-10-15 14:15:29 +02:00
e73e8ca185 tests/pkg_semtech-loramac: update application README
Add note about save and erase loramac subcommands
2018-10-15 14:15:29 +02:00
ade05f92f4 tests/pkg_semtech-loramac: add save/erase subcommands 2018-10-15 14:15:29 +02:00
Ken Bannister
7bb0b0d7eb unittests/nanocoap: add server side tests 2018-10-15 06:42:37 -04:00
456e0a3abf tests/vcnl40x0: add test application 2018-10-15 11:44:10 +02:00
726ebf3dad coap: use COAP_FORMAT style content-format defines
Replaces all occurences of COAP_CT_.* with COAP_FORMAT_.*
2018-10-15 09:44:17 +02:00
da48e01029
Merge pull request #10109 from silkeh/add-libb2
pkg: add libb2 (BLAKE2)
2018-10-14 20:26:20 +02:00
Silke Hofstra
7a49bd0747 tests: add test for the libb2 package 2018-10-13 21:36:41 +02:00
Sebastian Meiling
239b3dfe86
Merge pull request #10132 from MrKevinWeiss/pr/adaptphil
dist/tests/if_lib: Update to riot_pal
2018-10-11 11:47:55 +02:00
MrKevinWeiss
5b83137fd1 dist/tests/if_lib: Update to riot_pal
This removes all non-application based driver/devices and replaces with riot_pal.
riot_pal (riot protocol abstraction layer) can be installed with pip install riot_pal.
The purpose is ti simplify and modularize the interfaces and tests.
All tests using the if_lib interface are updated too.
2018-10-09 21:21:17 +02:00
Sebastian Meiling
ad255934b1
Merge pull request #10131 from cladmi/pr/openthread/cleanup
tests/openthread: remove useless dependency handling
2018-10-09 11:23:28 +02:00
cladmi
950274078a
tests/openthread: remove useless dependency handling
The features requirement declaration in the application is useless.
It is already handled by `drivers/Makefile.dep`.

Testing procedure

The result is unchanged with this commit:

    make BOARD=samr21-xpro info-debug-variable-FEATURES_REQUIRED | tail -n 1 | \
        tr ' ' '\n' | sort -u
    make BOARD=iotlab-m3 info-debug-variable-FEATURES_REQUIRED | tail -n 1 | \
        tr ' ' '\n' | sort -u
2018-10-08 15:00:41 +02:00
Martine Lenders
521d7bdfc2
Merge pull request #10096 from mtausig/feature/tiny-asn1_update
tiny-asn1: update package version
2018-10-08 14:01:19 +02:00
PeterKietzmann
0ecaaf021c core/bitarithm: add explicit 32-bit function 2018-10-08 13:57:21 +02:00
Schorcht
3f8c359b01 tests: blacklist es32 based boards 2018-10-08 12:20:50 +02:00
Mathias Tausig
2cc6637bee tiny-asn1: Fix documentation
Typo
New URL
2018-10-08 10:28:10 +02:00
a4a334d771 tests/sx127x: set b-l072z-lrwan1 as default board 2018-10-05 18:15:01 +02:00
eafabe85a4 tests/unittest: exclude firefly board 2018-10-04 17:23:42 +02:00
Peter Kietzmann
ed24d3622a
Merge pull request #9621 from bergzand/pr/netif/use_fmt
gnrc_netif: Use fmt for bytes to hex string
2018-10-04 14:34:37 +02:00
0d71c1ccf7
gnrc_netif: Use fmt for bytes to hex string 2018-10-04 13:34:18 +02:00
Vincent Dupont
7e47e36e55 pkg/littlefs: fix file buffer size 2018-10-03 11:54:17 +02:00
Vincent Dupont
73e971fc56 uuid: add uuid_from_string() 2018-10-03 10:44:14 +02:00
Vincent Dupont
695a94449a fmt: add scn_u32_hex() 2018-10-03 10:44:14 +02:00
Vincent Dupont
8c5ffa0a8d fmt: add fmt_char 2018-10-03 10:44:14 +02:00
Vincent Dupont
db4ce5eff2 uuid: add uuid_to_string() 2018-10-03 10:44:14 +02:00
Vincent Dupont
71455b692f fmt: add fmt_to_lower() 2018-10-03 10:44:14 +02:00
Federico Pellegrin
b4f2c1a62a tests/periph_flashpage: short raw write test if hardware supports it 2018-10-03 08:23:40 +02:00
Federico Pellegrin
2edfcdfcbb tests/periph_flashpage: add automated test for flash peripheral 2018-10-03 07:19:28 +02:00
5b398930c1 tests/unittests: exclude samr30-xpro board 2018-10-01 10:20:41 +02:00
Martine Lenders
b78f78d3a1
Merge pull request #9947 from bergzand/pr/tinycbor/v052
tinycbor: Version bump to 0.5.2
2018-09-29 22:30:46 +02:00
0b65a33979
tinycbor: Version bump to 0.5.2
This release fixed some bugs related to disabling float support in the
parser.
The float support is now optional and can be enabled by including the
tinycbor_float module. This allows for compiling on AVR as that platform
doesn't support the float specific defines used by tinycbor.
2018-09-28 20:47:25 +02:00
PeterKietzmann
29fca6dd56 unittests/tests-ecc: generalize ECC test 2018-09-28 08:53:25 +02:00
PeterKietzmann
b7615e9e1b sys/ecc: remove separate hamming256 folder 2018-09-28 08:53:25 +02:00
Hauke Petersen
4a59113963 net/nanocoap: use correct type param for _bulid_hdr() 2018-09-26 13:00:39 +02:00
Martine Lenders
3f8819dfe8
Merge pull request #10039 from smlng/pr/fix/bench_sizeof_coretypes
tests: enhance bench_sizeof_coretypes
2018-09-26 10:53:17 +02:00
smlng
3c202d0ad2 tests/bench_sizeof_coretypes: fix ifdef for wait_data attribute 2018-09-26 09:58:51 +02:00
smlng
368ee45986 tests/bench_sizeof_coretypes: use testrunner from pylib path 2018-09-26 09:58:51 +02:00
smlng
852c4baf00 tests: print missing thread_t attribute
This adds the `stack_size` attribute which wasn't printed right now
so for instance the numbers didn't add for the sizeof(thread_t) when
DEVELHELP was on its of by 4 bytes (on 32-Bit).
2018-09-26 09:58:51 +02:00
ad7ec70af0
Merge pull request #9863 from leandrolanzieri/pr/lora-serialization
pkg/lora-serialization: add support for lora-serialization format
2018-09-26 09:58:06 +02:00
Leandro Lanzieri
f2bda2bb69 pkg/lora-serialization: Add lora serialization external package
tests/pkg_lora-serialization: Add test application
2018-09-26 09:09:37 +02:00
61f3687ee2
Merge pull request #8864 from aabadie/pr/pkg/semtech-loramac_update_pkg
pkg/semtech-loramac: update to upstream v4.4.1 + cleanup
2018-09-26 08:57:40 +02:00
Martine Lenders
cf87144daa
Merge pull request #8793 from beduino-project/remove-cbor-module
sys/cbor: remove module
2018-09-25 23:15:59 +02:00
Martine Lenders
442df8227b
Merge pull request #9839 from MrKevinWeiss/pr/doc/repoupdate
doc: Add deprecation warnings for new repos
2018-09-25 23:15:07 +02:00
7bfef117fc tests/pkg_semtech-loramac: use new return codes in application 2018-09-25 22:22:13 +02:00
6e12b44d12 tests/pkg_semtech-loramac: adapt to pkg changes 2018-09-25 22:22:13 +02:00
dd789fcdaf tests/pkg_semtech_loramac: adapt to latest pkg version 2018-09-25 22:22:13 +02:00
Sören Tempel
e523e8f5ec sys/cbor: remove module
Fixes #7707
Fixes #7800
2018-09-25 21:07:29 +02:00
Martine Lenders
b0e541593f tests/gnrc_sixlowpan: provide EUI-64 for dummy netdev
The dummy netdev of this test doesn't provide any address. This adds at
least the IEEE 802.15.4 EUI-64 and makes the NETOPT_SRC_LEN option
dependent on it.
2018-09-25 18:45:14 +02:00
Martine Lenders
f1529b886c
Merge pull request #10014 from cladmi/pr/tests_libc/fix_for_llvm
tests/libc_newlib: fix pointers comparison for llvm
2018-09-25 15:50:37 +02:00
cladmi
ba2a8dfe8a
tests/libc_newlib: fix pointers comparison for llvm
With llvm and samr21-xpro, I could not directly do 'printf == iprintf'.
But doing `(printf - iprintf) == 0` correctly checked if they are equal.

Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2018-09-25 15:02:29 +02:00
smlng
59e299635b cppcheck: add/correct reason for cppcheck-suppress
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
Martine Lenders
925b9c6422 tests/gnrc_sixlowpan: fix stacksize of dummy device
This was already too small in 6c2510dc so it should have been properly
tested. Now that we are testing it on CI with binaries compiled by LLVM
this leads to crashes with this "new" platform.
2018-09-24 16:18:42 +02:00
Martine Lenders
606a294970
Merge pull request #9979 from SemjonKerner/add_irq_dis_enable_test
tests/periph_gpio: add interrupt enable disable command
2018-09-21 17:11:39 +02:00
91f711010e
Merge pull request #9980 from silkeh/libhydrogen
pkg: add libhydrogen
2018-09-21 14:28:04 +02:00
Silke Hofstra
398d1d44d2 pkg: add libhydrogen 2018-09-21 13:48:00 +02:00
Semjon Kerner
64dc5e7dd4 tests/periph_gpio: add interrupt enable disable command 2018-09-21 11:24:46 +02:00
Joakim Nohlgård
bf7bbec6ec
Merge pull request #9981 from haukepetersen/fix_gpio_ifdefextintfuncs
tests/periph_gpio: make IRQ related functionality optional
2018-09-21 10:30:00 +02:00
Hauke Petersen
0b616acbc6 tests/periph_gpio: make IRQ commands optional
only include irq related shell commands in case the
PERIPH_GPIO_IRQ feature is selected
2018-09-21 08:23:44 +02:00
Semjon Kerner
071b8dfa98 tests/srf04: test application for srf04 driver 2018-09-20 15:18:49 +02:00
cladmi
784b9806cc
tests/netdev_test: remove non required feature periph_timer
Found out it is not actually linked.
2018-09-19 18:53:07 +02:00
Silke Hofstra
ee82d4fbfe boards, examples, tests: rename stm32mindev to blackpill 2018-09-19 16:22:14 +02:00
Francisco Acosta
3721f193d0
Merge pull request #9816 from leandrolanzieri/lobaro_port
boards/lobaro-lorabox: Add support for Lobaro LoraBox board
2018-09-18 19:35:59 +02:00
Leandro Lanzieri
177ef5bfa9 boards/lobaro-lorabox: Add initial support for Lobaro Lorabox board 2018-09-18 18:07:07 +02:00
e66e9f8c5f
Merge pull request #9922 from gebart/pr/bench_timers_typo
bench_timers: Fix mixup in trace output
2018-09-16 22:01:05 +02:00
90f2f867d2
monocypher: increase stack requirements to 4096B 2018-09-15 16:00:12 +02:00
5d1cc5713c tests/bench_runtime_coreapis: remove unnecessary test target 2018-09-11 16:58:20 +02:00
Joakim Nohlgård
49debfc67c bench_timers: Fix mixup in trace output
The equal sign was intended to be a symbol for parallel timers (two
lines), the minus was intended to be a single timer (one line).
2018-09-11 15:55:11 +02:00
Martine Lenders
e8af06fe5f
Merge pull request #9346 from haukepetersen/add_bench_sizeofcoretypes
tests: initial include of tests/bench_sizeof_coretypes
2018-09-11 15:17:08 +02:00
Martine Lenders
f1a5b08d3a
Merge pull request #9433 from neiljay/pr/blacklist_pic32_boards
pic32: Blacklist pic32 boards from some pkg tests
2018-09-11 14:32:23 +02:00
Hauke Petersen
4abe8d59d9 test: remove now deprecated sizeof_tcb test
The contents of the test were fully merged into
tests/bench_sizeof_coretypes.
2018-09-11 14:12:59 +02:00
Hauke Petersen
a61b5e3605 tests: initial include of bench_sizeof_coretypes 2018-09-11 14:12:59 +02:00
Ken Bannister
104de7b621
Merge pull request #9872 from haukepetersen/fix_nanocoap_optputstring
net/nanocoap: allow empty uri/location path option
2018-09-11 11:14:48 +00:00
Hauke Petersen
e9f9905079 tests: add core API runtime benchmark 2018-09-11 11:34:30 +02:00
Ken Bannister
cad1ccfa3b net/nanocoap: add unit test for trailing slash in path 2018-09-11 10:06:57 +02:00
472bd0ae01 tests: remove obsolete local test targets 2018-09-07 15:13:08 +02:00
Andreas "Paul" Pauli
775acf9268
Merge pull request #9625 from Josar/pr/xtimer_drift/interval
test/xtimer_drift: interval calculation
2018-09-06 14:24:26 +02:00
Martine Lenders
0fccf65c27
Merge pull request #9748 from miri64/tests/enh/ula-src
tests/gnrc_netif: add test for ULA source selection
2018-09-06 10:10:53 +02:00
Francisco Acosta
fad4d9be19
Merge pull request #9781 from cladmi/pr/toolchain/avr/linkerscript
atmega_common: allow defining rom and ram length for link.
2018-09-05 16:00:33 +02:00
cladmi
6942c376df
tests/: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:29 +02:00
cladmi
ad6f6fcb03
tests/xtimer: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:27 +02:00
cladmi
fc6c06992f
tests/thread: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:24 +02:00
cladmi
725d3d9bcd
tests/pkg: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:22 +02:00
cladmi
661868cf4e
tests/periph: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:20 +02:00
cladmi
4a9187f74c
tests/gnrc: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:18 +02:00
cladmi
1bab7742c2
tests/driver: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:14 +02:00
Schorcht
6e3c84d3ca tests: blacklist esp8266 based boards 2018-09-05 02:39:50 +02:00
Martine Lenders
461ceb8072 tests/lwip_sock_*: remove implicit import of lwip_ethernet module
Now that `lwip_ethernet` is pulled in as a dependency of `lwip` +
`netdev_eth`, it can be removed.
2018-09-04 13:48:22 +02:00
Martine Lenders
d9d5828106 tests/lwip: remove implicit import of lwip_ethernet module
Now that `lwip_ethernet` is pulled in as a dependency of `lwip` +
`netdev_eth`, it can be removed. This also makes this application more
flexible for usage of non-`native` boards with Ethernet devices.
2018-09-04 13:44:48 +02:00
Martine Lenders
2350c46740
Merge pull request #9826 from kaspar030/fix_byteorder_bebuf
core/byteorder: fix bebuftohs() / htobebufs() on big endian
2018-09-03 14:35:29 +02:00
Josarn
fdb2baa10a test/xtimer_drift: interval calculation 2018-09-02 22:29:44 +02:00
Hauke Petersen
04bc6ee069 unittests/nanocoap: adjust to api changes 2018-08-30 10:31:03 +02:00
Joakim Nohlgård
ace717ee27 drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ 2018-08-29 08:53:20 +02:00
Joakim Nohlgård
667a43f742 tests/driver_*: Rely on Makefile.dep for FEATURES_REQUIRED 2018-08-26 09:34:58 +02:00
Joakim Nohlgård
32223aa760 tests/openthread: Makefile: Fix FEATURES_REQUIRED 2018-08-26 07:24:38 +02:00
MrKevinWeiss
223ed1a26b doc: Add deprecation warnings for new repos
This PR add deprication warning to notify anyone using the if_lib files that it is being removed from RIOT repo and making it's own repo (RIOT-OS/lib_if).
This is intended to help wil modularization since it is not only being used within RIOT but in other areas as well.
README files are updated to indicate the change and if the if_lib is used it will throw a warning indicating the deprecation.
2018-08-25 10:34:32 +02:00
face869e3e tests/unittests/core: add byteorder_bebuftohs(), byteorder_htobebufs() tests 2018-08-23 10:34:59 +02:00
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00
463b04aa74
Merge pull request #7067 from dylad/adxl345_fix
drivers/adxl345: fixes & cleanup
2018-08-22 10:23:46 +02:00
Martine Lenders
ead6c1fd00
Merge pull request #9797 from gschorcht/tests_driver_isl29125_fix
tests/driver_isl29125: fix of compilation error
2018-08-21 11:18:00 +02:00
Toon Stegen
6a224d8bf2 unittests: add unittests for fmt_hex_byte 2018-08-20 16:19:30 +02:00
Gunar Schorcht
7b8ef9e1c3 tests/driver_isl29125: fix of compilation error 2018-08-20 08:42:08 +02:00
Martine Lenders
69475e0511
Merge pull request #9796 from gschorcht/lwip_sock_fix
tests/lwip_sock_*: fix compilation error
2018-08-19 19:44:53 +02:00
Gunar Schorcht
a71124a809 tests/lwip_sock_*: fix compilation error 2018-08-19 19:13:05 +02:00
Gaëtan Harter
31aba49a31
Merge pull request #9759 from smlng/pr/pythonlibs/testrunner
dist: move testrunner to pythonlibs as package
2018-08-16 11:54:02 +02:00
José Alamos
a697689c4c
Merge pull request #9729 from leandrolanzieri/pr/sensebox
boards/sensebox: Add support for SenseBox board
2018-08-15 10:04:57 +02:00
smlng
3893f04d00 tests: move testrunner import up
Testrunner is now impported as a package found in PYTHONPATH, so
import can be placed at the top of the script as usual.
2018-08-13 14:11:24 +02:00
smlng
f9824abedb tests: remove unused os package import
os package is imported by every test script but only used by
a few, thus flake8 check reported errors.
2018-08-13 14:11:23 +02:00
smlng
13d61b5c20 tests: use testrunner from pythonlibs
Remove now obsolete sys.append from all tests, as testrunner was moved
to dist/pythonlibs as proper package.
2018-08-13 14:11:23 +02:00
Jose Alamos
d54a74736d boards/sensebox: Initial board port for SenseBox MCU with SAMD21 2018-08-13 10:49:46 +02:00
e2d2a479bf
Merge pull request #9351 from cladmi/pr/make/cortexm_common/linkerscript
cortexm_common/ldscript: simplify generation of firmwares in section of the ROM
2018-08-12 12:28:44 +02:00
Gaëtan Harter
6abcf2e015
cortexm_common_ldscript: add a README.md
Explain the test and the output you should get.
2018-08-11 11:34:10 +02:00
Gaëtan Harter
8ecc0ac652
cortexm_common_ldscript: add test for _fw_rom_length overflow
Verify that specifying a too big _fw_rom_length for the rom is detected and
prevent compilation.
2018-08-11 11:34:07 +02:00
Gaëtan Harter
6768763601
cortexm_common_ldscript: add test for linker FW_ROM_LEN
Compile an elf file with a length equals to half the rom length.
2018-08-11 11:34:04 +02:00
Gaëtan Harter
642f5f2414
cortexm_common_ldscript: add test for linker script offset
Compile two elf files with different offset and verify the linked file offset.
I only enabled samr21-xpro and iotlab nodes for the moment.
2018-08-11 11:33:58 +02:00
Gaëtan Harter
def2858af9
cortexm_common_ldscript: test _rom_offfset taken into account
Test that _rom_offfset is removed from the available _rom_length.
2018-08-11 11:33:49 +02:00
Gaëtan Harter
bbb1fbe0e3
cortexm_common_ldscript: add a test that checks if ROM_LEN is used
Trigger an overflow by 1 byte to detect in ROM_LEN is indeed used.
2018-08-11 11:33:43 +02:00
Joakim Nohlgård
556d06d3bf tests/gnrc_netif: Fix -Wformat-overflow
Fixes the following error with GCC 7

main.c: In function 'test_netif_get_name':
main.c:1054:23: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
     sprintf(exp_name, "if%d", (int)netif);
                       ^~~~~~
main.c:1054:5: note: 'sprintf' output between 4 and 9 bytes into a destination of size 8
     sprintf(exp_name, "if%d", (int)netif);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-08-11 07:28:29 +02:00
Martine Lenders
c1926414ab tests/gnrc_netif: add test for ULA source selection 2018-08-09 11:37:10 +02:00
Gaëtan Harter
a081b485c1
tests/evtimer_underflow: run tests with echo=True by default 2018-08-09 07:13:25 +02:00
Gaëtan Harter
11d2cdb2ac
tests/cbor: run tests with echo=True by default 2018-08-09 07:13:12 +02:00
Gaëtan Harter
842bc88d4e
tests/evtimer_msg: run tests with echo=True by default 2018-08-09 07:12:50 +02:00
Gaëtan Harter
e0c4442395
tests/isr_yield_higher: run tests with echo=True by default 2018-08-09 07:12:31 +02:00
Gaëtan Harter
e354bf4174
tests/od: run tests with echo=True by default 2018-08-09 07:12:13 +02:00
Ken Bannister
3f3df74bcd
Merge pull request #7237 from Ell-i/feature-gcoap-extra-indirection
net/gcoap: Make references to coap_resource_t all const in gcoap
2018-08-07 23:52:59 -04:00
Gaëtan Harter
8ab79e94c1
tests/gnrc_netif: enable CI tests 2018-08-07 18:05:07 +02:00
Gaëtan Harter
a7241384be
Merge pull request #9719 from miri64/gnrc_ipv6_nib/enh/emit-conf
gnrc_ipv6_nib: make automatic NDP packet emission (NS/RS) configurable
2018-08-07 17:55:00 +02:00
Martine Lenders
bc320cd011 tests/gnrc_netif: disable NDP emissions
This test doesn't test NDP behavior so emissions of NDP neighbor and
router solicitations is more harming than helpful. Because of that I
disabled it for this test.
2018-08-07 16:50:39 +02:00
Martine Lenders
ed0fbdeaa7 tests/pkg_cmsis-dsp: provide testscript 2018-08-07 13:55:10 +02:00
e31ef56eae
Merge pull request #9354 from keestux/add-sodaq-one
Add support for the SODAQ ONE board
2018-08-07 11:19:37 +02:00
Kevin Weiss
9269b9d39d
Merge pull request #9714 from yegorich/pr/tests/uart_periph/autotester-wip
tests/periph_uart: add automated testing script
2018-08-07 11:14:18 +02:00
Kees Bakker
65730b597f tests/unittests: add sodaq-one to cortex-M boards
Also add sodaq-one to the boards with insufficient memory
2018-08-07 11:06:14 +02:00
a69c6e387a
Merge pull request #8880 from MrKevinWeiss/pr/board/openmoteb/porting
boards/openmoteb-cc2538: Initial support
2018-08-07 10:50:32 +02:00
Kevin Weiss
a48b8e741b boards/openmote-b: Add board support 2018-08-07 10:32:03 +02:00
Yegor Yefremov
14486f0e9e tests/periph_uart: add automated testing script
Add automated script to test devices against known testers.

Tests performed:

* echo test
* extended echo test i.e. received byte value will be incremented
* tester's register access

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-07 10:27:30 +02:00
3e7c5423e5
Merge pull request #8917 from aabadie/pr/cpu/flashpage_l4
cpu/stm32l4: add support for flashpage
2018-08-06 14:11:45 +02:00
faa65f34bd tests/periph_flashpage: ensure page_mem is correctly aligned 2018-08-06 12:33:03 +02:00
Martine Lenders
49b43a30a5 tests: puf_sram: fix printf format strings 2018-08-06 12:19:45 +02:00
Martine Lenders
3b1afc45d1 tests: periph_flashpage: fix printf format strings 2018-08-06 12:19:44 +02:00
Martine Lenders
17db3fdd41 tests: sdcard_spi: fix printf format strings 2018-08-06 12:19:44 +02:00
dylad
d114e2852c drivers/adxl345: fixes & cleanup
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-08-03 11:12:25 +02:00
Martine Lenders
7f04742e0b
Merge pull request #9687 from cladmi/pr/llvm/sx127/wformat
sx127x: fix -Wformat llvm warning
2018-08-02 18:35:29 +02:00
Kevin Weiss
70006a9851
Merge pull request #9331 from smlng/mma7660_i2c
drivers/mma7660: initial support (adopted from #5970)
2018-08-02 17:40:04 +02:00
Gaëtan Harter
4c74db4e7a
pkg/semtech-loramac: Fix -Wformat llvm warning
Fixed warning

    format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:27:35 +02:00
Gaëtan Harter
6ba37a902d
drivers/sx127x: Fix -Wformat llvm warning
Fixed warning

    format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:25:27 +02:00
Kevin Weiss
96225e317f
Merge pull request #9639 from yegorich/pr/tests/uart_periph/autotester-infra
Move testing infrastructure files to dist/tests
2018-08-02 17:17:27 +02:00
Michael Andersen
e354824bcf drivers/mma7760: Add initial support 2018-08-02 15:52:58 +02:00
Martine Lenders
35b798e486 tests: fix cayenne-lpp test for LLVM
Fixes #9680
2018-08-02 15:33:29 +02:00
Yegor Yefremov
ff525eb354 dist/tests/if_lib: move testing infrastructure files to a stand-alone package
Create if_lib package containing all the modules and adapt the *.py files
to import each other using the intra-package references.

The idea behind a package is to invoke test.py either by permanently
modifying PYTHONPATH in user profile via adding path to $RIOTBASE/dist/tests
or make temporary PYTHONPATH changes during the invocation:

PYTHONPATH=$PYTHONPATH:$RIOTBASE/dist/tests python3 test.py

Leave periph_i2c_if.py in the same folder as test.py as this file is
just a Python wrapper around periph specific main.c.

Update BPT memory map. Use definitions generated with the latest code
generator. Both routine names and mapping have changed.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-02 13:34:47 +02:00
Sebastian Meiling
26c689ffbb
Merge pull request #9548 from RIOT-OS/new_i2c_if3
I2C: introduce and adapt new I2C interface (2nd attempt)
2018-08-02 12:00:59 +02:00
Martine Lenders
5921447291 tests: gnrc_netif: fix group join iteration macro
The `test_ipv6_group_join__ENOMEM()` tests joining multicast groups,
so we need to iterate `GNRC_NETIF_IPV6_GROUPS_NUMOF` times to fill up
all addresses, not `GNRC_NETIF_IPV6_ADDRS_NUMOF`.
2018-08-01 20:44:49 +02:00
Martine Lenders
1fcf23c512
Merge pull request #9650 from cladmi/pr/tests/gnrc_sixlowpan
tests/gnrc_sixlowpan: enable test on murdock
2018-08-01 20:23:29 +02:00
Martine Lenders
c4ba2b55d0 tests: gnrc_ipv6_ext: replace default netif with dummy
Use a minimalistic dummy instead of the default interface for testing
the `gnrc_ipv6_ext` module.

Currently the default interface is used which leads to problems with
this test, since random traffic on the medium or a missing default
interface might lead to failed results.

Since the `tap` dependency is removed for `native`, I add this test for
testing on CI.
2018-08-01 17:25:58 +02:00
Gaëtan Harter
edefd096d0
tests/gnrc_sixlowpan: enable test on murdock 2018-08-01 15:27:23 +02:00
Martine Lenders
5ea5904d41
Merge pull request #9648 from miri64/tests/fix/gnrc_sixlowpan-dummy
tests: gnrc_sixlowpan: replace default netif with dummy
2018-07-31 22:01:47 +02:00
Martine Lenders
6c2510dc53 tests: gnrc_sixlowpan: replace default netif with dummy
Use a minimalistic dummy instead of the default interface for testing
the `gnrc_sixlowpan` module

Currently the default interface is used which leads to problems with
this test, since random traffic on the medium might lead to failed
results.
2018-07-31 20:59:03 +02:00
Gaëtan Harter
33389dd640
Merge pull request #9507 from ZetaR60/RIOT_docker_compat
tests/*: memory blacklisting for new Docker image
2018-07-31 19:58:37 +02:00
Matthew Blue
25c7b3ceeb tests/*: memory blacklisting for new Docker image 2018-07-31 11:48:11 -04:00
Martine Lenders
c289cccb42 tests: gnrc_sixlowpan: fix expect for #9585
PR #9585 changed the output for the dump slightly, so now this test
is failing. This fixes that and should also fix some issues from the
2017.07 release tests.
2018-07-30 18:03:22 +02:00
Pekka Nikander
33c84591e9 {examples,tests}/gcoap: Remove unnecessary type casts 2018-07-30 09:01:30 +03:00
Gaëtan Harter
38edca82b4
tests/driver_hd44780: fix test permission
Test was not executable so `make test` fails.
2018-07-26 12:14:49 +02:00
Juan I Carrano
0a53b6142b
Merge pull request #9599 from cladmi/pr/make/newlib/add_test_for_newlibnano
tests/libc_newlib: add test for newlib-nano inclusion
2018-07-25 13:32:46 +02:00
smlng
f55eebe2fb tests/periph_i2c: fix unused variable in pythonlib
flake8 reported an error with an unused variable in a python
    library used by the automated I2C testing script, which is
    fix here.
2018-07-25 12:01:40 +02:00
MrKevinWeiss
f67d6f785d tests/periph_i2c: Add automated testing script
Add automated script to test devices against a known testers.
	This will make it easier to run tests instead of manual testing.
	This is something that works for now but will be better integrated later.
2018-07-25 12:01:40 +02:00
MrKevinWeiss
16914171de tests/periph_i2c: Adapt to new i2c api
Changed shell to reflect the api very closely.
	This allows full access to each function for unit testing.
2018-07-25 12:01:40 +02:00
Joakim Nohlgård
3994c51b31 drivers/hih6130: adapt to new i2c API 2018-07-25 12:01:40 +02:00
94aa6d9cc0 tests/driver_isl2920: update with new API 2018-07-25 12:01:39 +02:00
Matthew Blue
bc9b3ecaae */ads101x: copyright notice update 2018-07-25 12:01:39 +02:00
5c6df7165f tests/driver_tsl2561: update to new API changes 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
34bddca083 drivers/ina220: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Michel Rottleuthner
8173aff6ec drivers/isl29125: adapt to new i2c API 2018-07-25 12:01:38 +02:00
MrKevinWeiss
d0f86d0611 drivers/srf02: Update to new i2c API 2018-07-25 12:01:38 +02:00
MrKevinWeiss
0c0ae1855d drivers/srf08: cleanup and fixes for new api 2018-07-25 12:01:38 +02:00
Michel Rottleuthner
e5976ad497 drivers/isl29125: update parameter definition scheme 2018-07-25 12:01:38 +02:00
bca6868da6 tests/driver_l3g4200d: update with new API 2018-07-25 12:01:38 +02:00
b5750c5671 tests/driver_lsm303dlhc: update with new API 2018-07-25 12:01:38 +02:00
917fd3c117 tests/driver_lps331ap: update with new API 2018-07-25 12:01:38 +02:00
a2d1558922 drivers/bmp180: adapt to new I2C api 2018-07-25 12:01:38 +02:00
MrKevinWeiss
5a5caa9851 tests/periph_i2c: refactor and standardize output 2018-07-25 12:01:38 +02:00
MrKevinWeiss
de1c492f60 tests/periph_i2c: Update to new I2C API 2018-07-25 12:01:37 +02:00
Gaëtan Harter
db00922b3d
tests/libc_newlib: add test for newlib-nano inclusion
This test verifies that when used, newlib-nano is correctly included, both
header and also linked.
2018-07-25 11:43:19 +02:00
Cenk Gündoğan
2421838609
Merge pull request #9630 from cgundogan/pr/gnrc_udp_comment_fix
tests/gnrc_udp: remove pktdump from comment
2018-07-24 18:02:43 +02:00
Gaëtan Harter
1fb6aa0421
Merge pull request #9615 from miri64/tests/enh/periph_pwm_puts
tests: use literal string instead of format string for interval
2018-07-24 18:00:42 +02:00
Cenk Gündoğan
6aeb4f6cbd tests/gnrc_udp: remove pktdump from comment 2018-07-24 17:35:20 +02:00
Martine Lenders
dc8c983d26
Merge pull request #9341 from bergzand/pr/sockutil/cleanup
sock_util: Add unittest and fix detected issues.
2018-07-20 12:09:31 +02:00
e91af6d556
sock_util: Add tests 2018-07-20 11:48:29 +02:00
Martine Lenders
04b58da249 tests: use literal string instead of format string for interval
`UINT16_MAX` should be the same value on all platforms, so why not use
`puts` instead of `printf` here instead. Also, `llvm` detects an issue
with using the `UINT16_MAX` macro with `PRIu16` here.
2018-07-19 20:35:00 +02:00
Martine Lenders
27ca688736 tests: ignore infinite recursion for mpu_stack_test with clang 2018-07-19 13:52:52 +02:00
Francisco Acosta
d04058b54b
Merge pull request #9579 from MichelRottleuthner/pr_stm32_fix_ram_lengths
stm32_common: fix ram length for MCUs with non-contiguous ram regions
2018-07-18 14:35:29 +02:00
Michel Rottleuthner
aca8953827 tests: add nucleo-f303k8 to BOARD_INSUFFICIENT_MEMORY 2018-07-17 17:52:12 +02:00
Gaëtan Harter
690fdb11ab
unittests: increase test timeout
It currently takes 1m30 to run on iotlab-m3.
2018-07-17 17:00:17 +02:00
Vincent Dupont
12a5c5e3b0 tests/driver_at: adapt test app with poweron/off 2018-07-17 10:15:35 +02:00
Yegor Yefremov
38aecf2bdf tests/periph_uart: adapt main.c for automated testing
This is an effort to automate UART testing using the same framework as
was already introduced for i2c. The framework relies on shell commands
to return invocation status and data in a special way:

1. Invocation status: Success or Error
2. Data inside the []

Hence this patch adds invocation status to the UART init command and
invocation status and data to the printer.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-07-11 10:06:18 +02:00
Martine Lenders
95c1992d97 tests: adapt gnrc_sock_dns for auto-configured DNS 2018-07-05 11:09:34 +02:00
Martine Lenders
fbf216f864 gnrc_sock_dns: Move DNS server end point to implementation 2018-07-05 11:01:22 +02:00
4ea93f3aea
Merge pull request #8542 from OTAkeys/pr/at_oob
drivers/at: at out-of-band data support for at commands parser
2018-07-04 19:01:28 +02:00
Francisco Acosta
4e9052e82e
Merge pull request #9366 from basilfx/feature/test_efm32_features
tests: cpu_efm32_features: add test application
2018-07-04 18:22:54 +02:00
Cenk Gündoğan
835f8f0daa
Merge pull request #9290 from PeterKietzmann/pr_sram_puf
Add SRAM based PRNG seeder
2018-07-04 18:08:53 +02:00
PeterKietzmann
2262a6e309 tests/puf_sram: add test application 2018-07-04 17:55:20 +02:00
Francisco Acosta
eb9dde2412
Merge pull request #9487 from bergzand/pr/pkg/monocypher/test_incr_stack
tests/monocypher: Increase stack space
2018-07-04 15:00:25 +02:00
2fbf684fc5
tests/monocypher: Increase stack space
As should have been done in the initial commit. Stack space set to the
amount described in the doc
2018-07-04 09:54:48 +02:00
Hyungsin
492c86b9d7 tests/driver_pir: remove redundant/double configuration from Makefile 2018-07-03 23:46:29 -07:00
Cenk Gündoğan
bf33941819
Merge pull request #9434 from miri64/gnrc_pktbuf_static/fix/alignment-race
gnrc_pktbuf_static: fix alignment issue / leaks
2018-07-02 16:32:13 +02:00
Martine Lenders
a6ac22af3b tests: fix gnrc_ndp tests for new alignment 2018-07-02 15:44:24 +02:00
Juan I Carrano
122ebb0b75
Merge pull request #9463 from bergzand/pr/pkg/monocypher/initial
Monocypher: Initial import of package
2018-07-02 14:55:23 +02:00
02362e8ddd
monocypher: Add public key signature test 2018-07-02 13:59:09 +02:00
Neil Jones
259e1accb2 pic32: Blacklist pic32 boards from some pkg tests
Temporarily blacklist pic32 boards from the emb6 and semtech-loramac package
tests as they are not building for MIPS yet.
2018-06-29 15:15:05 +01:00
Francisco Acosta
23d176f46b
Merge pull request #8857 from ZetaR60/RIOT_atmega_time_dot_h
cpu/atmega_common: Use updated time.h
2018-06-28 22:29:20 +02:00
Ken Bannister
03115a7c0c
Merge pull request #9444 from kb2ma/nanocoap/test_get_uri_path
net/nanocoap: test coap_get_uri() boundaries
2018-06-28 13:06:30 -04:00
Hauke Petersen
a5f2f0e1c0
Merge pull request #9453 from miri64/gnrc_sock_udp/fix/use-sock-ep
gnrc_sock_udp: use sock's local end-point for listening
2018-06-28 18:43:59 +02:00
Martine Lenders
647d1d2b01 tests: provide test for reception on sock with port 0 2018-06-28 17:38:12 +02:00
Gaëtan Harter
0a3375ba33
tests: use RIOTTOOLS variable
Add newly added tests
2018-06-28 14:05:33 +02:00
Ken Bannister
a7e5562268 net/nanocoap: test coap_get_uri() boundaries 2018-06-27 23:28:37 -04:00
Martine Lenders
0689f69ddd
Merge pull request #9431 from neiljay/pr/fix_size_t_usage
tests: Fix size_t vs int issues
2018-06-27 16:18:23 +02:00
Neil Jones
a77f1eea45 tests: Fix size_t vs int issues
size_t can be any unsigned type but is never a signed integer.
2018-06-27 15:04:07 +01:00
Joakim Nohlgård
21310e4260 tests/rng: Use xtimer for speed test timeout 2018-06-27 13:04:34 +02:00
6e6716a1a6
Merge pull request #9317 from maribu/sht1x
drivers/sht11: Major refactoring
2018-06-27 10:10:39 +02:00
Marian Buschsieweke
8e200673d3
tests/driver_sht1x: Added tests for sht1x 2018-06-27 08:58:07 +02:00
Marian Buschsieweke
2bff79ef56
tests/unittests: Added unit tests for sht1x
- Added unit tests for new integer only arithmetic
    - Temperature conversion differs at most 0.01°C from double arithmetic
    - Humidity conversions differs at most 0.1% from double arithmetic
2018-06-27 08:58:02 +02:00
Hyungsin
0c5c3d9b77 driver/pir: add pir-based occupancy sensing 2018-06-26 13:46:37 -07:00
Vincent Dupont
6aa2a55aaa tests/driver_at: add urc test commands 2018-06-26 10:03:46 -07:00
PeterKietzmann
85643ad01f tests/rng: add tests for random_uint32_range() 2018-06-26 14:08:46 +02:00
Cenk Gündoğan
bc57e901a8
Merge pull request #9374 from PeterKietzmann/pr_sys_sha1prng
sys/random: add SHA1PRNG
2018-06-22 16:22:09 +02:00
PeterKietzmann
3c4360eddb sys/random: add SHA1PRNG 2018-06-22 16:11:53 +02:00
smlng
854082272a tests/unittests: remove invisible unicode chars 2018-06-22 11:25:31 +02:00
smlng
3b84dad680 tests/unittests, cn_cbor: remove invisible unicode char from Makefile 2018-06-22 09:23:30 +02:00
Martine Lenders
579d9d78d4
Merge pull request #8823 from miri64/gnrc_ipv6_nib/feat/slaac
gnrc_ipv6_nib: add full RFC4862 DAD support
2018-06-21 14:10:36 +02:00
Martine Lenders
db4796b04e tests: adapt lwip_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Martine Lenders
01ef01f08e tests: adapt gnrc_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Cenk Gündoğan
4219ec9265
Merge pull request #9345 from bergzand/pr/fmt/strnlen
fmt: Add fmt_strnlen function
2018-06-18 11:23:53 +02:00
Bas Stottelaar
6386cc571a tests: cpu_efm32_features: add test application 2018-06-17 14:59:36 +02:00
99460669d3
Merge pull request #7786 from kaspar030/add_some_benchmarks
tests: add some benchmarks
2018-06-16 10:18:22 +02:00
3c9eb940d5 tests/bench_thread_yield_pingpong: initial commit 2018-06-15 23:04:54 +02:00
5bf1295836 tests/bench_thread_flags_pingpong: initial commit 2018-06-15 23:04:54 +02:00
94ba420ee3 tests/bench_sched_nop: initial commit 2018-06-15 23:04:54 +02:00
647fa6ba6e tests/bench_mutex_pingpong: initial commit 2018-06-15 23:04:54 +02:00
b9d8f931eb tests/bench_msg_pingpong: initial commit 2018-06-15 23:04:54 +02:00
Hauke Petersen
096765ca29 tests: add test for the tinycrypt integration 2018-06-15 10:49:38 +02:00
afe02bcbf4
tests/fmt: Extend test with fmt_strnlen 2018-06-14 11:57:11 +02:00
Hauke Petersen
9ff84fa56a test/sizeof_tcp: fixed typo in Makefile 2018-06-14 11:01:55 +02:00
32057a8c46 tests: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Joakim Nohlgård
2006937ee6 tests/bench_timers: Add benchmark for periph_timer and xtimer
This test is intended to collect statistics about the runtime delays in
the periph_timer implementation. This tool is mainly intended to detect
problems in the low level driver implementation which can be difficult
to detect from higher level systems such as xtimer.
2018-06-11 13:19:13 +02:00
Ken Bannister
aa0d02e994 net/nanocoap: unit tests for pkt-based request 2018-06-10 08:44:16 -04:00
Hauke Petersen
976a6b54e6 tests/servo: remove redundant periph_pwm dep 2018-06-07 11:11:57 +02:00
Jose Alamos
71bd5584d5 tests/pkg_semtech_loramac: add information about frame counters and ABP 2018-06-06 15:52:54 +02:00
Jose Alamos
04dd2a90ba test/pkg_semtech_loramac: add class A specifics to README 2018-06-06 15:52:54 +02:00
Jose Alamos
cf8ce6858a tests/pkg_semtech_loramac: improve test documentation 2018-06-06 12:18:52 +02:00
dbc70f39c6
Merge pull request #8865 from Josar/xtimer_usleep_improved
tests/xtimer_usleep: improved test, added pin toggle
2018-06-04 22:06:33 +02:00
Francisco Acosta
42d58373f5
Merge pull request #8802 from basilfx/feature/efm32_slstk3402a
boards: slstk3402a: add support
2018-06-04 15:35:22 +02:00
Marian Buschsieweke
e0bf20728c
examples, tests: Updated BOARD_INSUFFICIENT_MEMORY
Added stm32mindev to BOARD_INSUFFICIENT_MEMORY where needed
2018-06-04 09:03:30 +02:00
Bas Stottelaar
bfb820b989 tests: unittests: add to list of ARM boards. 2018-06-03 16:48:30 +02:00
Martine Lenders
c7aac5fe27 tests: extend gnrc_ipv6_nib tests for new SLAAC behavior 2018-05-31 17:19:35 +02:00
Martine Lenders
74828a68ef tests/gnrc_udp: add hifive1 to BOARD_INSUFFICIENT_MEMORY 2018-05-31 17:11:55 +02:00
22cb41b874
Merge pull request #8966 from kenrabold/riotpr
RISC-V: New CPU (FE310) and Board (HiFive1)
2018-05-30 09:47:26 +02:00
Sebastian Meiling
f017ee1a50
Merge pull request #5675 from basilfx/feature/prng_fortuna
sys: random: fortuna csprng
2018-05-30 09:07:18 +02:00
kenrabold
db4d67c4fd make: add hifive1 to BOARD_INSUFFICIENT_MEMORY
Added HiFive1 to BOARD_INSUFFICIENT_MEMORY list for examples and tests that are too big to fit

build: fixed missing syscall and cpuid failures

Added missing syscall stubs for nanostubs and fixed compile error with cpuid periph

build: fixed whitespace error

build: add hifive1 to more BOARD_INSUFFICIENT_MEMORY

doc: fixed doxygen warnings

Addressed Doxygen warnings in source file comments

doc: more doxygen fixes

doc: even more doxygen fixes

doc: more changes

build: fix pedantic and rdci_simple build failures

make: exclude lua
2018-05-29 16:27:53 -07:00
Martine Lenders
fce5c758f7
Merge pull request #8841 from miri64/netif/api/initial2
netif: Initial import of a common network interface API (second try)
2018-05-29 22:10:50 +02:00
Martine Lenders
2586b5c161
Merge pull request #9233 from brummer-simon/gnrc_tcp-handle_link_local_addr
gnrc_tcp: handle link local IPv6 addresses correctly
2018-05-29 21:50:00 +02:00
Simon Brummer
686aabaa0a gnrc_tcp: handle link local IPv6 addresses correctly 2018-05-29 21:28:32 +02:00
Martine Lenders
ee781a6d1f
Merge pull request #7184 from miri64/gnrc_netreg/enh/msg-queue-visible
gnrc_netreg: make message queue requirement more visible
2018-05-29 19:59:50 +02:00
ad31664f48
Merge pull request #9185 from OTAkeys/pr/add_at_parser_eol
driver/at: add option to keep EOL character in readline, and make EOL configurable
2018-05-29 19:57:12 +02:00
Martine Lenders
f97db647e0 tests: test netif.h operations for GNRC 2018-05-29 19:49:30 +02:00
Martine Lenders
87c3c77e82 tests/sntp: add wsn430 boards to BOARD_INSUFFICIENT_MEMORY 2018-05-29 19:21:48 +02:00
Bas Stottelaar
8fe56a1d73 tests: rng: add fortuna PRNG. 2018-05-29 18:40:59 +02:00
Vincent Dupont
83af66c49f tests/driver_at: adapt test app to new API 2018-05-29 17:30:55 +02:00
Josarn
ffb8c27956 tests/xtimer_usleep: Add SLEEP_PIN, Updated README 2018-05-29 16:09:20 +02:00
657bd25dbe
Merge pull request #8993 from ZetaR60/RIOT_cbmplex
sys/cb_mux: Callback multiplexer
2018-05-29 10:06:05 +02:00
Matthew Blue
7a95463649 tests/cb_mux: initial benchmark routine 2018-05-29 00:10:20 -04:00
Matthew Blue
c767cdd0bb tests/cb_mux: initial test routine 2018-05-28 15:43:42 -04:00
Matthew Blue
bd15ed2c73 tests/pkg_minmea: blacklist incompatible ATmega boards 2018-05-28 13:04:56 -04:00
Matthew Blue
dfa8fb919d sys/timex: fix incompatible atmega time.h 2018-05-28 13:04:55 -04:00
Bas Stottelaar
283e5fb2c2 tests: unittests: blacklist efm32 boards with insufficient memory 2018-05-25 20:36:21 +02:00
fce61f91f0
Merge pull request #9046 from bergzand/pr/uuid/initial
uuid: Initial import of RFC4122 UUID functions
2018-05-25 15:05:57 +02:00
3d66cbda80
Merge pull request #9182 from bergzand/pr/tests/xtimer_now64_continuity/run_on_ci
xtimer_now64_continuity: Enable test run on CI
2018-05-24 23:55:05 +02:00
Francisco Acosta
f49b8bbf49
Merge pull request #9020 from bergzand/pr/pkg/tinycbor
pkg/tinycbor: Initial import
2018-05-24 15:16:03 +02:00
Sebastian Meiling
f1324de970
Merge pull request #8862 from aabadie/pr/periph/eeprom
drivers/periph: add basic API to read/write data to EEPROM
2018-05-24 13:24:19 +01:00
731434b5a9
xtimer_now64_continuity: Enable test run on CI 2018-05-24 14:22:59 +02:00
Sebastian Meiling
6f2f9abe54
Merge pull request #9146 from bergzand/pr/tests/xtimer_now64_continuity/print_str
tests/xtimer_now64: Start time measure after print
2018-05-24 13:20:11 +01:00
f6a84d8e33
pkg/tinycbor: Add test for tinycbor 2018-05-24 14:13:12 +02:00
3896b4aa4c tests/periph_eeprom: add test application 2018-05-24 14:07:55 +02:00
Vincent Dupont
c10568f02c boards: use marketing name for stm32f769i-disco 2018-05-23 19:21:30 +02:00
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
c05650ee49 tests/driver_encx24j600: remove now unnecessary feature deps 2018-01-22 13:13:09 +01:00
Hauke Petersen
e31532bb18 tests: add test for lis2dh12 device driver 2018-01-18 18:39:43 +01:00
Sebastian Meiling
03526815a1
Merge pull request #8264 from aabadie/pkg_semtech-loramac
pkg: Semtech LoRaMAC
2018-01-18 17:38:06 +01:00
e3ff143a35 tests/semtech-loramac: add test application 2018-01-18 15:31:01 +01:00
5459e1998a tests/driver_rn2xx3: add test application 2018-01-18 10:46:54 +01:00
Sebastian Meiling
5c0b058db4
Merge pull request #6121 from miri64/native/feat/zep_socket
native: provide socket-based ZEP device
2018-01-18 10:03:08 +01:00
Vincent Dupont
e6ca1af19a
Merge pull request #6925 from OTAkeys/pr/tja1042
can: add tja1042 transceiver driver
2018-01-18 09:44:51 +01:00
Vincent Dupont
cf96c4ecb0 tests: add can_trx test app 2018-01-18 09:27:10 +01:00
Martine Lenders
28aa90df6f tests: add tests for socket_zep 2018-01-18 09:15:38 +01:00
cefb7974d7
Merge pull request #8210 from astralien3000/teensy31
boards/teensy31 : initial support of Teensy 3.1 & 3.2
2018-01-18 09:14:51 +01:00
3f990480d1
Merge pull request #7162 from kb2ma/nanocoap/msgid_byte_order
nanocoap: fix byte order of request message ID, and add test application
2018-01-17 22:59:07 +01:00
Sebastian Meiling
ba7cbd024e
Merge pull request #8227 from gebart/pr/micro-ecc-feature-periph
pkg/micro-ecc: Update FEATURE_PERIPH_HWRNG -> MODULE_PERIPH_HWRNG
2018-01-17 20:16:38 +01:00
Loïc Dauphin
f200c310ad tests/unittests: add teensy31 to BOARD_INSUFFICIENT_MEMORY 2018-01-17 18:14:00 +01:00
b5dd8c3807
tests/gnrc_ipv6_ext: Increase ipv6 addr numof 2018-01-17 16:25:26 +01:00
smlng
fbb34761a3 examples/posix_sockets: fix undefined usleep 2018-01-16 13:22:35 +01:00
steffen
1d38c7d939 drivers/lc709203f: Added support for the LC709203F Fuel Gauge 2018-01-15 17:48:27 +01:00
Ken Bannister
7e5d14fbf0 net/nanocoap: add test for message ID byte order 2018-01-12 05:58:52 -05:00
2b6e42672c tests/unittests: add fmt hex/bytes converter tests 2018-01-10 21:50:10 +01:00
Vincent Dupont
1f0024b184 tests/pkg_fatfs_vfs: remove rtc_init call 2018-01-09 19:01:26 +01:00
Sebastian Meiling
ebaa60a7f6
Merge pull request #8239 from OTAkeys/pkg_littlefs
fs: add littlefs as a package
2018-01-09 17:14:45 +01:00
Vincent Dupont
c8eb77e8ff pkg: add littlefs pkg and vfs integration 2018-01-09 17:03:44 +01:00
Martine Lenders
03fdaaeb8c
Merge pull request #8338 from haukepetersen/add_event_timeoutclear
sys/event/timeout: add timeout_clear() function
2018-01-09 15:40:40 +01:00
Hauke Petersen
860470df53 tests/events: adapt timeout value to comment above 2018-01-09 15:24:54 +01:00
Hauke Petersen
36743c17a1 tests/events: s/printf/puts/ where applicable 2018-01-09 15:24:36 +01:00
Hauke Petersen
6c55b36943 tests/event: add test for timeout_clear + cleanup 2018-01-09 15:24:13 +01:00
MichelRottleuthner
198ced4933 pkg/fatfs: integrate diskio layer to mtd interface 2018-01-09 14:46:40 +01:00
MichelRottleuthner
ee17dae5af pkg/fatfs: add vfs integration 2018-01-09 14:46:40 +01:00
daniel-k
f95463a8f2 tests/sx127x: deduce size of netopts from variable
This adapts automatically when a variable type changes, which is easy
to forget to change the correspondig netdev->set/get call.
2018-01-05 13:16:50 +01:00
daniel-k
0ee2bbe9f3 tests/sx127x: fix wrong usage of netdev->set() 2018-01-05 13:15:58 +01:00
daniel-k
5eace384a7 tests/sx127x: adapt to driver interface change using NETOPT_CHANNEL_FREQUENCY 2018-01-05 12:28:29 +01:00
Gaëtan Harter
30202f9de7 tests/ccm: check output buffer size
Add static test to verify output buffer is big enough for testing.
2018-01-04 18:01:58 +01:00
Gaëtan Harter
a83a1a80e5 tests/ccm: support input/adata bigger than 256
Fix data types to have bigger sizes.
The 'data' buffer size will still need to be increased when adding bigger tests.
2018-01-03 12:02:29 +01:00
Gaëtan Harter
e74b0ff33d tests/ccm: set 'len_encoding' from 'nonce_len'
Configure len_encoding in test depending on nonce_len.
Prepare for tests with nonce_len != 13.
2018-01-03 12:02:28 +01:00
Gaëtan Harter
b5c1855d7e tests/ccm: make 'mac_length' configurable in test
Preparation to add tests with different mac_length than 8.
2018-01-03 12:02:20 +01:00
Gaëtan Harter
fc3efbd0ee tests/ccm: add macro to simplify test call 2018-01-03 12:02:16 +01:00
Gaëtan Harter
5f6dc57d09 tests/ccm: fixup indentation 2018-01-03 12:01:57 +01:00
Martine Lenders
f485040df5
Merge pull request #8307 from aabadie/pr/flake8/fix_tests_rng
tests/rng/tests: fix flake8 F401 issue
2017-12-27 11:52:21 +01:00
4aaba0a257 tests/xtimer_usleep_short: make Makefile adhere to conventions 2017-12-21 13:23:23 +01:00
c08078e44d tests/thread_priority_inversion: make Makefile adhere to conventions 2017-12-21 13:23:23 +01:00
e8e581ea54 tests/rng: make Makefile adhere to conventions 2017-12-21 13:23:23 +01:00
Sebastian Meiling
1003cb9967
Merge pull request #7372 from dailab/priority_inversion
tests: add program for priority inversion problem
2017-12-21 12:02:27 +01:00
Thomas Geithner
1ebecc7758 tests: add program for priority inversion 2017-12-21 11:51:34 +01:00
3b55a73ced tests/rng/tests: fix flake8 F401 issue
F401 'pexpect' imported but unused
2017-12-20 16:42:59 +01:00
Peter Kietzmann
71d5ea2359
Merge pull request #8283 from smlng/fix/tests/thread_flags
tests/thread_flags: fix error condition and return value
2017-12-19 17:19:25 +01:00
Sebastian Meiling
b151f95b61
Merge pull request #8243 from gebart/pr/tests-snprintf
unittests: Fix printf float test BUFSIZE
2017-12-19 14:08:46 +01:00
smlng
205682adf3 tests/thread_flags: fix error condition and return value 2017-12-19 11:04:18 +01:00
3a572d82cd
Merge pull request #8252 from miri64/gnrc_netif/api/rename-ipv6_addr
gnrc_netif: rename IPv6 address "setters"
2017-12-18 17:00:31 +01:00
Bas Stottelaar
28eaf5db3a tests: rng: add test suite for RNG sources (PRNG, HWRNG) 2017-12-17 17:02:59 +01:00
4579deb996
Merge pull request #8080 from smlng/enh/tests/develhelp
make: enable develhelp for all tests, except minimal
2017-12-15 11:37:44 +01:00
smlng
d886fb87b5 tests, xtimer_msg: add test script 2017-12-15 09:56:03 +01:00
smlng
2809ad406f tests: enhance xtimer_msg, remove timex 2017-12-15 09:53:24 +01:00
aec32df131 tests/driver_lis3mdl: update to new driver api 2017-12-14 18:18:34 +01:00
smlng
0ec76307f6 tests: adapt BOARD_INSUFFICIENT_MEMORY 2017-12-14 18:03:18 +01:00
smlng
bbbf2bf345 tests/minimal: disable develhelp
to ensure minimal binary size for comparison
2017-12-14 17:54:14 +01:00
smlng
ea9aecd4b5 tests: enable DEVELHELP for all tests by default 2017-12-14 17:54:13 +01:00
smlng
6f67e75f90 tests: remove DEVELHELP from per test Makefiles 2017-12-14 17:54:13 +01:00
5fc1324969 tests/driver_enc28j60: exclude z1
because of not enough memory
2017-12-14 16:27:49 +01:00
Joakim Nohlgård
599ad3784c
Merge pull request #7345 from OTAkeys/pr/spiffs_statvfs
pkg/spiffs: implement statvfs and improve doc
2017-12-14 11:37:53 +01:00
smlng
2149411d2f unittests: fix failed assertion caused by priority_pktqueue 2017-12-13 22:25:53 +01:00
Martine Lenders
eb08a509ca tests: fix tests/gnrc_netif for changes in #6895 2017-12-13 15:44:19 +01:00
Martine Lenders
2ae30cf582 gnrc_netif: rename IPv6 address "setters"
This renames the following functions

* `gnrc_netif_ipv6_addr_add()`
* `gnrc_netif_ipv6_addr_remove()`
* `gnrc_netif_ipv6_group_join()`
* `gnrc_netif_ipv6_group_leave()`

by appending the suffix `_internal`.

\## Reasoning

I'd like to provide a helper function for the *public* equivalent using
`gnrc_netapi_set()`, and those names are to nice to not be taken for
those.

\## Procedure
I used a combination of `git grep` and `sed` to do this and fixed the
alignment in the result of some cases by hand.

```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
        xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
Joakim Nohlgård
c47cfa62f2 tests/pkg_micro-ecc-with-hwrng: Update CFLAGS
Remove deprecated FEATURES_PERIPH_HWRNG symbol
2017-12-13 11:02:07 +01:00
Martine Lenders
ba2453d320
Merge pull request #8247 from aabadie/pr/tests/python_E305
tests: fix python style E305
2017-12-13 10:52:57 +01:00
87b14d96c8 tests: fix python style E402
E402 module level import not at top of file
2017-12-12 22:40:03 +01:00
d3015f0a57 tests: fix python style E305
expected 2 blank lines after class or function definition, found 1
2017-12-12 15:43:27 +01:00
ec5a9a5f88 tests: fix python style E502 issue:
E502 the backslash is redundant between brackets
2017-12-12 15:14:47 +01:00
Joakim Nohlgård
b55975fc0a unittests: Fix printf float test BUFSIZE
Fixes the following error from GCC 7.2.0 with a recent newlib

In file included from /usr/arm-none-eabi/include/stdio.h:800:0,
                 from /home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:21:
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c: In function ‘sfprintf_float’:
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:39:28: error: ‘%f’ directive output truncated writing 11 bytes into a region of size 10 [-Werror=format-truncation=]
     snprintf(str, BUFSIZE, "%f", in0);
                            ^
/home/jgn/work/src/riot/tests/unittests/tests-printf_float/tests-printf_float.c:39:5: note: ‘__builtin_snprintf’ output 12 bytes into a destination of size 10
     snprintf(str, BUFSIZE, "%f", in0);
     ^
cc1: all warnings being treated as errors
2017-12-12 12:16:43 +01:00
Vincent Dupont
a99a244824 unittests/tests-spiffs: add statvfs unittest 2017-12-11 09:19:53 -08:00
Sebastian Meiling
23e8d92285
Merge pull request #8219 from smlng/automate/tests/mutex_unlock
tests: optimise and automate mutex_unlock_and_sleep
2017-12-10 16:00:11 +01:00
Dylan Laduranty
d7f1c64559
Merge pull request #8222 from aabadie/pr/drivers/sx127x_timers
drivers/sx127x: cleanup RX/TX timers
2017-12-09 18:52:20 +01:00
32b1ee3baf drivers/sx127x: cleanup RX/TX timers 2017-12-09 16:51:09 +01:00
404a32f346 tests/warn_conflict: cleanup python test script and move to tests folder 2017-12-08 23:01:09 +01:00
Joakim Nohlgård
ea4d5e6506
Merge pull request #8224 from OTAkeys/pr/fix_fmt_u32_dec
sys/fmt: fix overflow in fmt_u32_dec()
2017-12-08 13:33:32 +01:00
Joakim Nohlgård
c0fd172734 tests/pkg_micro-ecc-with-hwrng: remove hwrng_init
Handled by periph_init now.
2017-12-08 08:08:33 +01:00
Joakim Nohlgård
29715a7ee2 tests/periph_hwrng: remove hwrng_init
Handled by periph_init now.
2017-12-08 08:08:33 +01:00
Vincent Dupont
43a902b1ab sys/fmt: fix overflow in fmt_u32_dec()
If the value was 10 digits long it caused an overflow in the multiply loop.
The case is now tested before looping over.
2017-12-07 17:48:05 -08:00
smlng
2699015f56 tests/mutex_unlock_and_sleep: add tests script 2017-12-06 21:31:36 +01:00
smlng
cdfde8196d tests/mutex_unlock_and_sleep: enhance memory usage
needs less than 4K RAM now on Cortex-based CPU,
    hence remove BOARD_INSUFFICIENT_MEMORY list
2017-12-06 21:29:44 +01:00
Martine Lenders
73d1cca0f8
Merge pull request #8196 from aabadie/pr/tests/python_E12x
tests: fix python E127 'continuation line over/under-indented for visual indent'
2017-12-04 14:02:43 +01:00
Martine Lenders
ae8b426897
Merge pull request #8197 from aabadie/pr/tests/python_E711
tests/lwip: fix python E711 comparison to None should be 'if cond is not None:'
2017-12-04 13:57:41 +01:00
Martine Lenders
20ddb678aa
Merge pull request #8200 from aabadie/pr/tests/python_F841
tests/evtimer_msg: fix F841 local variable 'stop' is assigned to but never used
2017-12-04 13:19:12 +01:00
43e972fc61
Merge pull request #7970 from kYc0o/add_flashpage_write_raw
periph/flashpage: add flashpage_write_raw interface
2017-12-04 13:13:52 +01:00
3dfea171f1 tests/evtimer_msg: fix F841 local variable 'stop' is assigned to but never used 2017-12-04 08:33:06 +01:00
0a6f56bb25 tests/lwip: fix python E711 comparison to None should be 'if cond is not None:' 2017-12-03 20:22:59 +01:00
9f4096059e tests: fix python E127 'continuation line over/under-indented for visual indent' 2017-12-03 20:18:56 +01:00
Cenk Gündoğan
ac1a645fd1
Merge pull request #8190 from kaspar030/name_tests_by_folder
tests: set APPLICATION from folder name
2017-12-01 11:39:19 +01:00
fc2eff9fba tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
1318e18ab3 tests: deduce test application name from folder 2017-12-01 11:03:39 +01:00
Cenk Gündoğan
a7e7f0305c
Merge pull request #8187 from jthacker/pr_test_xtimer_usleep_short_missing_application
tests/xtimer_usleep_short: fix non set APPLICATION variable
2017-11-30 21:59:58 +01:00
cc521fdafd
Merge pull request #8185 from miri64/examples/fix/opt-for-nib
examples: tests: optimize for NIB
2017-11-30 20:06:17 +01:00
0d85186653
Merge pull request #8180 from miri64/gnrc_netdev/cleanup/rm
gnrc_netdev: remove remaining files and references
2017-11-30 20:05:17 +01:00
Martine Lenders
2b543dda89 tests: gnrc_sock_dns: optimize for NIB 2017-11-30 19:51:23 +01:00
Martine Lenders
5a0e9bcca4 gnrc_netdev: remove remaining files and references
Somehow, these files were forgotten in my big cleanup in #7925. This
fixes that.
2017-11-30 19:49:40 +01:00
Jon Thacker
052beeab83 tests/xtimer_usleep_short: fix non set APPLICATION variable 2017-11-30 12:52:41 -05:00
zhuoshuguo
ea5aeeb10f gomach: a robust traffic adaptive multichannel MAC for IoT. 2017-11-30 18:51:49 +01:00
kYc0o
202c9e174f tests/periph_flashpage: add write_raw command 2017-11-30 17:25:36 +01:00
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
Martine Lenders
eb7f32f5d0
Merge pull request #8142 from aabadie/pr/tests/python_E302
tests: fix python style 'E302 expected 2 blank lines, found 1'
2017-11-29 19:56:35 +01:00
c4f66edba1 tests: fix python style 'E302 expected 2 blank lines, found 1' 2017-11-29 17:32:06 +01:00
zhuoshuguo
e6409f025f gnrc_lwmac: include lwmac headers when LWMAC defined. 2017-11-29 17:29:26 +01:00
Gaëtan Harter
b54318c77c
Merge pull request #7919 from smlng/make/wpedantic
Make: enable -Werror -Wall -Wextra by default
2017-11-28 20:44:02 +01:00
smlng
57c5c9b6a6 make: enable Wall and Wextra by default, and optionally Wpedantic 2017-11-28 20:33:39 +01:00
Gaëtan Harter
a52d2130fd
Merge pull request #8157 from miri64/tests/cleanup/default-netdev
tests: remove unnecessary gnrc_netdev_default include
2017-11-28 20:29:27 +01:00
Martine Lenders
a2e51a039a tests: remove unnecessary gnrc_netdev_default include
The `driver_enc28j60` and `driver_encx24j600` applications exist to
test the network device drivers of this type. Including the *default*
driver of the board is thus non-sensical and might even be harmful for
the success of this test (if default device in initialized before the
device that is tested).

Additionally, does the removal of this module allow for some boards to
fit this into their memory (at least in my linker configuration), so I
removed them from the `BOARD_INSUFFICIENT_MEMORY` list.
2017-11-28 20:12:43 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Martine Lenders
39c122155c
Merge pull request #7995 from smlng/make/fix/unused_params
make: fix unused-params error
2017-11-28 14:46:23 +01:00
smlng
7309171303 build: fix unused parameter errors
cpu, sam0_common: fix unused parameter in periph/spi
        cpu, kinetis_common: fix unused parameter in periph/spi
        cpu, cc2538: fix unused param in periph/i2c
        cpu, cc2538: fix unused param in periph/spi
        cpu, sam3: fix unused param in periph/spi
        cpu, stm32_common: fix unused param in periph/pm
        cpu, stm32f3: fix unused params in periph/i2c
        cpu, nrf5x_common: fix unused param in periph/gpio
        cpu, nrf5x_common: fix unused param in periph/spi
        cpu, lpc2387: fix unused params in periph/spi
        cpu, cc2538: fix unused params in radio/netdev
        cpu, cc2650: fix unused params in periph/uart
        cpu, lm4f120: fix unused param in periph/spi
        cpu, lm4f120: fix unused params in periph/timer
        cpu, lm4f120: fix unused params in periph/uart
        cpu, stm32_common: fix unused params in periph/dac
        cpu, stm32l0: fix unused params in periph/i2c
        cpu, msp430fxyz: fix unused params in periph/uart
        cpu, mips: fix unused params
        cpu, cc430: fix unused-params in periph/timer
        cpu, msp430fxyz: fix unused params in periph/spi
        drivers, cc2420: fix unused param
        cpu, mips32r2_common: fix unused params in periph/timer
        cpu, cc2538: fix unused-param in periph/i2c
        cpu, mips32r2_common: fix unused-param in periph/timer
        cpu, msp430fxyz: fix unused params in periph/timer
        cpu, atmega_common: fix unused params in periph/spi
        driver, nrfmin: fix unused params
        cpu, cc2538_rf: fix unused params
        driver, netdev_ieee802514: fix unused param
        cpu, mip_pic32m: fix unused params
        cpu, lpc2387: fix unused params in periph/pwm
        tests/driver_sdcard_spi: fix unused params
        cpu, sam3: fix unused param in periph/pwm
        tests/driver_dynamixel: fix unused params, and style issues
        cpu, cc430: fix unused param in periph/rtc
        cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
Martine Lenders
b68b7a0524
Merge pull request #8156 from miri64/tests/cleanup/pca1000x-revert
examples: tests: remove remaining pca1000x references
2017-11-28 13:45:15 +01:00
Martine Lenders
cd3b1f3b42
examples: tests: remove remaining pca1000x references 2017-11-28 13:28:58 +01:00
Martine Lenders
ecc2b1113f
Merge pull request #8143 from aabadie/pr/tests/python_F401
tests: fix python style 'F401 module imported but unused'
2017-11-28 13:27:46 +01:00
Martine Lenders
bf53c88a78
Merge pull request #7994 from smlng/make/fix/sign_compare
make: fix sign-compare errors
2017-11-28 12:29:44 +01:00
smlng
e381317fbf make: fix sign-compare errors
cpu, nrf5x_common: fix sign-compare in periph/flashpage
    drivers, periph_common: fix sign-compare in flashpage
    cpu, sam0_common: fix sign-compare error in periph/gpio
    cpu, cc2538: fix sign-compare in periph/timer
    cpu, sam3: fix sign-compare in periph/gpio
    cpu, stm32_common: fix sign-compare in periph/pwm
    cpu, stm32_common: fix sign-compare in periph/timer
    cpu, stm32_common: fix sign-compare in periph/flashpage
    cpu, nrf5x_common: fix sign-compare in radio/nrfmin
    cpu, samd21: fix sign-compare in periph/pwm
    cpu, ezr32wg: fix sign-compare in periph/gpio
    cpu, ezr32wg: fix sign-compare in periph/timer
    drivers, ethos: fix sign-compare
    sys, net: fix sign-compare
    cpu, atmega_common: fix sign-compare error
    cpu, msp430fxyz: fix sign-compare in periph/gpio
    boards, msb-430-common: fix sign-compare in board_init
    driver, cc2420: fix sign-compared
    sys/net: fix sign-compare in gnrc_tftp
    driver, pcd8544: fix sign-compare
    driver, pn532: fix sign-compare
    driver, sdcard_spi: fix sign-compare
    tests: fix sign_compare
    sys/net, lwmac: fix sign_compare
    pkg, lwip: fix sign-compare
    boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
    tests, sock_ip: fix sign compare
    tests, msg_avail: fix sign compare
    tests, sock_udp: fix sign compare
    boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
Sebastian Meiling
d86cad7e03
Merge pull request #8154 from miri64/tests/cleanup/rm-gnrc_netif2
tests: remove gnrc_netif2 test application
2017-11-28 11:28:18 +01:00
Martine Lenders
5ffe9ddaf5
Merge pull request #8152 from aabadie/pr/tests/python_E703
tests: fix python style 'E703 statement ends with a semicolon'
2017-11-28 07:44:29 +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
Martine Lenders
3a3381d423 tests: remove gnrc_netif2 test application
This application existed due to a merge conflict of #7925 due to a
breaking of the GNRC merge embargo and is an exact duplicate of
`tests/gnrc_netif` in all but in name. Since #7925 is now merged, this
application can be removed
2017-11-27 21:34:40 +01:00
Martine Lenders
31924e99d0
Merge pull request #8022 from haukepetersen/fix_tests_lwmacmodules
tests/lwmac: cleaned up used modules and Makefile
2017-11-27 21:32:58 +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
74b681560d tests: fix python style 'E703 statement ends with a semicolon' 2017-11-27 17:33:48 +01:00
954e33bb90 tests: fix python style 'F401 module imported but unused' 2017-11-27 17:27:07 +01:00
e48e491b88 tests: fix python style 'E401 multiple imports on one line' 2017-11-27 15:41:33 +01:00
Hauke Petersen
d43d0aceb2
Merge pull request #8138 from basilfx/feature/whitelist_efm32
tests: mpu_stack_guard: whitelist efm32 boards.
2017-11-27 11:14:12 +01:00
fd1ff458dc
Merge pull request #8140 from bergzand/pr/jc42test-neg
test/driver_jc42: fix displayed temperature when negative
2017-11-25 12:42:17 +01:00
8dd860eed7 test/driver_jc42: fix displayed temperature when negative 2017-11-25 11:59:22 +01:00
Bas Stottelaar
324c255047 tests: mpu_stack_guard: whitelist efm32 boards + sort. 2017-11-24 21:35:32 +01:00
6b661bef04
Merge pull request #8119 from kaspar030/fix_cib
core: cib: fix overflow handling
2017-11-23 13:13:26 +01:00
Gaëtan Harter
48434e7ff6
Merge pull request #8104 from cladmi/pr/tests-gcoap
tests-gcoap: Fix resources order which should be sorted.
2017-11-23 13:00:07 +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
5f0eae18b3 tests/driver_bmx280: fix displayed temperature when negative 2017-11-22 14:34:11 +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
08964079e0
examples: tests: adapt udp shell commands for new forwarding engine
The NIB's forwarding engine behaves more correctly than GNRC's old
forwarding engine in that link-local addresses require also an
interface to be provided to be meaningful. As with other commands this
is simplified for the special case that there only is one interface
that that interface is chosen.
2017-11-21 10:40:01 +01:00
smlng
697ff44ce1 tests: add hts211 driver test app 2017-11-21 09:42:08 +01:00
bba3943d59 tests/driver_sx127x: fix typo in displayed message 2017-11-20 11:08:06 +01:00
81f13936ee drivers/sx127x: remove time on air from packet info 2017-11-20 11:04:41 +01:00
Martine Lenders
2f7b55b486 tests: adapt unittests for new FT behavior 2017-11-19 23:36:20 +01:00
Cenk Gündoğan
4a0d57c6fa
Merge pull request #8073 from miri64/gnrc_ipv6_nib/feat/route-timeout
gnrc_ipv6_nib: add timeouts to routes
2017-11-19 01:18:25 +01:00
Martine Lenders
5e491513b1
tests: add bluepill to gnrc_netif's insufficient memory list 2017-11-17 16:10:24 +01:00
Martine Lenders
bbae7a4193
tests: revert gnrc_netif2 test to resolve merge conflict 2017-11-17 15:31:59 +01:00
Martine Lenders
c28de94fd1
tests: adapt tests for route lifetime 2017-11-17 13:45:41 +01:00
Martine Lenders
67f33bd5e5
tests: revert removal of pca1000x in gnrc_netif2
As in #7986 this application (obviously) causes a conflict in #7925
since #7979. This PR fixes that.
2017-11-17 11:48:10 +01:00
Martine Lenders
f90a9a875f
gnrc_ndp2: rename to gnrc_ndp 2017-11-17 10:41:54 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +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
938e605a90
examples: tests: update insufficient memory lists
(for now)
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
Martine Lenders
5b5a99e175
tests: adapt gnrc_ipv6_nib_6ln test for router discovery 2017-11-16 15:49:21 +01:00
Martine Lenders
982eee17dd
tests: adapt gnrc_ipv6_nib test for router discovery 2017-11-16 15:49:21 +01:00
Martine Lenders
6b320fe40e
tests: adapt gnrc_ndp2 tests for router behavior 2017-11-16 15:49:21 +01:00
Gaëtan Harter
e0946af768
Merge pull request #7992 from aabadie/pr/test_pexpect
tests: migrate simple tests to testrunner
2017-11-16 11:49:01 +01:00
Hauke Petersen
4ceef0c67f examples/tests: remove entries for qemu-i386 2017-11-16 10:42:02 +01:00
Martine Lenders
32318363a9
Merge pull request #7697 from aabadie/pr/lora_definitions
sys/net: add common lora phy definitions
2017-11-15 21:01:46 +01:00
Gaëtan Harter
3667e57546
Merge pull request #8038 from aabadie/pr/test_pexpect_netstat
tests/netstats_l2: migrate to testrunner
2017-11-15 18:25:14 +01:00
Vincent Dupont
cf7275be52
Merge pull request #8034 from OTAkeys/pr/unittest_board_update
unittests: update boards lists
2017-11-15 18:14:18 +01:00
04e537cf9f tests/netstats_l2: migrate to testrunner 2017-11-15 16:30:00 +01:00
bb1afb86d6 tests/pkg_8g2: migrate to testrunner 2017-11-15 11:12:01 +01:00
c5eb24239a tests/ps_schedstatistics: migrate to testrunner 2017-11-14 16:40:02 +01:00
811dc7657a tests/sizeof_tcb: migrate to testrunner 2017-11-14 16:40:02 +01:00
3533f0c947 tests/nhdp: migrate to testrunner 2017-11-14 16:40:02 +01:00
f56a00ec8e tests/netdev_test: migrate to testrunner 2017-11-14 16:40:02 +01:00
c3c0039f24 tests/pkg_libcoap: migrate to testrunner 2017-11-14 16:40:02 +01:00
6f1b8fea25 tests/pkg_micro-ecc-with-hwrng: migrate to testrunner 2017-11-14 16:40:02 +01:00
12f6b629b8 tests/pkg_micro-ecc: migrate to testrunner 2017-11-14 16:40:01 +01:00
742da3517f tests/pkg_jsmn: migrate to testrunner 2017-11-14 16:40:01 +01:00
f5d2f0f503 tests/pkg_minmea: migrate to testrunner 2017-11-14 16:40:01 +01:00
783e04e7e6 tests/sched_testing: migrate to testrunner 2017-11-14 16:40:00 +01:00
e464116425 tests/pipe: migrate to testrunner 2017-11-14 16:40:00 +01:00
Gaëtan Harter
4ee7d1359c
Merge pull request #7988 from aabadie/pr/test_pexpect_fmt_print
tests/fmt_print: migrate to testrunner
2017-11-14 15:49:18 +01:00
Vincent Dupont
27fbdc4ebe unittests: update boards lists 2017-11-14 14:16:12 +01:00
Martine Lenders
a524d9f9fa
Merge pull request #8027 from aabadie/pr/test_pexpect_periph_timer
tests/periph_timer: migrate to testrunner
2017-11-14 13:59:06 +01:00
Martine Lenders
6038a7d3a5
gnrc_netif2: provide raw adaption layer (for e.g. SLIP) 2017-11-14 13:40:51 +01:00
Bas Stottelaar
9d99add1d0
Merge pull request #7923 from basilfx/feature/timer_arg
test: periph_timer: check if argument is passed.
2017-11-14 12:49:13 +01:00
df35860c55 tests/periph_timer: migrate to testrunner 2017-11-14 12:43:05 +01:00
Martine Lenders
7d94d5d2bc
tests: adapt driver_xbee test for gnrc_netif2 2017-11-14 12:01:16 +01:00
379737bc21 tests/thread_msg: migrate to testrunner 2017-11-14 10:17:47 +01:00
Peter Kietzmann
a2721c03c9 sys/od: add ASCII representation to memory dump 2017-11-14 09:22:02 +01:00
Dylan Laduranty
67048eafa2
Merge pull request #6900 from OTAkeys/pr/init_rtc
periph/rtc: move init from auto_init to periph_init
2017-11-13 21:22:22 +01:00
Vincent Dupont
e2c358ee48 tests/{periph_rtc,pkg_fatfs}: remove call to rtc_init 2017-11-13 18:43:50 +01:00
Bas Stottelaar
fd396045de test: periph_timer: check if argument is passed. 2017-11-13 17:28:53 +01:00
Martine Lenders
7a833f81c5
tests: fix netdev_test test for gnrc_netif2 2017-11-13 16:36:35 +01:00
Martine Lenders
be00f5bfb6
tests: fix gnrc_sixlowpan test for gnrc_netif2 2017-11-13 16:36:35 +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
a502aaa778
tests: amend BOARD_INSUFFICIENT_MEMORY 2017-11-13 16:36:34 +01:00
Martine Lenders
1a2548b65a
tests: fix netdev_test tests for gnrc_netif2 2017-11-13 16:36:34 +01:00
Martine Lenders
92e9537471
tests: fix gnrc_tcp_server tests for gnrc_netif2 2017-11-13 16:36:34 +01:00
Martine Lenders
01c21fa274
tests: make gnrc_ipv6_ext test compilable with gnrc_netif2
Test currently not working
2017-11-13 16:36:34 +01:00
Martine Lenders
6e605177c9
tests: fix driver_enc* tests for gnrc_netif2 2017-11-13 16:36:34 +01:00
Martine Lenders
84b646aaa4
tests: fix gnrc_sock_dns test for gnrc_netif2 2017-11-13 16:36:34 +01:00
Martine Lenders
e1ce254139
tests: fix pkg_microcoap test for gnrc_netif2 2017-11-13 16:36:34 +01:00
Hauke Petersen
92f39edaa9 tests/lwmac: cleaned up used modules and Makefile 2017-11-13 15:27:40 +01:00
marble
fbba6c3851 driver/soft_spi: initial implementation 2017-11-13 10:11:06 +01:00
c1056e2e6a tests/fmt_print: migrate to testrunner 2017-11-12 20:20:45 +01:00
Martine Lenders
1a0f4940fd
Merge pull request #7940 from miri64/posix/enh/move-time-to-module
posix: move time functions to their own module
2017-11-12 20:05:50 +01:00
Martine Lenders
f3f5489b4e tests: update posix_time tests for running with pexpect script 2017-11-12 19:55:57 +01:00
Martine Lenders
0a0bb86f4a posix: move time functions to their own module 2017-11-12 19:55:57 +01:00
bc03a0d150 tests/libfixmath_unittests: migrate to testrunner 2017-11-12 12:38:38 +01:00
f73fcf4f07 tests/libfixmath: migrate to testrunner 2017-11-11 23:18: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
Cenk Gündoğan
ca67a0a0a2
Merge pull request #8008 from aabadie/pr/test_pexpect_tm
tests/struct_tm_utility: migrate to testrunner
2017-11-11 18:24:47 +01:00
e4db84956c tests/ssp: migrate to testrunner 2017-11-11 18:05:52 +01:00
5bbfe92b97 tests/struct_tm_utility: migrate to testrunner 2017-11-11 17:19:52 +01:00
5e159cf42e tests/shell: migrate to testunner 2017-11-10 21:39:55 +01:00
4d8284ed04
Merge pull request #7989 from aabadie/pr/test_pexpect_irq
tests/irq: migrate to testrunner
2017-11-10 18:45:33 +01:00
Sebastian Meiling
d91afad290
Merge pull request #6720 from Lotterleben/doc_thread_msg_block_tests
tests/thread_msg_block* : add README, pexpect script, improve comments
2017-11-10 15:18:06 +01:00
Sebastian Meiling
04d344029c
Merge pull request #7836 from smlng/enh/tests/thread_cooperation
tests: enhance thread cooperation
2017-11-10 15:14:49 +01:00
smlng
ccad1acb28 tests: thread_cooperation add testrunner script 2017-11-10 09:27:18 +01:00
smlng
1d432a0e7d tests: enhance thread_cooperation, update BOARD_INSUFFICIENT_MEMORY 2017-11-10 09:27:18 +01:00
2c7eba58e6 tests/msg_try_receive: migrate to testrunner 2017-11-09 22:53:24 +01:00
4a22ca1a28 tests/irq: migrate to testrunner 2017-11-09 21:17:56 +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
Peter Kietzmann
87b0477b70
Merge pull request #7855 from kYc0o/fix_nrf24l01p_var_sizes
drivers/nrf24l01p: misc fixed
2017-11-09 08:06:28 +01:00
Martine Lenders
56d1f0605a
tests: adapt kw2xrf for new network interface API 2017-11-08 20:18:53 +01:00
Martine Lenders
22a41ea99c
tests: port gnrc_ipv6_nib unittests to gnrc_netif2 2017-11-08 20:18:53 +01:00
Martine Lenders
801148eb6d
tests: port gnrc_ipv6_nib tests for gnrc_netif2 2017-11-08 20:18:53 +01:00
Martine Lenders
8fac66eb03
tests: port gnrc_ndp2 for gnrc_netif2 2017-11-08 20:18:53 +01:00
kYc0o
aad3c253d2 tests/driver_nrf24l01p_lowlevel/main.c: fix var length and unused var 2017-11-08 20:10:44 +01:00
70fdc6792e tests/driver_mpu9150: update to use new driver API 2017-11-08 09:09:21 +01:00
ca9c8a5f7f tests/pthread_*: udpate BOARD_INSUFFICIENT_MEMORY variable 2017-11-08 09:00:21 +01:00
ed4004bd0e tests/pthread_tls: migrate to testrunner script 2017-11-08 09:00:21 +01:00
8b71893714 tests/pthread_tls: some cleanup 2017-11-08 09:00:21 +01:00
c1a08451e3 tests/pthread_rwlock: migrate to testrunner script 2017-11-08 09:00:21 +01:00
31ffda0a68 tests/pthread_rwlock: improve test behaviour 2017-11-08 09:00:21 +01:00
67187e240f tests/pthread_cooperation: migrate to testrunner script 2017-11-08 09:00:21 +01:00
633be9a87b tests/pthread_cooperation: small improvements 2017-11-08 09:00:20 +01:00
e87314fa1e tests/pthread_condition_variable: migrate to testrunner script 2017-11-08 09:00:20 +01:00
936928f819 tests/pthread_condition_variable: small improvements 2017-11-08 09:00:05 +01:00
7ff3a2a535 tests/pthread_cleanup: migrate to testrunner script 2017-11-08 09:00:05 +01:00
7bab0339dc tests/pthread_cleanup: small improvements 2017-11-08 09:00:05 +01:00
1e8104f268 tests/pthread_barrier: migrate to testrunner script 2017-11-08 09:00:05 +01:00
42afbb5fae tests/pthread_barrier: small improvements 2017-11-08 09:00:05 +01:00
7c446176a4 tests/pthread: migrate to testrunner script 2017-11-08 09:00:05 +01:00
cc90f8a854 tests/pthread: small improvements 2017-11-08 09:00:05 +01:00
Martine Lenders
2ffd0427b6
Merge pull request #7838 from aabadie/test_thread_basic
tests/thread_basic: rename python testrunner script
2017-11-07 21:24:16 +01:00
a23288fbdd test/thread_basic: fix pep8 in testrunner script 2017-11-07 21:15:43 +01:00
c8083a6767 tests/thread_basic: rename python testrunner script 2017-11-07 21:15:43 +01:00
kYc0o
129c170dde tests/driver_at86rf2xx: fix var lengths and unused vars 2017-11-07 21:09:22 +01:00
3217648aa6 tests/thread_msg_seq: migrate to testrunner script 2017-11-07 19:29:31 +01:00
3a7621d0cb tests/thread_msg_seq: minor improvements in test application 2017-11-07 19:12:04 +01:00
17535f8fb1 tests/thread_flags_xtimer: migrate to testrunner script 2017-11-07 19:12:04 +01:00
7d4dc0456f tests/thread_flags_xtimer: minor improvements in test application 2017-11-07 19:12:04 +01:00
84fbd62034 tests/thread_flags: migrate to testrunner script 2017-11-07 19:10:34 +01:00
f6560df848 tests/thread_flags: minor improvements in test application 2017-11-07 19:10:34 +01:00
95bb6d48d8 tests/thread_exit: migrate to testrunner script 2017-11-07 19:10:34 +01:00
e7646781e4 make: mcuboot: prefix mcuboot make targets 2017-11-07 12:44:38 +01:00
Martine Lenders
0954dba17d
Merge pull request #6000 from kaspar030/add_event_system
sys: add asynchronous event system
2017-11-06 14:25:18 +01:00
27cdd5497e tests/event: initial commit of sys/event test application 2017-11-06 14:19:31 +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
Bas Stottelaar
9428034fc8 tests: fix for u8g2 default I2C address. 2017-11-05 18:54:22 +01:00
6f43e98b95 drivers/si70xx: cleanup and use pseudomodules 2017-11-05 18:13:19 +01:00
52a692ae4f
Merge pull request #7829 from smlng/enh/tests/thread_flood
tests, thread_flood: update test script and output
2017-11-02 16:12:31 +01:00
c9448f471f
Merge pull request #7772 from kaspar030/add_tests_pkg_fatfs_rtc_dep
tests: pkg_fatfs: add periph_rtc to required features
2017-11-02 15:18:40 +01:00
d0fece77a0 tests: pkg_fatfs: add periph_rtc to required features 2017-11-02 15:06:27 +01:00
f7f3b687fd tests: unittests: add avsextrem to BOARD_INSUFFICIENT_MEMORY 2017-11-02 12:59:46 +01:00
smlng
ac4a0fd063 tests: add test for uMorse package
add README for tests/pkg_umorse
    add script for tests/pkg_umorse
2017-11-02 09:22:41 +01:00
Sebastian Meiling
e7189a3ce0
Merge pull request #7912 from cgundogan/pr/tests_trickle
tests: trickle: extend trickle test to print SUCCESS/FAILURE
2017-10-31 09:24:48 +01:00
Joakim Nohlgård
4de06b5f96
Merge pull request #7777 from x3ro/fix-ssp-test-on-macos
tests/ssp: Fix on macOS while compiling w/ clang
2017-10-31 05:39:57 +01:00
Cenk Gündoğan
06f61bb21b tests: trickle: add pexpect script 2017-10-30 18:53:29 +01:00
Cenk Gündoğan
22b9e6337b tests: trickle: extend trickle test to print SUCCESS/FAILURE 2017-10-30 18:53:29 +01:00
Lucas Jenss
4710701405 tests/ssp: Fix on macOS while compiling w/ clang
On macOS using Apple LLVM version 9.0.0 this test would
not compile due to clang detecting the buffer overflow.
Since this test is all about having a buffer overflow, I
tricked clang into not detecting this anymore.

This loosely relates to #6473.
2017-10-30 10:53:46 +01:00
be91023dc1
tests/sx127x: remove unused periph/rtc.h include 2017-10-28 21:48:17 +02: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
Francisco Acosta
1baece5039 Merge pull request #7851 from kYc0o/fix_sx127x_misc
drivers/sx127x: Fix misc variable types and lengths
2017-10-26 16:01:54 +02:00
9feceb29fc tests/driver_sx127x: use common LoRa definitions 2017-10-26 15:41:41 +02:00
kYc0o
5a46a01096 tests/driver_sx127x/main.c: misc fixes 2017-10-26 15:41:07 +02:00
smlng
3608a9a646 tests, thread_flood: update test script and output 2017-10-26 15:15:49 +02:00
Francisco Acosta
250fce160b Merge pull request #7852 from kYc0o/fix_servo_var
tests/driver_servo/main.c: fix var len
2017-10-26 14:33:56 +02:00
ff86015a60 Merge pull request #7854 from kYc0o/fix_isl29125_test
tests/driver_isl29125/main.c: fix counter var type
2017-10-26 08:38:35 +02:00
d035ab27aa Merge pull request #7856 from kYc0o/fix_driver_adcxx1c_unused_arg
tests/driver_adcxx1c: fix warning unused  argument
2017-10-26 08:34:56 +02:00
kYc0o
fe9d7db20f tests/driver_isl29125/main.c: fix counter var type 2017-10-26 02:06:31 +02:00
kYc0o
1c8bb804cf tests/driver_servo/main.c: fix var len 2017-10-26 01:36:31 +02:00
kYc0o
371ecf279d tests/driver_adcxx1c: fix warning unused argument 2017-10-25 17:18:02 +02:00
Martine Lenders
4d1a6c04b0 Merge pull request #7843 from haukepetersen/fix_test_unittestspexpecttimeout
test/unittests: set pexpect timeout to 60s
2017-10-25 15:45:31 +02:00
Hauke Petersen
4bdce27d02 test/unittests: set pexpect timeout to 60s 2017-10-25 15:37:37 +02:00
Martine Lenders
e017033601 Merge pull request #7820 from kYc0o/add_mcuboot_deps
tests/mcuboot: add documentation about dependencies
2017-10-25 15:25:25 +02:00
kYc0o
7358e16f44 tests/mcuboot/README.md: add Python3 dependencies 2017-10-25 15:14:26 +02:00
981a9cbd96 tests/thread_flood: migrate to testrunner 2017-10-25 14:45:02 +02:00
9a827f285c tests/thread_flood: fix typo and improve test output 2017-10-25 14:33:54 +02:00
Hauke Petersen
5031319bb7 test/xtimer_hang: accept 10% timing deviations 2017-10-25 14:18:47 +02:00
Hauke Petersen
c4d0f1f12e tests/float: automated test and added pexpect script 2017-10-25 12:57:10 +02:00
Hauke Petersen
bf70d8e830 Merge pull request #7818 from miri64/tests/fix/xtimer_usleep
tests: xtimer_usleep: remove timer testing in pexpect
2017-10-25 11:41:16 +02:00
Martine Lenders
24fa718327 tests: xtimer_usleep: provide README 2017-10-25 11:31:29 +02:00
Martine Lenders
bea71f6c5c tests: xtimer_usleep: remove timer testing in pexpect
As with #7816: testing timings over the UART doesn't make much sense.
This PR removes those timer testing in `pexpect` for
`tests/xtimer_usleep` and simplifies and cleans-up a lot of code overall
(converting counting while-loops to for-loops, syncing iterations of
the test etc.)
2017-10-25 11:31:29 +02:00
Hauke Petersen
350e582e6e tests/xtimer_reset: added pexpect script 2017-10-24 21:23:56 +02:00
Hauke Petersen
cadedcfe6c tests/xtimer_remove: added pexpect script 2017-10-24 21:23:35 +02:00
Hauke Petersen
77c8a9a6b7 tests/xtimer_periodic_wakeup: added pexpect script 2017-10-24 21:23:06 +02:00
Hauke Petersen
be3bc23dc8 tests/xtimer_now64_continuity: added pexpect script 2017-10-24 21:22:42 +02:00
Hauke Petersen
25ecadf4e2 tests/xtimer_hang: added pexpect script 2017-10-24 21:22:20 +02:00
Martine Lenders
970169bc49
tests: gnrc_lwip_udp: remove timing tests from pexpect script 2017-10-24 15:20:09 +02:00
Martine Lenders
d76785fc38
tests: gnrc_lwip_tcp: remove timing tests from pexpect script 2017-10-24 15:19:50 +02:00
Martine Lenders
12e4965800
tests: gnrc_lwip_ip: remove timing tests from pexpect script 2017-10-24 15:19:25 +02:00
Martine Lenders
9a76f2d733
tests: gnrc_sock_udp: remove timing tests from pexpect script 2017-10-24 15:19:05 +02:00
Martine Lenders
137afbe6e7
tests: gnrc_sock_ip: remove timing tests from pexpect script 2017-10-24 15:18:54 +02:00
Hauke Petersen
edaba0454a Merge pull request #7778 from miri64/tests/fix/gnrc_netif2
tests: gnrc_netif2: make link-layer information matching generic
2017-10-24 14:13:32 +02:00
Gaëtan Harter
e6e4072335 tests/posix_semaphore: test4: allow native to take more time
As not real time, native does often not weak up before 100ms.
I observed mostly between 0 and 200 but also got a 250, so I allow 300 more.
2017-10-24 13:38:35 +02:00
Gaëtan Harter
712550987d tests/posix_semaphore: test4: fix timestamp comparison
Only use a 'start' and a 'elapsed' timestamp to compare diff.
And remove the puts from within the measured time.
2017-10-24 13:38:03 +02:00
Gaëtan Harter
ffcdb61211 tests/posix_semaphore: test4: BUG add '\0' after fmt_u64_dec
fmt_u64_dec does not include the terminating null string character.
2017-10-24 13:36:06 +02:00
Gaëtan Harter
fe9c604391 tests/posix_semaphore: test4: only one call to fmt_u64_dec 2017-10-24 13:36:06 +02:00
Gaëtan Harter
14235b57ec tests/posix_semaphore: test4: change msg when waited more than expected 2017-10-24 13:36:06 +02:00
Hauke Petersen
8fb310648f Merge pull request #7788 from miri64/ds1307/fix/init-error
ds1307: return error when nothing is read or written on initialization
2017-10-24 13:25:03 +02:00
Martine Lenders
20d5067bfa Merge pull request #7802 from cladmi/pr/tests/gnrc_ipv6_ext
tests/gnrc_ipv6_ext: fix documentation on ENABLE_DEBUG for test
2017-10-24 13:11:37 +02:00
Martine Lenders
1cad16bfaf Merge pull request #7766 from cladmi/pr/test_lwip_native
tests/lwip: only enable test for native board
2017-10-24 13:09:09 +02:00
Gaëtan Harter
df94189073 tests/gnrc_ipv6_ext: fix documentation on ENABLE_DEBUG for test
The test can handle both with and without ENABLE_DEBUG.
2017-10-24 12:00:15 +02:00
Martine Lenders
500aa285f3
tests: ds1307: adapt test result for initialization error 2017-10-23 14:42:27 +02:00
Martine Lenders
e9e299b1e5
tests: gnrc_netif2: make link-layer information matching generic 2017-10-20 17:29:14 +02:00
Martine Lenders
775e2071e5 Merge pull request #7770 from cladmi/pr/tests/remove_setting_termflags_to_empty_value
tests: remove setting TERMFLAGS= before running test
2017-10-20 16:43:10 +02:00
a92b51e66a Merge pull request #7771 from kaspar030/fix_my_copyright_messages
all: fix my email address
2017-10-20 16:01:41 +02:00
167bd30453 all: fix my email address 2017-10-20 15:02:41 +02:00
Gaëtan Harter
e428038b04 tests: remove setting TERMFLAGS= before running test
Remove setting TERMFLAGS to an empty value as its value will not be set by
`serial.inc.mk` as it is already defined.
2017-10-19 19:43:07 +02:00
Hauke Petersen
d9512179bf tests/cpp11_thread: added pexpect script 2017-10-19 14:46:05 +02:00
Hauke Petersen
b5030d5ab1 tests/cpp11_mutex: add pexpect script 2017-10-19 14:46:05 +02:00
Hauke Petersen
8fb45cfc6b tests/cpp11_confition_var: added pexpect script 2017-10-19 14:46:05 +02:00
Hauke Petersen
a88d1e93c5 test/buttons: added pexpect script 2017-10-19 14:46:05 +02:00
Hauke Petersen
cbffe940b1 tests/bloom_bytes: add pexpect script 2017-10-19 14:46:05 +02:00
Hauke Petersen
479064b7bf test/bitarithm_timings: added pexpect script 2017-10-19 14:46:04 +02:00
Gaëtan Harter
7692da9566 tests/lwip: only enable test for native board
Other board are not supported in 01-run.py.
2017-10-19 14:39:34 +02:00
Hauke Petersen
a05b06ddcc tests: fixed INSUF_MEM define for gnrc_ipv6_nib_6ln 2017-10-17 17:23:24 +02:00
316e8426ae tests/unittests: skip sodaq-explorer 2017-10-13 17:24:46 +02:00
Francisco Acosta
a82930cf60 Merge pull request #7381 from miri64/slipdev/api/slip-port-to-netdev
slip: port to be used with netdev
2017-10-10 23:23:01 +02:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Martine Lenders
60c18cf09f tests: add tests for IEEE 802.15.4 to gnrc_netif2 tests 2017-10-10 23:11:55 +02:00
Martine Lenders
ad0459c492 tests: adapt gnrc_netif2 test for changes in gnrc_netif2_create() 2017-10-10 21:21:36 +02:00
Lucas Jenß
f6cd5572d5 Merge pull request #6024 from x3ro/cppcheck-suppress-explained
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 20:20: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
a13eca1bdd Merge pull request #7696 from aabadie/driver_sx127x_fixes
drivers/sx127x: several fixes
2017-10-10 18:32:11 +02:00
ef9368e6b5 tests/driver_sx127x: put radio to sleep after transmission 2017-10-10 17:59:31 +02:00
Martine Lenders
77d977032c
tests: add tests for gnrc_netif2 2017-10-10 10:36:28 +02:00
Martine Lenders
00b63e9803
tests: add tests for 6LN NDP behavior 2017-10-10 10:12:19 +02:00
Martine Lenders
545f54c913
tests: add tests for host NDP behavior 2017-10-10 10:12:19 +02: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
Cenk Gündoğan
080590f587 Merge pull request #7222 from miri64/gnrc_ipv6_nib/feat/pl-component
gnrc_ipv6_nib: add prefix list component
2017-10-06 15:42:39 +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
43283ef16b Merge pull request #7064 from miri64/gnrc_ndp2/api/initial
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending
2017-10-06 13:33:36 +02:00
Martine Lenders
78474fc917
tests: provide tests for gnrc_ndp2 2017-10-06 13:06:17 +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
268f9b718c Merge pull request #7599 from aabadie/coap_examples_cleanup
coap: examples cleanup
2017-10-06 10:15:34 +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
smlng
7f73b756da tests, xtimer_hang: fix 32Bit timers, 16MHz 2017-10-05 11:24:46 +02:00
258f7b70f9 tests/unittests: add clist_sort() tests 2017-10-03 00:36:14 +02:00
75bb211c8b tests/pkg_microcoap: move microcoap_server example to tests 2017-09-28 22:26:00 +02:00
Joakim Nohlgård
2d5d42a57b Merge pull request #7499 from smlng/enh/fmt
sys, fmt: simplify fmt_s16_dfp, and update documentation
2017-09-28 19:03:17 +02:00
5cc8204e10 Merge pull request #7048 from smlng/enh/ps/schedstats
schedstats: revert to 32Bit, and enhance output of schedstats
2017-09-28 16:08:51 +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
f3cc8dfc4f Merge pull request #7579 from dylad/fix_tests_periph_i2c
tests/periph_i2c: fix some printfs
2017-09-07 09:25:56 +02:00
dylad
5153d4bec1 tests/periph_i2c: fix some printfs formatting
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-09-06 21:21:25 +02:00
smlng
9a7a8a17c6 doc, tests: fix non-standard quotes 2017-09-06 08:49:05 +02:00
516aca6b18 Merge pull request #7558 from kaspar030/add_xtimer_set_timeout_flag
sys: xtimer: add xtimer_set_timeout_flag()
2017-09-05 16:18:18 +02:00
Hauke Petersen
a8678aeaaf Merge pull request #6753 from haukepetersen/add_apa102
drivers: add driver for apa102 RGB LEDs
2017-09-04 11:22:15 +02:00
d8cf2517ed tests/thread_flags: add xtimer_set_timeout_flag() test 2017-09-01 23:54:36 +02:00
Hauke Petersen
ca4ee66867 tests: added test app for apa102 devices 2017-09-01 09:37:31 +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
Peter Kietzmann
c177a1a75d Merge pull request #6942 from smlng/driver/my9221
Add driver for MY9221 LED controller and (based on that) the Seeed Studio Grove LED bar
2017-08-30 09:21:33 +02:00
smlng
4fc150dfb9 tests: add driver_grove_ledbar test application 2017-08-30 09:07:35 +02:00
smlng
aa554d7cce tests: add driver_my9221 test application 2017-08-30 09:06:03 +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
Joakim Nohlgård
480f77065b Merge pull request #7514 from gebart/pr/netdev-set-const
netdev: Make set() value parameter const void *
2017-08-26 08:09:15 +02:00
016381525e tests/unittests: skip arduino-mkrzero 2017-08-25 15:33:03 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
Hauke Petersen
55de35345c tests/periph_rtc: repaired and cleaned up RTC test 2017-08-23 15:39:16 +02:00
Sebastian Meiling
675f665dd0 Merge pull request #7464 from OTAkeys/pr/lsm6dsl
drivers/lsm6dsl: add power up/down functions
2017-08-21 09:41:02 +02:00
Vincent Dupont
d5d306e316 tests/driver_lsm6dsl: add power down/up test 2017-08-18 15:08:58 +02:00
5cb0be3672 Merge pull request #7312 from miri64/ds1307/feat/initial
ds1307: initial import of a driver for the DS1307 RTC
2017-08-16 09:25:59 +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
MichelRottleuthner
0a9383228e stm32_common/periph/rtc: fix wrong read order of rtc regs, add wait for calender sync to rtc_set_time 2017-08-07 16:35:56 +02:00
Martine Lenders
94763ab7f2
tests: provide a test application for ds1307 2017-07-31 14:39:09 +02:00
87b9c75556 boards: rename nucleo-l1 to nucleo-l152 2017-07-17 18:24:15 +02:00
Francisco Acosta
1523186f99 Merge pull request #7209 from kYc0o/mcuboot_nrf52dk
Add MCUBoot linking options for RIOT images
2017-07-17 15:12:57 +02:00
kYc0o
2ff280d57f tests: add mcuboot test application 2017-07-17 14:48:28 +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
Sebastian Meiling
db4faa920a Merge pull request #7349 from MichelRottleuthner/xtimer_usleep_short
tests/xtimer: add small values test for xtimer_usleep
2017-07-11 13:50:15 +02:00
MichelRottleuthner
38a91d0a6f address comments by smlng 2017-07-11 12:33:26 +02:00
MichelRottleuthner
2390ea87d8 tests: add small values test for xtimer_usleep 2017-07-11 10:37:34 +02:00
6fb88425dd tests/driver_bmx280: enhance README and driver type selection 2017-07-09 23:25:41 +02:00
Martine Lenders
17a35a0e1d Merge pull request #7311 from miri64/bcd/feat/initial
bcd: initial import of binary coded decimal en-/decoder
2017-07-06 20:51:22 +02:00
Martine Lenders
d09999a127 tests: provide unittests for bcd 2017-07-06 20:43:30 +02:00
smlng
9a3c983d1c drivers, lsm6dsl: update test, and add README 2017-07-03 17:21:24 +02:00
57c51e4014 test: add sx127x test application 2017-06-30 19:00:59 +02:00
Michael Frey
5964eaa336 doc: changed include and function call in README 2017-06-29 14:03:53 +02:00
smlng
9bed191b4f tests: adapt driver_mpl3115a2 2017-06-29 09:57:17 +02:00
44fc2c6a2a Merge pull request #6176 from kaspar030/add_ssp_support
sys: add ssp support
2017-06-27 18:55:10 +02:00
7b1a1e9d81 tests: add SSP (stack smashing protector) test application 2017-06-27 18:05:14 +02:00
Martine Lenders
7a62a33ab2 Merge pull request #7230 from OTAkeys/pr/cbor
sys/cbor: remove default configuration and allow apps to enable features
2017-06-27 17:53:50 +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
4c717d42c1 tests: xtimer_msg_receive_timeout: always wait for not received message 2017-06-27 17:33:22 +02:00
Martine Lenders
cabb58bad6
tests: add application for release specs 6 2017-06-27 14:49:20 +02:00