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

2658 Commits

Author SHA1 Message Date
Martine Lenders
3f8819dfe8
Merge pull request #10039 from smlng/pr/fix/bench_sizeof_coretypes
tests: enhance bench_sizeof_coretypes
2018-09-26 10:53:17 +02:00
smlng
3c202d0ad2 tests/bench_sizeof_coretypes: fix ifdef for wait_data attribute 2018-09-26 09:58:51 +02:00
smlng
368ee45986 tests/bench_sizeof_coretypes: use testrunner from pylib path 2018-09-26 09:58:51 +02:00
smlng
852c4baf00 tests: print missing thread_t attribute
This adds the `stack_size` attribute which wasn't printed right now
so for instance the numbers didn't add for the sizeof(thread_t) when
DEVELHELP was on its of by 4 bytes (on 32-Bit).
2018-09-26 09:58:51 +02:00
ad7ec70af0
Merge pull request #9863 from leandrolanzieri/pr/lora-serialization
pkg/lora-serialization: add support for lora-serialization format
2018-09-26 09:58:06 +02:00
Leandro Lanzieri
f2bda2bb69 pkg/lora-serialization: Add lora serialization external package
tests/pkg_lora-serialization: Add test application
2018-09-26 09:09:37 +02:00
61f3687ee2
Merge pull request #8864 from aabadie/pr/pkg/semtech-loramac_update_pkg
pkg/semtech-loramac: update to upstream v4.4.1 + cleanup
2018-09-26 08:57:40 +02:00
Martine Lenders
cf87144daa
Merge pull request #8793 from beduino-project/remove-cbor-module
sys/cbor: remove module
2018-09-25 23:15:59 +02:00
Martine Lenders
442df8227b
Merge pull request #9839 from MrKevinWeiss/pr/doc/repoupdate
doc: Add deprecation warnings for new repos
2018-09-25 23:15:07 +02:00
7bfef117fc tests/pkg_semtech-loramac: use new return codes in application 2018-09-25 22:22:13 +02:00
6e12b44d12 tests/pkg_semtech-loramac: adapt to pkg changes 2018-09-25 22:22:13 +02:00
dd789fcdaf tests/pkg_semtech_loramac: adapt to latest pkg version 2018-09-25 22:22:13 +02:00
Sören Tempel
e523e8f5ec sys/cbor: remove module
Fixes #7707
Fixes #7800
2018-09-25 21:07:29 +02:00
Martine Lenders
b0e541593f tests/gnrc_sixlowpan: provide EUI-64 for dummy netdev
The dummy netdev of this test doesn't provide any address. This adds at
least the IEEE 802.15.4 EUI-64 and makes the NETOPT_SRC_LEN option
dependent on it.
2018-09-25 18:45:14 +02:00
Martine Lenders
f1529b886c
Merge pull request #10014 from cladmi/pr/tests_libc/fix_for_llvm
tests/libc_newlib: fix pointers comparison for llvm
2018-09-25 15:50:37 +02:00
cladmi
ba2a8dfe8a
tests/libc_newlib: fix pointers comparison for llvm
With llvm and samr21-xpro, I could not directly do 'printf == iprintf'.
But doing `(printf - iprintf) == 0` correctly checked if they are equal.

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

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

