aboutsummaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-11-21 16:50:24 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-12 07:43:14 +0000
commitc7e400f8af801639ba9b855da78eb0d8fca9032f (patch)
tree1878fdb01a529d1b926526eb1562f6e0d3d0f609 /test/framework.py
parentcb3edd53e8ba606245c9965a374f7719d4367a60 (diff)
tests: display stdout and stderr when output caching is disabled
Type: fix Change-Id: I4286ba58bb15dd67c1199f76166bedf3b4e0344c Signed-off-by: Benoît Ganne <bganne@cisco.com> (cherry picked from commit 1a7ed5e3e62dfe77832022a46ee32d744a347ac5)
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/framework.py b/test/framework.py
index 046a601e3e3..3f89b8dade2 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -170,7 +170,7 @@ def pump_output(testclass):
testclass.vpp_stdout_deque.extend(split[:limit])
if not testclass.cache_vpp_output:
for line in split[:limit]:
- testclass.logger.debug(
+ testclass.logger.info(
"VPP STDOUT: %s" % line.rstrip("\n"))
if testclass.vpp.stderr.fileno() in readable:
read = os.read(testclass.vpp.stderr.fileno(), 102400)
@@ -186,7 +186,7 @@ def pump_output(testclass):
testclass.vpp_stderr_deque.extend(split[:limit])
if not testclass.cache_vpp_output:
for line in split[:limit]:
- testclass.logger.debug(
+ testclass.logger.error(
"VPP STDERR: %s" % line.rstrip("\n"))
# ignoring the dummy pipe here intentionally - the
# flag will take care of properly terminating the loop