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

36 Commits

Author SHA1 Message Date
Jose Alamos
67ed9defbe gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
e9af310159
tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
francisco
55b11b7925
boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
Gunar Schorcht
535863b80a tests/gnrc_ipv6_ext_frag: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Leandro Lanzieri
6481076866 tests/gnrc_ipv6_ext_frag: Add Kconfig default configurations
This test needs the pool size for limit objects set to 3 by default so
it does not fail. As this is done with the 'app.config' file, we
explicitly disable Kconfig by default.
2020-01-30 17:42:42 +01:00
Leandro Lanzieri
e1e302f8d1 tests/gnrc_ipv6_ext_frag: Set limits pool size if not set by Kconfig 2020-01-30 17:42:42 +01:00
Leandro Lanzieri
5602bd55ed gnrc/ipv6/ext/frag: Move configurations to 'CONFIG_' namespace
Macros that changed:
GNRC_IPV6_EXT_FRAG_SEND_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_SEND_SIZE
GNRC_IPV6_EXT_FRAG_RBUF_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE
GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE
GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US -> CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US
2020-01-30 17:42:41 +01:00
01d7384b7d
tests/gnrc_*: remove useless BOARD_BLACKLIST
chronos is indirectly blacklisted because of missing periph_uart feature.
hamilton doesn't provide periph_uart when stdio_rtt is disabled (because
of ethos dependency to stdio_uart) and ruuvitag/thingy52 provide the
periph_uart feature so stdio_uart can work on these boards.
2020-01-14 07:48:08 +01:00
PeterKietzmann
9e83d12bc0 net/gnrc/netif: Move GNRC_NETIF_IPV6_ADDRS_NUMOF to 'CONFIG_' namespace 2020-01-13 12:28:37 +01:00
PeterKietzmann
b28a586702 net/gnrc/netif: Move GNRC_NETIF_DEFAULT_HL to 'CONFIG_' namespace 2020-01-13 12:28:37 +01:00
Martine Lenders
26a1348a9a
Merge pull request #12867 from fjmolinas/pr_tests_no_reset_dep
tests: adapt tests so they can use `tests_utils_interactive_sync`
2019-12-12 15:47:21 +01:00
Francisco Molina
341a4b5bfd tests/gnrc_%: use tests_utils_interactive_sync 2019-12-12 10:13:34 +01:00
Francisco Molina
5bf1a22472 tests/gnrc_ipv6_ext_frag: refactor to not depend on reset
Using the shell to run unittests allows not needing
to wait for a string at the start of the test which
makes the test independent having the application reset
after the terminal is open. The same goes for triggering
sending UDP test pkts.
2019-12-12 10:13:33 +01:00
805907ee0f
tests/gnrc_ipv6_ext_frag: move board specific deps in Makefile.board.dep 2019-12-06 21:18:48 +01:00
benpicco
e81d040a26
Merge pull request #12799 from chudov/derfmega-PR
boards/derfmega*: initial support
2019-11-28 13:57:56 +01:00
15d58760a9
Merge pull request #12822 from fjmolinas/pr_fix_eol
tests: fix tests matching varied sized group regex
2019-11-28 08:01:30 +01:00
chudov
0a151a78da boards/derfmega*: initial support 2019-11-27 20:53:14 +01:00
Francisco Molina
416c048737 tests: add test_utils_interactive_sync when possible
- Define test_utils_interactive_sync as DEFAULT_MODULE in Makefile.tests_common
- For tests disabling autoinit, add test_utils_interactive_sync to main
- Add DISABLE_MODULE += test_utils_interactive_sync for tests requiring
  sudo,  `tests/shell`, `tests/minimal` and `tests/stdin`
- Add shell_commands to tests/periph_wdt and tests/struct_tm_utility to
  pull `r` and `s` commands
- Remove includes and usage in `tests/main.c` for tests that where
  already using test_utils_interactive_sync
2019-11-27 15:07:42 +01:00
Francisco Molina
3db9eab6d9 tests: expect match \r\n or \s
- Since `printf()` is buffered it might not arrive in a single
  read to pexpect. Regex which terminate in a group match might
  match only some elements, this might break tests that depend
  on exact group matching.
2019-11-27 14:12:12 +01:00
Francisco Molina
41e9f06b85 flake8: fix PEP8 W608 invalid escape sequence 2019-11-22 11:47:49 +01:00
Marian Buschsieweke
edb03cceb7
tests: Added atmega1284p to Makefile.ci
Added the ATmega1284P on a breadboard to the Makefile.ci for tests that
require more RAM/ROM than provided.
2019-11-18 00:08:01 +01:00
Leandro Lanzieri
c3a02d86df tests/gnrc_ipv6_ext_frag: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Martine Lenders
8eee53b7bd tests/gnrc_ipv6_ext_frag: add bl*pill to BOARD_INSUFFICIENT_MEMORY 2019-11-07 11:04:58 +01:00
Jose Alamos
f77eba2e53 gnrc_ipv6_ext_frag: add board to insufficient memory list 2019-10-30 14:23:34 +01:00
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
Martine Lenders
42968ccc6b
Merge pull request #12528 from benpicco/ifconfig_scope
shell_commands: gnrc_netif: print correct scope for IPv6 address
2019-10-21 15:16:47 +02:00
Benjamin Valentin
2ff7c474b7 shell_commands: gnrc_netif: print correct scope for IPv6 addr
Previously `ifconfig` would only know link-local addresses
(printed as 'local') and everything else would be 'global'.

This is wrong for site-local and unique local addresses which were
also denoted as global.

So use the already existing helper functions to determine the correct
type of IPv6 address when printing.
2019-10-21 14:47:34 +02:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Benjamin Valentin
c01eae3239 tests: add microduino-corerf to Makefile.ci 2019-10-17 20:38:47 +02:00
Marian Buschsieweke
fd6fedaab6
tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Moved the BOARD_INSUFFICIENT_MEMORY list into Makefile.ci
- Formatted the list to contain one board per line
- Sorted the lists alphabetically
2019-10-17 15:11:59 +02:00
Martine S. Lenders
18597c4ab4 tests/gnrc_ipv6_ext_frag: update BOARD_INSUFFICIENT_MEMORY 2019-10-10 17:09:35 +02:00
Martine S. Lenders
07a6b5425e tests/gnrc_ipv6_ext_frag: add test for nth frag with full rbuf first
Adds a test case for when the following conditions cause a crash:

- a subsequent fragment is received before the first
- the reassembly buffer is currently filled up when another fragment of
  a different datagram arrives and thus needs to be cached out to make
  room for the new reassembly
2019-10-10 16:41:47 +02:00
Martine S. Lenders
40f721a4b8 tests/gnrc_ipv6_ext_frag: move static const to global space 2019-10-10 16:19:55 +02:00
Martine Lenders
55143bb017 tests: fix copyright attribution and doc
While looking at tests/gnrc_ipv6_ext_frag again while writing
RIOT-OS/Release-Specs#137, I noticed that several of tests that I
definitely wrote myself from scretch are attributed wrong (and
sometimes even documented wrong). I guess this was caused by just
copy-pasting the files...
2019-10-04 20:58:57 +02:00
Martine Lenders
e62bb9c414 tests: provide tests for gnrc_ipv6_ext_frag fragmentation 2019-09-17 18:55:18 +02:00
Martine Lenders
269af28599 tests: provide initial tests for gnrc_ipv6_ext_frag 2019-09-16 19:13:19 +02:00