From 3ff2edfe33c755c28def5b18b4e77599be9f2f6b Mon Sep 17 00:00:00 2001 From: Martine Lenders <m.lenders@fu-berlin.de> Date: Fri, 16 Nov 2018 15:30:52 +0100 Subject: [PATCH] tests/gnrc_rpl_srh: output unittests as text --- tests/gnrc_rpl_srh/Makefile | 2 ++ tests/gnrc_rpl_srh/tests/01-run.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/gnrc_rpl_srh/Makefile b/tests/gnrc_rpl_srh/Makefile index 93532e0b88..1231460471 100644 --- a/tests/gnrc_rpl_srh/Makefile +++ b/tests/gnrc_rpl_srh/Makefile @@ -14,6 +14,8 @@ BOARD_BLACKLIST := chronos mips-malta ruuvitag export TAP ?= tap0 +CFLAGS += -DOUTPUT=TEXT + # use Ethernet as link-layer protocol ifeq (native,$(BOARD)) USEMODULE += netdev_tap diff --git a/tests/gnrc_rpl_srh/tests/01-run.py b/tests/gnrc_rpl_srh/tests/01-run.py index 41797d723b..c86d7ca0a0 100755 --- a/tests/gnrc_rpl_srh/tests/01-run.py +++ b/tests/gnrc_rpl_srh/tests/01-run.py @@ -331,7 +331,7 @@ def testfunc(child): tap = get_bridge(os.environ["TAP"]) child.expect(r"OK \((\d+) tests\)") # wait for and check result of unittests - print(".", end="", flush=True) + print("." * int(child.match.group(1)), end="", flush=True) lladdr_src = get_host_lladdr(tap) child.sendline("ifconfig") child.expect("HWaddr: (?P<hwaddr>[A-Fa-f:0-9]+)") -- GitLab