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

49 Commits

Author SHA1 Message Date
Martine Lenders
7ae90564d9 gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
This way the IID generation gets much simplified and code duplication
is avoided since it removes GNRC's requirement for NETOPT_IPV6_IID.
2019-01-14 13:42:58 +01:00
1de4ae743a tests: exclude nrf51dk from big tests 2018-12-04 08:37:00 +01:00
0d71c1ccf7
gnrc_netif: Use fmt for bytes to hex string 2018-10-04 13:34:18 +02:00
Silke Hofstra
ee82d4fbfe boards, examples, tests: rename stm32mindev to blackpill 2018-09-19 16:22:14 +02:00
472bd0ae01 tests: remove obsolete local test targets 2018-09-07 15:13:08 +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
cladmi
4a9187f74c
tests/gnrc: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:18 +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
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
8ab79e94c1
tests/gnrc_netif: enable CI tests 2018-08-07 18:05:07 +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
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
Marian Buschsieweke
e0bf20728c
examples, tests: Updated BOARD_INSUFFICIENT_MEMORY
Added stm32mindev to BOARD_INSUFFICIENT_MEMORY where needed
2018-06-04 09:03:30 +02:00
kenrabold
db4d67c4fd make: add hifive1 to BOARD_INSUFFICIENT_MEMORY
Added HiFive1 to BOARD_INSUFFICIENT_MEMORY list for examples and tests that are too big to fit

build: fixed missing syscall and cpuid failures

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

build: fixed whitespace error

build: add hifive1 to more BOARD_INSUFFICIENT_MEMORY

doc: fixed doxygen warnings

Addressed Doxygen warnings in source file comments

doc: more doxygen fixes

doc: even more doxygen fixes

doc: more changes

build: fix pedantic and rdci_simple build failures

make: exclude lua
2018-05-29 16:27:53 -07:00
Martine Lenders
f97db647e0 tests: test netif.h operations for GNRC 2018-05-29 19:49:30 +02:00
3bbf8c01ab boards/nucleo-f303k8: rename to st marketing name 2018-05-23 12:51:41 +02:00
633a92929d boards/nucleo-l031k6: rename to st marketing name 2018-05-23 12:50:33 +02:00
81700d4301 boards/nucleo-f042k6: rename to st marketing name 2018-05-23 12:49:40 +02:00
3e4f7adc95 boards/nucleo-f031k6: rename to st marketing name 2018-05-23 12:46:42 +02:00
a5436e0b66 boards/nucleo-l073rz: rename to marketing name 2018-05-22 22:02:57 +02:00
18435609ce boards/nucleo-l053r8: rename to marketing name 2018-05-22 22:02:57 +02:00
b0912659b5 boards/nucleo-f334r8: rename to marketing name 2018-05-22 21:52:41 +02:00
72df36909b boards/nucleo-f302r8: rename to marketing name 2018-05-22 21:52:41 +02:00
2004fb2881 boards/nucleo-f103rb: rename to marketing name 2018-05-22 21:52:41 +02:00
4b20095dc8 boards/nucleo-f072rb: rename to marketing name 2018-05-22 21:52:41 +02:00
9acde8e148 boards/nucleo-f070rb: rename to marketing name 2018-05-22 21:52:41 +02:00
bd6a7c3d26 boards/nucleo-f030r8: rename to marketing name 2018-05-22 21:52:41 +02:00
Gaëtan Harter
154fbcff35
tests: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 10:52:26 +02:00
Martine Lenders
1b7de325b3 tests: gnrc_netif: provide test cases for invalid input 2018-04-03 17:33:19 +02:00
2f179f26bb sys/net/gnrc/netif: adapt to netdev with iolist 2018-03-06 14:00:31 +01:00
smlng
2ed609a810 tests/gnrc_netif: fix unused parameter
Test does not compile when DEVELHELP=0 otherwise.
2018-01-30 19:57:30 +01:00
3a572d82cd
Merge pull request #8252 from miri64/gnrc_netif/api/rename-ipv6_addr
gnrc_netif: rename IPv6 address "setters"
2017-12-18 17:00:31 +01:00
smlng
6f67e75f90 tests: remove DEVELHELP from per test Makefiles 2017-12-14 17:54:13 +01:00
Martine Lenders
eb08a509ca tests: fix tests/gnrc_netif for changes in #6895 2017-12-13 15:44:19 +01:00
Martine Lenders
2ae30cf582 gnrc_netif: rename IPv6 address "setters"
This renames the following functions

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

by appending the suffix `_internal`.

\## Reasoning

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

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

```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
        xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
Martine Lenders
ba2453d320
Merge pull request #8247 from aabadie/pr/tests/python_E305
tests: fix python style E305
2017-12-13 10:52:57 +01:00
87b14d96c8 tests: fix python style E402
E402 module level import not at top of file
2017-12-12 22:40:03 +01:00
d3015f0a57 tests: fix python style E305
expected 2 blank lines after class or function definition, found 1
2017-12-12 15:43:27 +01:00
9f4096059e tests: fix python E127 'continuation line over/under-indented for visual indent' 2017-12-03 20:18:56 +01:00
Cenk Gündoğan
ac1a645fd1
Merge pull request #8190 from kaspar030/name_tests_by_folder
tests: set APPLICATION from folder name
2017-12-01 11:39:19 +01:00
fc2eff9fba tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
c4f66edba1 tests: fix python style 'E302 expected 2 blank lines, found 1' 2017-11-29 17:32:06 +01:00
Martine Lenders
cd3b1f3b42
examples: tests: remove remaining pca1000x references 2017-11-28 13:28:58 +01:00
Martine Lenders
5e491513b1
tests: add bluepill to gnrc_netif's insufficient memory list 2017-11-17 16:10:24 +01:00
Martine Lenders
f90a9a875f
gnrc_ndp2: rename to gnrc_ndp 2017-11-17 10:41:54 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00