mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
19585: tests: move leftover sys related tests to test/sys + move tests/sys/candev to tests/drivers r=aabadie a=aabadie 19586: tests: move net related applications to test/net r=aabadie a=aabadie Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
This commit is contained in:
commit
356a47d1bb
@ -19,6 +19,7 @@ APPLICATION_DIRS := \
|
||||
tests/core \
|
||||
tests/cpu \
|
||||
tests/drivers \
|
||||
tests/net \
|
||||
tests/periph \
|
||||
tests/pkg \
|
||||
tests/sys \
|
||||
|
@ -5,4 +5,4 @@ USEMODULE = atwinc15x0
|
||||
FEATURES_BLACKLIST += arch_msp430 cpu_core_atxmega
|
||||
|
||||
include ../Makefile.drivers_common
|
||||
include ../../netdev_common/Makefile.netdev.mk
|
||||
include ../../net/netdev_common/Makefile.netdev.mk
|
||||
|
@ -1 +1 @@
|
||||
../../netdev_common/main.c
|
||||
../../net/netdev_common/main.c
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.sys_common
|
||||
include ../Makefile.drivers_common
|
||||
|
||||
USEMODULE += shell
|
||||
USEMODULE += can
|
@ -1 +1 @@
|
||||
../../ieee802154_hal/common.h
|
||||
../../net/ieee802154_hal/common.h
|
@ -1 +1 @@
|
||||
../../ieee802154_hal/init_devs.c
|
||||
../../net/ieee802154_hal/init_devs.c
|
@ -1 +1 @@
|
||||
../../ieee802154_hal/common.h
|
||||
../../net/ieee802154_hal/common.h
|
@ -1 +1 @@
|
||||
../../ieee802154_hal/init_devs.c
|
||||
../../net/ieee802154_hal/init_devs.c
|
@ -1,5 +1,5 @@
|
||||
INCLUDES += -I$(APPDIR)
|
||||
BOARD ?= nrf52dk
|
||||
BOARD ?= nrf52840dk
|
||||
|
||||
include ../Makefile.drivers_common
|
||||
|
||||
|
@ -3,4 +3,4 @@ USEMODULE += xbee
|
||||
# No need of big buffer for this test
|
||||
GNRC_PKTBUF_SIZE ?= 512
|
||||
include ../Makefile.drivers_common
|
||||
include ../../netdev_common/Makefile.netdev.mk
|
||||
include ../../net/netdev_common/Makefile.netdev.mk
|
||||
|
@ -1 +1 @@
|
||||
../../netdev_common/main.c
|
||||
../../net/netdev_common/main.c
|
2
tests/net/Makefile.net_common
Normal file
2
tests/net/Makefile.net_common
Normal file
@ -0,0 +1,2 @@
|
||||
RIOTBASE ?= $(CURDIR)/../../..
|
||||
include $(CURDIR)/../../Makefile.tests_common
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
RIOTBASE ?= $(CURDIR)/../..
|
||||
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
USEMODULE += embunit
|
||||
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
USEMODULE += auto_init_gnrc_netif
|
||||
USEMODULE += auto_init_gnrc_rpl
|
@ -6,6 +6,7 @@
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import time
|
||||
|
||||
@ -16,6 +17,8 @@ from riotctrl.ctrl import RIOTCtrlBoardFactory
|
||||
from riotctrl_ctrl import native
|
||||
from riotctrl_shell.netif import IfconfigListParser
|
||||
|
||||
RIOTBASE = os.getenv("RIOTBASE", os.path.abspath(os.path.join(os.path.dirname(__file__), "../../../")))
|
||||
ZEP_DISPATCH_PATH = os.path.join(RIOTBASE, "dist/tools/zep_dispatch/bin/zep_dispatch")
|
||||
PARSERS = {
|
||||
"ping6": GNRCICMPv6EchoParser(),
|
||||
"ifconfig": IfconfigListParser(),
|
||||
@ -120,8 +123,7 @@ def test_linear_topology(factory, zep_dispatch):
|
||||
|
||||
|
||||
def run_test(func, factory):
|
||||
with Popen(['../../dist/tools/zep_dispatch/bin/zep_dispatch',
|
||||
'-t', '-', '127.0.0.1', '17754'], stdin=subprocess.PIPE) as zep_dispatch:
|
||||
with Popen([ZEP_DISPATCH_PATH, '-t', '-', '127.0.0.1', '17754'], stdin=subprocess.PIPE) as zep_dispatch:
|
||||
try:
|
||||
func(factory, zep_dispatch)
|
||||
finally:
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
# generate random free port
|
||||
DHCPV6_SERVER_PORT := 61342
|
@ -1,5 +1,5 @@
|
||||
DEVELHELP := 1
|
||||
include $(CURDIR)/../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
export TAP ?= tap0
|
||||
|
@ -1,5 +1,5 @@
|
||||
DEVELHELP := 1
|
||||
include $(CURDIR)/../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
export TAP ?= tap0
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
RIOTBASE ?= $(CURDIR)/../..
|
||||
|
@ -1,6 +1,6 @@
|
||||
# use samr21-xpro as default:
|
||||
BOARD ?= samr21-xpro
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
# Currently, GoMacH has only been tested and evaluated through on samr21-xpro and iotlab-m3
|
||||
# nodes. Once GoMacH has also been tested through on other devices, the whitelist should
|
@ -1,6 +1,6 @@
|
||||
DEVELHELP := 1
|
||||
# name of your application
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
export TAP ?= tap0
|
||||
|
@ -1,6 +1,6 @@
|
||||
DEVELHELP := 1
|
||||
# name of your application
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
export TAP ?= tap0
|
||||
|
@ -1,6 +1,6 @@
|
||||
DEVELHELP = 1
|
||||
# name of your application
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
export TAP ?= tap0
|
||||
|
@ -1,5 +1,5 @@
|
||||
DEVELHELP := 1
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
USEMODULE += gnrc_ipv6_router_default
|
||||
USEMODULE += gnrc_netif
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
USEMODULE += gnrc_ipv6
|
||||
USEMODULE += gnrc_ipv6_nib
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.net_common
|
||||
|
||||
USEMODULE += gnrc_ipv6
|
||||
USEMODULE += gnrc_sixlowpan
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user