mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/net/gnrc_sixlowpan_frag_sfr_congure_impl: fix path to zep_dispatch
This commit is contained in:
parent
25517c8739
commit
bb49079710
@ -8,6 +8,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
import contextlib
|
import contextlib
|
||||||
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
@ -19,6 +20,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(),
|
||||||
@ -135,7 +138,7 @@ def test_fragmentation(factory, zep_dispatch):
|
|||||||
def run_zep_dispatch():
|
def run_zep_dispatch():
|
||||||
zep_dispatch = Popen(
|
zep_dispatch = Popen(
|
||||||
[
|
[
|
||||||
'../../dist/tools/zep_dispatch/bin/zep_dispatch',
|
ZEP_DISPATCH_PATH,
|
||||||
'-t',
|
'-t',
|
||||||
'-',
|
'-',
|
||||||
'127.0.0.1',
|
'127.0.0.1',
|
||||||
|
Loading…
Reference in New Issue
Block a user