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

2426 Commits

Author SHA1 Message Date
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
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
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
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