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

3331 Commits

Author SHA1 Message Date
Marian Buschsieweke
5ea305f352
tests/periph_i2c: Adapted to new i2c_release() 2019-08-27 13:59:20 +02:00
harisanthosh
f583368842 net/gnrc/udp: Adding Null pointer check in gnrc_netif_hdr_build 2019-08-26 12:46:26 -07:00
Kevin "Tristate Tom" Weiss
b9a01437be
Merge pull request #12072 from cladmi/pr/test_tools/shell_no_echo
tests/test_tools: add a test for the testing tools environment
2019-08-26 17:12:14 +02:00
Ken Bannister
47ef5c1656 net/nanocoap: add unit test for iterate options 2019-08-24 07:46:54 -04:00
570f95f2bb
tests/pkg_semtech-loramac: disable rx thread for arduino-mega2560
Otherwise the application cannot be linked for this platform
2019-08-23 21:08:35 +02:00
Kevin "Tristate Tom" Weiss
1b1c902dd3
Merge pull request #12022 from JannesVolkens/tmp00x
driver/tmp00x: make tmp006 more generic
2019-08-23 13:26:09 +02:00
cladmi
b3cb076286
tests/test_tools: add a test for the testing tools environment
Check the interaction with a board through make term.
It is using a shell without echo or prompt for reference.

It currently checks that there is no local echo.
2019-08-23 12:14:52 +02:00
Jannes
90c4ef04ef driver/tmp00x: Change tmp006 to tmp00x and add tmp007
Rename TMP006 to TMP00x
Add TMP007 sensor support to TMP00X
Change uint8_t reg to uint16_t
Add to doxygen documentation group
Expose compile time configurations
Move defines from .c to .h
Change double to float, because double is not needed
Add TMP007 register information
2019-08-23 12:11:16 +02:00
Juan I Carrano
647b0cdd29
Merge pull request #12040 from cladmi/pr/tests/unittests/move_cpp_test
tests/cpp_ctors: move tests-cpp_ctors out of unittests
2019-08-22 15:46:38 +02:00
349b83c117
Merge pull request #6927 from OTAkeys/pr/ncv7356
can: add ncv7356 SW transceiver driver
2019-08-22 15:18:35 +02:00
Gaëtan Harter
1e0ca7ca7f
tests/unittests: remove the 'DISABLE_TEST_FOR_ARCH'
Remove the arch disabling tests handling as now unused.

If something like this is necessary again the test must be put
outside of unittests.
2019-08-22 12:39:47 +02:00
Gaëtan Harter
5638881e5b
tests/cpp_ctors: move tests-cpp_ctors out of unittests
This moves 'unittests/tests-cpp_ctors' to its own test.
It prevents requiring 'cpp' in the 'unittests' that forced almost all
architectures to link the unittests with `g++`.
It also removes the need to have disabled tests for architectures.

Some boards were actually not big enough to compile unittests.
But were hidden by the 'cpp' missing feature.

Blacklist boards that were disabled for cpp test even though they
provide the 'cpp' feature.
2019-08-22 12:39:47 +02:00
Gaëtan Harter
1ec4e45f77
tests/unittests: blacklist 8/16bit boards as they do not compile
The boards do not compile the unittests due to issue with too long
integers and other issues.
2019-08-22 10:52:58 +02:00
Juan I Carrano
c35cbda1bf
Merge pull request #12038 from cladmi/pr/tests/crypto/add_rfc_nist_tests
tests/sys_crypto: add RFC3610 and NIST SP 800-38C tests
2019-08-21 18:46:43 +02:00
Gaëtan Harter
46c79018f3
tests/sys_crypto: add tests from NIST SP 800-38C
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
d61f3c23ca
tests/sys_crypto: add remaining tests from RFC 3610
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
1e7242ac82
tests/sys_crypto: change naming and formatting
* use names with RFC
* add terminating comma
* remove newlines between tests values

This prepares for the format of the next commit adding all RFC tests.
This will reduce the number of changes in upcoming commit.
2019-08-21 17:52:45 +02:00
Gaëtan Harter
330b9669a3
tests/sys_crypto: move tests-crypto out of unittests
This moves unittests/tests-crypto to its own test.
It should allow adding big test vectors without preventing boards from
running the tests.
2019-08-21 17:52:45 +02:00
Juan I Carrano
e7957e6d9b
Merge pull request #11688 from cladmi/pr/tests/pthread_rwlock/enable_in_ci
tests/pthread_rwlock: run the test in CI
2019-08-21 17:15:53 +02:00
Marian Buschsieweke
938b36a29c
Merge pull request #12054 from cladmi/pr/unittests/sht1x/limit_test_vectors_on_board
unittests/sht1x: decrease the amount of tested values on board
2019-08-21 16:03:04 +02:00
Gaëtan Harter
9cd08d4999
tests/pthread_rwlock: run the test in CI
HACK, the test currently fails in CI for `native` due to `utf-8` handling.
2019-08-21 15:46:47 +02:00
Gaëtan Harter
0aae704fd4
tests/pthread_rwlock: lock around prints
The test assumes that 'printf/puts' are non interruptible operations.
Use a mutex to guarantee it.

