From: Benoît Ganne Date: Thu, 21 Nov 2019 15:50:24 +0000 (+0100) Subject: tests: display stdout and stderr when output caching is disabled X-Git-Tag: v20.05-rc0~300 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F23587%2F2;p=vpp.git tests: display stdout and stderr when output caching is disabled Type: fix Change-Id: I4286ba58bb15dd67c1199f76166bedf3b4e0344c Signed-off-by: Benoît Ganne --- diff --git a/test/framework.py b/test/framework.py index 0138d245577..02c56fbcfe4 100644 --- a/test/framework.py +++ b/test/framework.py @@ -171,7 +171,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) @@ -189,7 +189,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