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
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