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/core \
|
||||||
tests/cpu \
|
tests/cpu \
|
||||||
tests/drivers \
|
tests/drivers \
|
||||||
|
tests/net \
|
||||||
tests/periph \
|
tests/periph \
|
||||||
tests/pkg \
|
tests/pkg \
|
||||||
tests/sys \
|
tests/sys \
|
||||||
|
@ -5,4 +5,4 @@ USEMODULE = atwinc15x0
|
|||||||
FEATURES_BLACKLIST += arch_msp430 cpu_core_atxmega
|
FEATURES_BLACKLIST += arch_msp430 cpu_core_atxmega
|
||||||
|
|
||||||
include ../Makefile.drivers_common
|
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 += shell
|
||||||
USEMODULE += can
|
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)
|
INCLUDES += -I$(APPDIR)
|
||||||
BOARD ?= nrf52dk
|
BOARD ?= nrf52840dk
|
||||||
|
|
||||||
include ../Makefile.drivers_common
|
include ../Makefile.drivers_common
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ USEMODULE += xbee
|
|||||||
# No need of big buffer for this test
|
# No need of big buffer for this test
|
||||||
GNRC_PKTBUF_SIZE ?= 512
|
GNRC_PKTBUF_SIZE ?= 512
|
||||||
include ../Makefile.drivers_common
|
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)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
USEMODULE += embunit
|
USEMODULE += embunit
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
USEMODULE += auto_init_gnrc_netif
|
USEMODULE += auto_init_gnrc_netif
|
||||||
USEMODULE += auto_init_gnrc_rpl
|
USEMODULE += auto_init_gnrc_rpl
|
@ -6,6 +6,7 @@
|
|||||||
# General Public License v2.1. See the file LICENSE in the top level
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import time
|
import time
|
||||||
|
|
||||||
@ -16,6 +17,8 @@ from riotctrl.ctrl import RIOTCtrlBoardFactory
|
|||||||
from riotctrl_ctrl import native
|
from riotctrl_ctrl import native
|
||||||
from riotctrl_shell.netif import IfconfigListParser
|
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 = {
|
PARSERS = {
|
||||||
"ping6": GNRCICMPv6EchoParser(),
|
"ping6": GNRCICMPv6EchoParser(),
|
||||||
"ifconfig": IfconfigListParser(),
|
"ifconfig": IfconfigListParser(),
|
||||||
@ -120,8 +123,7 @@ def test_linear_topology(factory, zep_dispatch):
|
|||||||
|
|
||||||
|
|
||||||
def run_test(func, factory):
|
def run_test(func, factory):
|
||||||
with Popen(['../../dist/tools/zep_dispatch/bin/zep_dispatch',
|
with Popen([ZEP_DISPATCH_PATH, '-t', '-', '127.0.0.1', '17754'], stdin=subprocess.PIPE) as zep_dispatch:
|
||||||
'-t', '-', '127.0.0.1', '17754'], stdin=subprocess.PIPE) as zep_dispatch:
|
|
||||||
try:
|
try:
|
||||||
func(factory, zep_dispatch)
|
func(factory, zep_dispatch)
|
||||||
finally:
|
finally:
|
@ -1,4 +1,4 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
# generate random free port
|
# generate random free port
|
||||||
DHCPV6_SERVER_PORT := 61342
|
DHCPV6_SERVER_PORT := 61342
|
@ -1,5 +1,5 @@
|
|||||||
DEVELHELP := 1
|
DEVELHELP := 1
|
||||||
include $(CURDIR)/../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
export TAP ?= tap0
|
export TAP ?= tap0
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
DEVELHELP := 1
|
DEVELHELP := 1
|
||||||
include $(CURDIR)/../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
export TAP ?= tap0
|
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)/../..
|
RIOTBASE ?= $(CURDIR)/../..
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
# use samr21-xpro as default:
|
# use samr21-xpro as default:
|
||||||
BOARD ?= samr21-xpro
|
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
|
# 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
|
# nodes. Once GoMacH has also been tested through on other devices, the whitelist should
|
@ -1,6 +1,6 @@
|
|||||||
DEVELHELP := 1
|
DEVELHELP := 1
|
||||||
# name of your application
|
# name of your application
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
export TAP ?= tap0
|
export TAP ?= tap0
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
DEVELHELP := 1
|
DEVELHELP := 1
|
||||||
# name of your application
|
# name of your application
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
export TAP ?= tap0
|
export TAP ?= tap0
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
DEVELHELP = 1
|
DEVELHELP = 1
|
||||||
# name of your application
|
# name of your application
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
export TAP ?= tap0
|
export TAP ?= tap0
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
DEVELHELP := 1
|
DEVELHELP := 1
|
||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
USEMODULE += gnrc_ipv6_router_default
|
USEMODULE += gnrc_ipv6_router_default
|
||||||
USEMODULE += gnrc_netif
|
USEMODULE += gnrc_netif
|
@ -1,4 +1,4 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
USEMODULE += gnrc_ipv6
|
USEMODULE += gnrc_ipv6
|
||||||
USEMODULE += gnrc_ipv6_nib
|
USEMODULE += gnrc_ipv6_nib
|
@ -1,4 +1,4 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.net_common
|
||||||
|
|
||||||
USEMODULE += gnrc_ipv6
|
USEMODULE += gnrc_ipv6
|
||||||
USEMODULE += gnrc_sixlowpan
|
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