Without this, the automated test was failing in some configurations with
lines being cut by others.
2019-08-21 15:46:19 +02:00
Gaëtan Harter
2a24c7ee20
unittests/sht1x: decrease the amount of tested values on board
Reduce the amount of tested values by a 100.
This makes the testing time go from 3 minutes to 2 seconds on
`frdm-kw41z`.

Testing that the integer calculation matches the float one does not need
to be performed on the full range on boards. Checking some values should
be enough to detect overflow issues.
The full range checking is kept on native.
2019-08-21 14:54:35 +02:00
Gaëtan Harter
8e5422ff78
applications: remove 'TEST_ON_CI_WHITELIST += all'
This is now the default so not required anymore.
2019-08-21 12:51:17 +02:00
Gaëtan Harter
084c6f739d
tests/lwip: disable failing test
The test fails on both murdock and on my machine due to the process
exiting directly.

pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
2019-08-21 12:49:24 +02:00
Gaëtan Harter
1f11843623
tests/pkg_fatfs_vfs: disable tests that need setup
The test need a manual setup that cannot currently be done in CI.
2019-08-21 12:49:00 +02:00
Gaëtan Harter
f7176f425f
tests/gnrc: disable tests that need setup and root
Disable running tests that need a setup and run with root as they cannot
currently be run in CI.
2019-08-21 12:46:51 +02:00
Gaëtan Harter
12d4b71c31
tests/socket_zep: define TEST_ON_CI_BLACKLIST
HACK, the test currently fails in CI for 'native' due to binding issue
2019-08-21 12:40:40 +02:00
Gaëtan Harter
095268a33a
tests/netstats_l2: run the test in CI
HACK, blacklist native as it fails to create a tun interface in murdock.
2019-08-21 12:40:40 +02:00
Gaëtan Harter
622fe2c28f
tests/pthread_rwlock: run the test in CI
HACK, the test currently fails in CI for `native` due to `utf-8` handling.
HACK, the test implementation can fail due being de-scheduled during printf.
2019-08-21 12:40:40 +02:00
Vincent Dupont
af66fe101d can/isotp: allow changing FC options at runtime 2019-08-21 11:16:56 +02:00
Vincent Dupont
cb15c86024 tests/can_trx: add ncv7356 build 2019-08-21 11:05:51 +02:00
d6356bdc08
Merge pull request #11692 from maribu/fmt_table
sys/fmt: Added submodule fmt_table for printing tables
2019-08-20 22:18:54 +02:00
Peter Kietzmann
11b4bab101
Merge pull request #10340 from maribu/cc110x_rewrite
drivers/cc110x: Complete rewrite from scratch
2019-08-20 17:58:21 +02:00
Marian Buschsieweke
a84de4225d
examples,tests: Add msba2 to BOARD_PROVIDES_NETIF 2019-08-20 17:05:09 +02:00
Juan I Carrano
d2970332fc
Merge pull request #12009 from cladmi/pr/application/board_equal/bug
dist/tools/build_system_sanity_check: check BOARD set as ?=
2019-08-20 16:52:21 +02:00
Marian Buschsieweke
f33b963ef4
tests: Added test for the cc110x driver
The test application provides:
- RIOT's basic network utilities such as `ping6`
- A custom `cc110x` shell command that can be used print the low level device
  and driver state. This is mostly useful for debugging.
2019-08-20 16:40:15 +02:00
Marian Buschsieweke
18bc0ce5fc
tests/driver_ltc4150: Use new fmt_table API 2019-08-20 14:33:15 +02:00
Marian Buschsieweke
615e25f319
drivers: Removed driver for CC110x transceivers
- Removed cc110x driver
- Updated all makefiles
- Kept both board specific configurations and support for it in RIOT's
  upper layers, so re-implementations don't need to start from zero
2019-08-19 12:56:47 +02:00
913614ef04
Merge pull request #11004 from jcarrano/shell_cancel_line_ctrl-c
sys/shell: cancel current line on CTRL-C.
2019-08-16 13:00:33 +02:00
Juan Carrano
2946f4b192 tests/shell: Test cancelling a line with ctrl-C.
Send garbage, cancel it and issue a valid command. No errors should
ocurr.
2019-08-15 17:40:17 +02:00
Juan Carrano
3f46863426 tests/shell: use tuple instead of dictionary in test scripts.
Python dictionaries are not guaranteed to be ordered until version
3.7. In 3.6 they are ordered too, but that is an implementation
detail. riotdocker seems to be using 3.5.

As it stands now, it would not be a problem if the test commands
are run in a random order, except that:

