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

79 Commits

Author SHA1 Message Date
Erik Ekman
91be3adac8 tests/lwip_sock: Take lock before calling etharp
Fixes #17144
2021-11-05 18:45:04 +01:00
Dave VanKampen
55ea8cfb97 boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Jose Alamos
4e6f299af0
lwip: avoid explicit cast to netdev 2021-07-09 11:35:16 +02:00
Benjamin Valentin
d3ca85ad65 tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
Bas Stottelaar
74e1ac29ac tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
Benjamin Valentin
0c36a57e4e tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
Marian Buschsieweke
1282ab1203
tests/lwip_sock_udp: Added test for sock_aux_local 2020-12-04 12:51:49 +01:00
Bas Stottelaar
6deaf39e5d tests/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
05fbeb65b1
tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
Benjamin Valentin
69a7eb5efa tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
Martine S. Lenders
4696a773de
examples / tests: pull in sock API not implementation 2020-09-07 08:45:25 +02:00
Marian Buschsieweke
eb1279005c
tests: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 09:08:01 +02:00
Martine S. Lenders
53b5f37295
tests/lwip_sock_{ip,udp}: extend tests for new function 2020-04-28 09:46:07 +02:00
Gunar Schorcht
ad4f1993b2 tests/lwip_sock_udp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Jose Alamos
3ad574a822 drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
Francisco Molina
e0855dedfd
tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +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
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
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
300c3abf2b
tests/lwip_sock_udp: fix sizeof address param in mempcy
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
2019-10-21 08:09:51 +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
3eae2f7b79 pkg/lwip: add arch_32bit feature dependency 2019-10-13 21:03:41 +02:00
Gaëtan Harter
589d7e5a46
applications: remove mentions of jiminy-mega256rfr2
Remove the deprecated board from BOARD_BLACKLIST and BOARD_INSUFFICIENT_MEMORY.
2019-10-08 18:37:32 +02:00
4ac2b4ec2b
tests: exclude stm32l0538-disco board
because of insufficient memory available
2019-07-08 21:50:36 +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
07a7ae9c3a
test: not enough memory for i-nucleo-lrwan1 2019-05-21 09:57:33 +02:00
Martine Lenders
31f72e29be tests: remove NETOPT_IPV6_IID dependency from lwip_sock_udp 2019-03-29 13:21:58 +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
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
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
Gunar Schorcht
e6cf33eb4c tests/lwip*: blacklist esp8266 boards 2019-01-24 10:29:19 +01:00
910b088094
Merge pull request #10172 from miri64/tests/fix/lwip_sock_array_address
tests/lwip_sock_{i,ud}p: correctly get array address
2018-10-17 20:36:33 +02:00
Martine Lenders
98c63e4995 tests: provide tests for reception on sock with port 0 2018-10-17 20:27:48 +02:00
Martine Lenders
bf8ebbac81 tests/lwip_sock_{i,ud}p: correctly get array address
We want the address of the start of the array.
2018-10-17 11:43:11 +02:00
Martine Lenders
6789a0b246 tests/lwip_sock_udp: make non-static consts static 2018-10-16 19:09:23 +02:00
Martine Lenders
a5370ff6df tests/lwip_sock_udp: make IPv4 address byteorder static 2018-10-16 19:09:23 +02:00
Martine Lenders
9cced4e806 tests/lwip_sock_udp: enlarge message queue due to more NDP messages 2018-10-15 21:32:34 +02:00
Martine Lenders
7fd55803ee tests/lwip_sock_*: adapt for address zoning 2018-10-15 21:32:34 +02:00
472bd0ae01 tests: remove obsolete local test targets 2018-09-07 15:13:08 +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
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
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
Michel Rottleuthner
aca8953827 tests: add nucleo-f303k8 to BOARD_INSUFFICIENT_MEMORY 2018-07-17 17:52:12 +02:00
Martine Lenders
db4796b04e tests: adapt lwip_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
32057a8c46 tests: fix doxygen grouping 2018-06-11 19:12:02 +02:00