Tests performed:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-07-11 10:06:18 +02:00
Martine Lenders
95c1992d97 tests: adapt gnrc_sock_dns for auto-configured DNS 2018-07-05 11:09:34 +02:00
Martine Lenders
fbf216f864 gnrc_sock_dns: Move DNS server end point to implementation 2018-07-05 11:01:22 +02:00
4ea93f3aea
Merge pull request #8542 from OTAkeys/pr/at_oob
drivers/at: at out-of-band data support for at commands parser
2018-07-04 19:01:28 +02:00
Francisco Acosta
4e9052e82e
Merge pull request #9366 from basilfx/feature/test_efm32_features
tests: cpu_efm32_features: add test application
2018-07-04 18:22:54 +02:00
Cenk Gündoğan
835f8f0daa
Merge pull request #9290 from PeterKietzmann/pr_sram_puf
Add SRAM based PRNG seeder
2018-07-04 18:08:53 +02:00
PeterKietzmann
2262a6e309 tests/puf_sram: add test application 2018-07-04 17:55:20 +02:00
Francisco Acosta
eb9dde2412
Merge pull request #9487 from bergzand/pr/pkg/monocypher/test_incr_stack
tests/monocypher: Increase stack space
2018-07-04 15:00:25 +02:00
2fbf684fc5
tests/monocypher: Increase stack space
As should have been done in the initial commit. Stack space set to the
amount described in the doc
2018-07-04 09:54:48 +02:00
Hyungsin
492c86b9d7 tests/driver_pir: remove redundant/double configuration from Makefile 2018-07-03 23:46:29 -07:00
Cenk Gündoğan
bf33941819
Merge pull request #9434 from miri64/gnrc_pktbuf_static/fix/alignment-race
gnrc_pktbuf_static: fix alignment issue / leaks
2018-07-02 16:32:13 +02:00
Martine Lenders
a6ac22af3b tests: fix gnrc_ndp tests for new alignment 2018-07-02 15:44:24 +02:00
Juan I Carrano
122ebb0b75
Merge pull request #9463 from bergzand/pr/pkg/monocypher/initial
Monocypher: Initial import of package
2018-07-02 14:55:23 +02:00
02362e8ddd
monocypher: Add public key signature test 2018-07-02 13:59:09 +02:00
Neil Jones
259e1accb2 pic32: Blacklist pic32 boards from some pkg tests
Temporarily blacklist pic32 boards from the emb6 and semtech-loramac package
tests as they are not building for MIPS yet.
2018-06-29 15:15:05 +01:00
Francisco Acosta
23d176f46b
Merge pull request #8857 from ZetaR60/RIOT_atmega_time_dot_h
cpu/atmega_common: Use updated time.h
2018-06-28 22:29:20 +02:00
Ken Bannister
03115a7c0c
Merge pull request #9444 from kb2ma/nanocoap/test_get_uri_path
net/nanocoap: test coap_get_uri() boundaries
2018-06-28 13:06:30 -04:00
Hauke Petersen
a5f2f0e1c0
Merge pull request #9453 from miri64/gnrc_sock_udp/fix/use-sock-ep
gnrc_sock_udp: use sock's local end-point for listening
2018-06-28 18:43:59 +02:00
Martine Lenders
647d1d2b01 tests: provide test for reception on sock with port 0 2018-06-28 17:38:12 +02:00
Gaëtan Harter
0a3375ba33
tests: use RIOTTOOLS variable
Add newly added tests
2018-06-28 14:05:33 +02:00
Ken Bannister
a7e5562268 net/nanocoap: test coap_get_uri() boundaries 2018-06-27 23:28:37 -04:00
Martine Lenders
0689f69ddd
Merge pull request #9431 from neiljay/pr/fix_size_t_usage
tests: Fix size_t vs int issues
2018-06-27 16:18:23 +02:00
Neil Jones
a77f1eea45 tests: Fix size_t vs int issues
size_t can be any unsigned type but is never a signed integer.
2018-06-27 15:04:07 +01:00
Joakim Nohlgård
21310e4260 tests/rng: Use xtimer for speed test timeout 2018-06-27 13:04:34 +02:00
6e6716a1a6
Merge pull request #9317 from maribu/sht1x
drivers/sht11: Major refactoring
2018-06-27 10:10:39 +02:00
Marian Buschsieweke
8e200673d3
tests/driver_sht1x: Added tests for sht1x 2018-06-27 08:58:07 +02:00
Marian Buschsieweke
2bff79ef56
tests/unittests: Added unit tests for sht1x
- Added unit tests for new integer only arithmetic
    - Temperature conversion differs at most 0.01°C from double arithmetic
    - Humidity conversions differs at most 0.1% from double arithmetic
2018-06-27 08:58:02 +02:00
Hyungsin
0c5c3d9b77 driver/pir: add pir-based occupancy sensing 2018-06-26 13:46:37 -07:00
Vincent Dupont
6aa2a55aaa tests/driver_at: add urc test commands 2018-06-26 10:03:46 -07:00
PeterKietzmann
85643ad01f tests/rng: add tests for random_uint32_range() 2018-06-26 14:08:46 +02:00
Cenk Gündoğan
bc57e901a8
Merge pull request #9374 from PeterKietzmann/pr_sys_sha1prng
sys/random: add SHA1PRNG
2018-06-22 16:22:09 +02:00
PeterKietzmann
3c4360eddb sys/random: add SHA1PRNG 2018-06-22 16:11:53 +02:00
smlng
854082272a tests/unittests: remove invisible unicode chars 2018-06-22 11:25:31 +02:00
smlng
3b84dad680 tests/unittests, cn_cbor: remove invisible unicode char from Makefile 2018-06-22 09:23:30 +02:00
Martine Lenders
579d9d78d4
Merge pull request #8823 from miri64/gnrc_ipv6_nib/feat/slaac
gnrc_ipv6_nib: add full RFC4862 DAD support
2018-06-21 14:10:36 +02:00
Martine Lenders
db4796b04e tests: adapt lwip_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Martine Lenders
01ef01f08e tests: adapt gnrc_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Cenk Gündoğan
4219ec9265
Merge pull request #9345 from bergzand/pr/fmt/strnlen
fmt: Add fmt_strnlen function
2018-06-18 11:23:53 +02:00
Bas Stottelaar
6386cc571a tests: cpu_efm32_features: add test application 2018-06-17 14:59:36 +02:00
99460669d3
Merge pull request #7786 from kaspar030/add_some_benchmarks
tests: add some benchmarks
2018-06-16 10:18:22 +02:00
3c9eb940d5 tests/bench_thread_yield_pingpong: initial commit 2018-06-15 23:04:54 +02:00
5bf1295836 tests/bench_thread_flags_pingpong: initial commit 2018-06-15 23:04:54 +02:00
94ba420ee3 tests/bench_sched_nop: initial commit 2018-06-15 23:04:54 +02:00
647fa6ba6e tests/bench_mutex_pingpong: initial commit 2018-06-15 23:04:54 +02:00