- It would result in non-reproduceable tests.
- It hinders testing other functionality, such as exiting the shell.
2019-08-15 17:13:42 +02:00
Juan Carrano
cdfece682f tests/shell: Use socat as the RIOT_TERMINAL.
For test scripts, a terminal that does not modify the input and output
streams, configured without local echo, is preferred as it ensures the
test setup is introducing as little noise as possible.
2019-08-15 17:12:54 +02:00
Gaëtan Harter
ac8a6cf3a3
tests/libfixmath: use test_utils_interactive_sync
Replace the 'xtimer_sleep' hack to prevent flooding at startup to use
test_utils_interactive_sync for synchronizing.
2019-08-15 12:30:59 +02:00
Gaëtan Harter
4c209ab8d7
tests/libfixmath: explicitly import ARRAY_SIZE definition
ARRAY_SIZE is implicitly imported by "xtimer.h" which will be removed of
this file.
2019-08-15 12:30:37 +02:00
Gaëtan Harter
ed27d3b68b
tests/posix_time: use test_utils_interactive_sync
Use test_utils_interactive_sync for synchronizing test instead of the
custom 'getchar' handling.
2019-08-15 12:26:28 +02:00
Gaëtan Harter
1172ca9f93
tests/xtimer_usleep: use test_utils_interactive_sync
Use test_utils_interactive_sync for synchronizing test instead of the
custom 'getchar' handling.
2019-08-15 12:26:28 +02:00
Gaëtan Harter
f193ffd604
tests/cond_order: use test_utils_interactive_sync
Use test_utils_interactive_sync for synchronizing some case treat
the output before `reset` as the start of the test,
which fails for some boards/configurations.
2019-08-15 12:26:28 +02:00
Gaëtan Harter
a9e7e1b1d0
tests: do not unconditionally set BOARD
Remove unconditionally setting 'BOARD' to an hardwritten value.
The definition must be moved before including 'Makefile.tests_common' as
it defines 'BOARD ?= native'.
2019-08-14 17:11:34 +02:00
Francisco
414df99a4c
Merge pull request #11083 from cladmi/pr/docker/hack/bootloader
tests/mcuboot: handle building in docker
2019-08-14 15:17:44 +02:00
Marian Buschsieweke
c225636966
Merge pull request #10555 from gschorcht/irq_handler
sys: single interrupt handler thread for interrupts in modules with blocking functions
2019-08-13 15:08:53 +02:00
Gunar Schorcht
5fe75a9766 tests/sys_irq_handler: test for sys/irq_handler
Test application for sys/irq_handler.
2019-08-13 14:50:48 +02:00
Francisco
7705f6a93e
Merge pull request #11968 from aabadie/pr/tests/printf_format
tests/log_printfnoformat: add test application & script
2019-08-12 16:58:42 +02:00
Martine Lenders
0bfef4cdae tests/gnrc_ndp: enhance coverage 2019-08-09 11:47:08 +02:00
Francisco
ca2b00875a
Merge pull request #11687 from cladmi/pr/tests/pkg_u8g2/enable_in_ci
tests/pkg_u8g2: run the test in CI
2019-08-08 10:15:56 +02:00
Hauke Petersen
02df6ab13f
Merge pull request #11000 from miri64/gnrc_sixlowpan_frag/new/vrb
gnrc_sixlowpan_frag: initial import of the VRB
2019-08-07 17:33:01 +02:00
Martine Lenders
2cd46e57ab tests: add unittests for gnrc_sixlowpan_frag_vrb 2019-08-07 16:19:36 +02:00
Hauke Petersen
4a75d0bdd5
Merge pull request #11463 from aabadie/nimble_nrf51
pkg/nimble: adapt to nrf51 family
2019-08-07 13:54:32 +02:00
Juan I Carrano
ff57a904e3
Merge pull request #10271 from mtausig/aes_rv
Fix return value of aes_init for keys of incorrect length
2019-08-07 13:26:25 +02:00
Mathias Tausig
0d80383a5c crypto: Add tests for aes_init return value on bad key length 2019-08-07 11:02:16 +02:00
Mathias Tausig
17b2f3ac54 crypto: Call AES tests with real key length 2019-08-07 11:02:16 +02:00
Mathias Tausig
0352c7406d crypto: Fix code style 2019-08-07 11:02:16 +02:00
Hauke Petersen
b72f606ef4
tests/nimble_l2cap: adjust buffer sizes for nrf51 2019-08-07 09:53:55 +02:00
Benjamin Valentin
4918dfe590 tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
accff501d9
tests/log_printfnoformat: add test application & script 2019-08-06 12:05:52 +02:00
60455a9f3a
Merge pull request #11962 from fjmolinas/pr_nucleol152re_qdsa
tests/pkg_qdsa: increase timeout
2019-08-05 16:18:46 +02:00
Francisco Molina
b2b915d217 tests/pkg_qdsa: increase timeout
- Some boards take longer than the default timeout to finish the test,
  e.g. nucleo-l152re
2019-08-05 15:27:36 +02:00
Hauke Petersen
2e73e7f043 tests: add Nordic SoftDevice test app 2019-08-05 12:09:00 +02:00
Hauke Petersen
7e9c7ee98d tests/nimble_l2cap: adjust buffer sizes 2019-08-01 16:15:56 +02:00
Martine Lenders
6e9612f1d1
Merge pull request #11928 from gschorcht/sys/event/detached_init
sys/event: fix of compilation problems
2019-07-29 17:02:14 +02:00
Gunar Schorcht
dcfd83c1ba tests/event: use EVENT_QUEUE_INIT_DETACHED
Changes the test so that EVENT_QUEUE_INIT_DETACHED is used for the initialization of detached event queue. Without this change, a compilation problem was not recognized for ESP8266, MSP430 and MIPS.
2019-07-29 16:40:41 +02:00
Francisco
9028be5e08
Merge pull request #11925 from leandrolanzieri/pr/tests/sx127x_reset_cmd
tests/driver_sx127x: Add reset command
2019-07-29 14:42:40 +02:00
Leandro Lanzieri
a9ab9d37e2
Merge pull request #11765 from kb2ma/coap/encode_resources
net/gcoap: add/publish link format attributes for a resource
2019-07-27 22:36:33 +02:00
Ken Bannister
d481ca9da7 net/gcoap: add selectable function to write a link 2019-07-27 07:09:40 -04:00
Leandro Lanzieri
3fd65f7517 tests/driver_sx127x: Add reset command 2019-07-26 13:53:33 +02:00
Juan I Carrano
7d3817e8f1
Merge pull request #11686 from cladmi/pr/tests/lua_loader/enable_in_ci
tests/lua_loader: run the test in CI
2019-07-26 12:14:10 +02:00
Martine S. Lenders
b8b1e4c0fb tests/gnrc_netif: check if if_pid is set correctly in header
Previously this was not tested and excepted KERNEL_PID_UNDEF == 0 as
legal value for received `gnrc_netif_hdr`s (which except for the
loopback interface is wrong)
2019-07-25 14:15:37 +02:00
kenrabold
e4bee51a9d tests/* : blacklisting for hifive1b 2019-07-19 13:25:18 -07:00
Martine Lenders
7d2cb71c51
Merge pull request #11564 from pokgak/credman
sys: add credman (D)TLS credential management module
2019-07-19 16:38:47 +02:00
Marian Buschsieweke
d15b8201b4
Merge pull request #10717 from keestux/refactor-evtimer-add-del
sys/evtimer: refactor evtimer add()/del()
2019-07-19 15:00:29 +02:00
Aiman Ismail
0a3f12ebbc tests: add credman unit tests 2019-07-19 13:56:40 +02:00
Aiman Ismail
8f75ff6b9a tests/unittests: rename set_up/tear_down caller
Renames the `tests_<module>_<header>_set_up` and in EMB_UNIT_TESTCALLER
`tests_<module>_<header>_tear_down` to `set_up` and `tear_down` respectively.
2019-07-19 12:10:12 +02:00
8150b014b1
Merge pull request #11801 from kaspar030/update_pkg_libcose
pkg/libcose: bump version
2019-07-18 09:44:32 +02:00
Kees Bakker
ea11de5258 tests/evtimer_msg: modify test to delete entries
The evtimer_msg test is expanded to also delete entries.

Furthermore the messages that are printed should now show
numbers that are very close (if not equal). Something like
this:
At    740 ms received msg 0: "#2 supposed to be 740"
At   1081 ms received msg 1: "#0 supposed to be 1081"
At   1581 ms received msg 2: "#1 supposed to be 1581"
At   4035 ms received msg 3: "#3 supposed to be 4035"

The function evtimer_print is also called to show the
intermediate status of evtimer entries.
2019-07-17 20:52:12 +02:00
Gaëtan Harter
78ca09dd43
tests/devfs: move tests-devfs out of unittests
This moves unittests/tests-devfs to its own test.
It prevents requiring `periph_hwrng` in the `unittests`.
2019-07-17 16:05:39 +02:00
40c89531d2 tests/pkg_libcose: update to nanocbor-based libcose
Co-authored-by: Francisco Molina <femolina@uc.cl>
2019-07-17 10:31:18 +02:00
43c3e43c40 tests/riotboot: add re-flashing and image selection test 2019-07-15 11:30:49 +02:00
Kevin "Bear Puncher" Weiss
da3a17212e
Merge pull request #11831 from jcarrano/farewell-mips-malta
boards/mips-malta: remove board.
2019-07-13 16:07:46 +02:00
Gaëtan Harter
50449b341c
tests/pkg_u8g2: run the test in CI
HACK, the test currently fails in CI for `native` due to `utf-8` handling.
2019-07-12 18:52:54 +02:00
Gaëtan Harter
ce58a32ba9
tests/lua_loader: run the test in CI
HACK, the test currently fails in CI for `native` due to `utf-8` handling.
2019-07-12 18:52:18 +02:00
6c895e1484
Merge pull request #11743 from cladmi/pr/ci/add_test_blacklist
murdock: introduce 'TEST_ON_CI_BLACKLIST'
2019-07-12 13:56:31 +02:00
Juan I Carrano
ee6b6b9c38 boards/mips-malta: remove board.
The mips-malta board is a maintainance burden, has no working UART input
and is unobtainable and thus must be removed.

1. Unobtainable board
=====================

The mips-malta board is not an off-the-shelf part. A quick web
search only show the MIPS website where one is told to "contact sales".

I could find it on ebay, used, at €155 and from single seller.

Not having access to the board means:

a. We cannot maintain it. In fact it could be broken right now.
b. Potential RIOT uses have not access to the board either. In other
   words, it is pointless to run on hardware nobody has.

2. No working UART input
========================

Not all applications need UART input, but that is no excuse for not supporting
it:

a. Makes development & debugging way harder.
b. It is impossible to run interactive tests.
 b.1. Constrains the rest of the platforms by providing an incentive to not
      make tests interactive.
c. The lack of UART is a witness to the poor quality of the port.

I want to stress point (c). If something as basic as a serial port cannot work,
how can we expect more complex fucntionality to work. The answer is impossible
to know, because of point (1).

3. Maintainance burden
======================

The RIOT project has limited time and human resources which can be better spent.

a. Compiling for mips-malta wastes CPU time.
b. Blacklisting the board in the test wastes contributor's time.
c. Adapting the board's makefile during build system rework takes time and makes
   the reworks harder.
 c.1. Add to that that the changes are most of the time not even tested on the board
      because of (1). Look at the github issues/PRs and you will see it.
d. Developers usually stick to the lowest common denominator. Issue (2) sets this
   denominator unacceptably low.

MIPS platform in general
========================

In commits I will address general issues in the MIPS platform and why it should all
be removed.
2019-07-12 12:24:52 +02:00
Francisco
ba5106df4f
Merge pull request #9517 from aabadie/pr/board/stm32l0538-disco
boards/stm32l0538-disco: add initial support
2019-07-09 09:06:14 +02:00
4ac2b4ec2b
tests: exclude stm32l0538-disco board
because of insufficient memory available
2019-07-08 21:50:36 +02:00
8370acb2ff tests/riotboot_flashwrite: blacklist some boards
Adding saml1[01]-xpro, nucleo-f302r8|f334r8 to
BOARDS_INSUFFICIENT_MEMORY.

The riotboot build fails because it only offers half the flash size (per
slot), compared to before where the default build would not use riotboot
at all, thus have double the flash (but being useless).
2019-07-08 16:54:43 +02:00
bb71e979f3 riotboot: set FLASHFILE to RIOTBOOT_EXTENDED_BIN
... if the riotboot feature is used.

Previously, even an application that had "FEATURES_REQUIRED += riotboot"
set would still flash the non-riotboot binary on "make flash".
This is usualy not what the user wants.

This commit set's the FLASHFILE variable to the combined "riotboot
bootloader + slot0 + empty slot1" binary. This has the effect that make
all, flash and flash-only will compile and/or flash a working riotboot
setup.

tests/riotboot and tests/riotboot_flashwrite now default to flashing the
riotboot-extended binary. tests/riotboot was previously configured to
use the riotboot-combined binary. This has been changed in order to not
behave differently than how usual riotboot applications do.
2019-07-08 16:33:01 +02:00
34d20f4e36
tests/nanocbor: enable for 8 and 16 bit platforms 2019-07-05 20:48:39 +02:00
91d982733f
Merge pull request #11600 from bergzand/pr/pkg/nanocbor
nanocbor: Initial support for the nanocbor package
2019-07-05 15:07:04 +02:00
86db9b88de
nanocbor: Add small test application 2019-07-05 14:26:18 +02:00
Francisco
ad23896696
Merge pull request #11777 from aabadie/pr/tests/pkg_semtech_loramac_init_twice
tests/pkg_semtech-loramac: don't init the mac from main
2019-07-04 18:15:45 +02:00
Martine Lenders
16f0751102
Merge pull request #11745 from miri64/gnrc_ipv6/fix/rm-dangerous-dup
gnrc_ipv6: remove obsolete and harmful reception code
2019-07-03 23:50:06 +02:00
Martine S. Lenders
b8269316e6 tests: add test case for pointer confusion
When subscribing to IPv6 packets on a router for sniffing, the NETIF
header is released prematurely, because of a wrong
`gnrc_pktbuf_start_write()` call. This test aims to reproduce this
error case.
2019-07-03 14:44:03 +02:00
660b375082
tests/pkg_semtech-loramac: don't init mac from main
This application already uses auto_init and semtech_loramac_init is already called from auto_init_loramac
2019-07-03 14:42:26 +02:00
Leandro Lanzieri
326ec30074
Merge pull request #11741 from jcarrano/deprecate-ubjson
sys/ubjson: deprecate module.
2019-06-28 19:41:21 +02:00
Juan Carrano
3b8deac3e9 sys/ubjson: deprecate module.
Summary for Users
=================

 Deprecation is scheduled for 2020.01.
 Users which depend on this module and cannot switch libraries may copy
 the code into to their own application.

As expressed in PR #11724, the UBJSON module has issues which are not easy
or worth fixing.

Before removing the module, it should be marked as deprecated to give users
time to either migrate to another library, or copy the code to their own
private repo.

The deprecation warning has been supressed from the unit tests. This has the
ugly side-effect of supressing deprecation warning in other unit tests too,
but that should not last long, only until the module is finally deleted.
2019-06-28 18:28:16 +02:00
Juan I Carrano
50ea0d822c
Merge pull request #11664 from cladmi/pr/make/variables_lazy_evaluation
makefiles/utils/variables: add functions to help managing variables
2019-06-28 17:11:29 +02:00
6c271f6927
Merge pull request #11736 from jia200x/pr/sx127x_netops
sx127x: add several NETOPT for GNRC LoRaWAN
2019-06-28 15:23:56 +02:00
Jose Alamos
398cf6648f tests/sx127x: add handlers for new NETOPTs 2019-06-28 11:36:11 +02:00
Gaëtan Harter
2c5eeca47a
makefiles/utils: function to memoize a variable evaluation
This allow deferring a variable evaluation to its usage but still
benefit from only evaluating it once on multiple uses.
2019-06-28 11:34:43 +02:00
Gaëtan Harter
fcf8c4782d
makefiles/utils: function to export variables for a target
This allows exporting variables only for some target.
It will allow not exporting variables when not needed, and so prevent
unnecessary evaluation.
2019-06-28 11:33:54 +02:00
Leandro Lanzieri
6938df1f82
Merge pull request #11659 from aabadie/pr/tests/driver_rn2xx3_tx_mode_fix
tests/driver_rn2xx3: fix invalid element index for txmode
2019-06-28 10:39:39 +02:00
José Alamos
14f91388bd
Merge pull request #11754 from jia200x/pr/sx127x_test_unc
drivers/sx127x: uncrustify main file
2019-06-27 15:43:21 +02:00
Jose Alamos
0a73369aea tests/driver_sx127x: uncrustify main file 2019-06-27 14:45:16 +02:00
Sebastian Meiling
4f5ce88ba6
Merge pull request #7421 from OTAkeys/pr/dev_urandom
devfs: add /dev/urandom and /dev/hwrng
2019-06-26 21:33:32 +02:00
Gaëtan Harter
bdd721fff4
tests/xtimer: blacklist native instead of whitelisting
Blacklist native for the xtimer tests that have timing issues.

This also enables running the test on `nrf52dk` as I think it was
forgotten when adding the support.
2019-06-26 17:53:58 +02:00
Gaëtan Harter
eab0a88642
Merge pull request #11679 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/first_tests
tests/xtimer_mutex_lock_timeout: add simple case test
2019-06-26 16:27:39 +02:00
JulianHolzwarth
b3d2324ccf tests/xtimer_mutex_lock_timeout: new test for mutex locked
New test function cmd_test_xtimer_mutex_lock_timeout_long_locked.
In this test the mutex is locked and the timeout is long.
When it works the thread continues running and stops waiting for the mutex and
the function will return that it did not get the mutex.
2019-06-26 15:28:25 +02:00
JulianHolzwarth
f207c6adc6 tests/xtimer_mutex_lock_timeout: minimal xtimer_mutex_lock_timeout test
Adding a first normal test case where the mutex is unlocked and the timeout is long.
The timer will not trigger in this test and instead wil be removed after getting the mutex.
2019-06-26 15:26:15 +02:00
5e2f2672e9
tests/*: add stdio_ethos as dependency instead of just ethos 2019-06-23 22:16:04 +02:00
d73a6c837b
tests/stdin: add non regression test for stdin 2019-06-22 22:10:20 +02:00
9c7a1e6a27
tests/lua_loader: add stdin dependency 2019-06-20 16:01:45 +02:00
7f5a402267
tests/posix_time,xtimer_usleep: add stdin dependency 2019-06-20 16:01:45 +02:00
Dylan Laduranty
ea36d68703
Merge pull request #11077 from bergzand/pr/usb/cdcecm
usbus: Add CDC-ECM (Ethernet Control Model) function
2019-06-14 18:44:27 +02:00
b13ef786bd
usbus_cdc_ecm: add test application 2019-06-14 17:15:19 +02:00
Hauke Petersen
4e9efe1fee
Merge pull request #11673 from aabadie/pr/exemples/nimble_radio_ble
pkg/nimble: add dependency to ble_nimble feature + remove board whitelist from tests and examples
2019-06-13 15:51:14 +02:00
Gaëtan Harter
224372d773
tests/lua_loader: remove deprecated test target
The test target is now defined in the common `Makefile.include`.
This removes the warning

    Makefile: warning: overriding recipe for target 'test'
    Makefile.include: warning: ignoring old recipe for target 'test'
2019-06-13 10:37:33 +02:00
e41df0c693
tests/nimble*: remove useless board whitelist 2019-06-12 17:41:31 +02:00
Leandro Lanzieri
864247d6ca unitttests/sock_util: Test null pointer in urlsplit 2019-06-12 10:03:11 +02:00
Gaëtan Harter
33b3b5f3ee
tests/netstats_l2: use BOARD_WHITELIST
Use BOARD_WHITELIST instead of calculating BOARD_BLACKLIST from BOARDS.

The output of `make info-boards-supported` kept the same.
2019-06-07 15:32:39 +02:00
5f5e58f1e2
tests/driver_rn2xx3: fix invalid element index to txmode 2019-06-07 10:47:23 +02:00
Kevin "Bear Puncher" Weiss
002e033f5e
Merge pull request #11612 from ben-postman/pr_cc26x0_uart_mode
cpu/cc26x0: implement uart_mode()
2019-06-06 15:43:07 +02:00
Ben Postman
567fa8e32d tests/periph_uart_mode: Add uart_mode test for single UART MCU
The existing periph_uart test depends on having more than one UART.
This test allows for manual testing with the use of a probe

on-behalf-of: @sparkmeter <ben.postman@sparkmeter.io>
2019-06-06 08:46:33 -04:00
Martine Lenders
71a7dc3539 unittests: add tsrb tests 2019-06-05 17:54:56 +02:00
Gaëtan Harter
bbb6dec054
Merge pull request #11630 from fjmolinas/pr_kinetis_ld
kinetis/ldscript: handle _rom_offset
2019-06-05 16:12:25 +02:00
francisco
985ee95d41 tests/cortexm_common_ld_script: add kinetis to whitelist 2019-06-04 18:11:55 +02:00
Martine Lenders
6b582fd5d0
Merge pull request #11593 from miri64/ipv6_ext/feat/frag
ipv6_ext: add fragmentation extension definitions
2019-06-04 17:12:51 +02:00
Martine Lenders
3e6cfcdb8c tests: provide unittests for ipv6_ext_frag 2019-06-04 16:24:28 +02:00
Gaëtan Harter
24a54fe853
tests/mcuboot: handle building 'mcuboot' in docker
When using BUILD_IN_DOCKER only make 'all' execute 'mcuboot' target when
inside the container. Otherwise it will execute it using your host
toolchain.

This is a hack and could be prevented by having a file target put in
FLASHFILE.

This does currently not allow flashing after building in docker as
flashing should be done with `mcuboot-flash` which will not be done in
docker. It would require the `FLASHFILE` fix to be done properly.
2019-06-03 18:09:32 +02:00
Leandro Lanzieri
f56709e0bb
Merge pull request #9726 from jcarrano/lua-loader-fix
pkg/lua: Make the module searchers conform to the API.
2019-06-03 11:47:06 +02:00
Juan Carrano
913f74b90b tests/lua_loader: test the RIOT-customized lua loader.
For the RIOT port of Lua, the module loader has been more or less
rewritten to allow for easily integrating source modules defined in static
arrays and C modules embedded in the application.

So  far the loader had not been tested (and a bug was found). This test
should give a bit more certainty that the RIOT integration works as it
should.
2019-05-31 17:16:06 +02:00
Francisco
d1f06bd9c7
Merge pull request #8855 from aabadie/pr/pkg/semtech-loramac_shell
sys/shell: add loramac shell command
2019-05-29 18:06:05 +02:00
Peter Kietzmann
3e33c11c16
Merge pull request #11606 from leandrolanzieri/pr/tests/shell_stdio_rtt_fix
tests/shell: Initialize xtimer when stdio_rtt is used
2019-05-29 17:41:49 +02:00
Juan I Carrano
c6affd7388
Merge pull request #11602 from cladmi/pr/unittests/clean_board_insufficient_memory
tests/unittests: enable boards with enough memory
2019-05-29 17:23:13 +02:00
Leandro Lanzieri
859250c66f tests/shell: Init xtimer when stdio_rtt is used 2019-05-29 17:18:30 +02:00
fd9b3c7b84
tests/pkg_semtech-loramac: use auto-init to initialize the mac 2019-05-29 16:53:53 +02:00
fdeba82b16
tests/pkg_semtech-loramac: use system shell command 2019-05-29 16:53:52 +02:00
56fb2578bf
tests/pkg_semtech-loramac: use semtech_loramac_rx with supported boards 2019-05-29 16:24:53 +02:00
14a4db137c
tests/pkg_semtech-loramac: conditionally build RX related code 2019-05-29 16:24:52 +02:00
0838cf99bb
tests/pkg_semtech-loramac: add RX thread for downlink messages 2019-05-29 16:24:23 +02:00
Vincent Dupont
c8655ab164 unittests: add random/hwrng tests in tests-devfs 2019-05-29 15:50:25 +02:00
Sebastian Meiling
1216c5f3b8
Merge pull request #11601 from cladmi/pr/unittests/remove_large_tests
tests/unittests: remove unused LARGE_STACK_TESTS
2019-05-29 11:12:12 +02:00
0c59ea132f
Merge pull request #11338 from lpaulic/pr/drivers-ds18-whitelist
tests/drivers_ds18: add tested boards to the board whitelist
2019-05-29 10:54:41 +02:00
Kevin "Bear Puncher" Weiss
772dcd189b
Merge pull request #11532 from leandrolanzieri/pr/drivers/at_rcv-functions
drivers/at: Add 'at_recv_bytes_until_string' function
2019-05-29 09:55:33 +02:00
Kevin "Bear Puncher" Weiss
6616032150
Merge pull request #9941 from bergzand/pr/pkg/monocypher/v205
pkg/monocypher: bump version to 2.0.5
2019-05-29 09:55:08 +02:00
Peter Kietzmann
2bc524fb4d
Merge pull request #10228 from bergzand/pr/checksum/fletcher16_split
Fletcher16: extend with multi-part functions
2019-05-28 22:49:19 +02:00
Gaëtan Harter
7286a99e55
tests/unittests: enable boards with enough memory
Now that tests with packages have been moved out of `unittests`
re-enable boards with enough memory.

The removed boards list matches the boards that now compiled locally
with `BUILD_IN_DOCKER=1 make buildtest` and also the output of murdock
for boards that were able to link despite being in the list:

    avsextrem:gnu
    cc2538dk:gnu
    firefly:gnu
    mbed_lpc1768:gnu
    msba2:gnu
    openmote-b:gnu
    openmote-cc2538:gnu
    remote-pa:gnu
    remote-reva:gnu
    remote-revb:gnu
    seeeduino_arch-pro:gnu
2019-05-28 21:54:33 +02:00
Gaëtan Harter
d17b092232
tests/unittests: remove renamed openmote
The board as renamed to openmote-cc2538.
2019-05-28 21:54:19 +02:00
Gaëtan Harter
ecd174c488
tests/unittests: remove unused LARGE_STACK_TESTS
All tests that were in LARGE_STACK_TESTS have been moved out of the directory.
This handling is not needed anymore.
2019-05-28 20:50:20 +02:00
Cenk Gündoğan
b6655a2bba
Merge pull request #10988 from miri64/gnrc_sixlowpan_frag/enh/expose-interval-type
gnrc_sixlowpan_frag: prepare reassembly base types for VRB
2019-05-28 18:55:55 +02:00
Gaëtan Harter
79877679e4
Merge pull request #10210 from bergzand/pr/pkg/spiffs_move
tests/spiffs: Move from unittests to regular test
2019-05-28 18:53:20 +02:00
Peter Kietzmann
3e5a00d14c
Merge pull request #11595 from cladmi/pr/tests_rng/fix_for_msp430
tests/rng: fix for msp430
2019-05-28 18:44:37 +02:00
Francisco
b8d602abdc
Merge pull request #11583 from aabadie/pr/pkg/semtech-loramac-cflags
pkg/semtech-loramac: move region CFLAGS definitions from applications to pkg
2019-05-28 18:42:03 +02:00
e80fccaf50
Merge pull request #11511 from gdoffe/scanf_float
sys: add pseudomodule scanf_float
2019-05-28 18:23:43 +02:00
Martine Lenders
52e4247798 gnrc_sixlowpan_frag: introduce reassembly buffer base class 2019-05-28 18:07:42 +02:00
Martine Lenders
495eaa36a6 gnrc_sixlowpan_frag: remove unnecessary type indirection
The members of `rbuf_t` and `gnrc_sixlowpan_rbuf_t` are now identical
so we can remove the internal type.
2019-05-28 18:07:42 +02:00
Martine Lenders
8cc5d94956 gnrc_sixlowpan_frag: add arrival time to public type
The arrival time is also needed for the VRB's garbage collection.
2019-05-28 18:07:42 +02:00
Martine Lenders
b84e496563 gnrc_sixlowpan_frag: add intervals to public type
The fragment intervals are also required by the VRB, so make them part
of the public representation of a reassembly buffer.
2019-05-28 18:07:42 +02:00
eb7d7d6d99
tests/spiffs: Move from unittests to regular test 2019-05-28 17:41:11 +02:00
1d38863e2e
tests/littlefs: Move from unittests to regular test 2019-05-28 17:39:26 +02:00
Gaëtan Harter
381382b61a
tests/rng: take into account stack buffers and printf
Take into account stack buffers and printf for allocating the default
stack size.

This solves stack size issues with `wsn430-v1_3b` and `z1`.
It now have a main stack usage of 514 bytes out of 768 on `wsn430-v1_3b`.
2019-05-28 15:43:15 +02:00
Gaëtan Harter
d1c454790f
tests/rng: alloc shell buffer in .data
Do not allocate the shell buffer on stack to reduce stack usage.
2019-05-28 15:43:15 +02:00
Gaëtan Harter
0e66b18f0c
tests/rng: expect shell prompt in test
Be more pedantic in expected output for shell commands.

For slow boards, `ws430-v1_3b/arduino-mega2560/msba2`, some commands
were sent before the output of the previous command.
2019-05-28 15:43:15 +02:00
Juan Carrano
66c66b59a5 tests/unittests: add tests for scanf_float.
Newlib-nano does not seem to support hexadecimal floats or the %a
specifier. What is even weirder, it reports a successful conversion
anyways.

Tests for these two cases have been commented out.
2019-05-28 12:10:39 +02:00
Gaëtan Harter
fe81c51dcd
tests/cortexm_common_ldscript: update code section for kinetis
Update the 'code' section detection to also work on kinetis.

The boards using 'cortexm.ld' have the code section starting with
'.text'. For the 'cpu/kinetis/kinetis.ls' the first section is '.vector'.

Update the 'awk' matching pattern to correctly detect the kinetis boards.
It is a dependency to allow testing upcoming offset support with kinetis.

I am not 100% sure about the pattern for awk.
2019-05-27 15:45:49 +02:00
92ee05289a
tests/pkg_semtech_loramac: remove useless lora region cflags 2019-05-26 11:47:16 +02:00
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