diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2019-10-29 19:12:03 -0400 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-11-18 13:14:06 +0000 |
commit | af62709c7421ae12fec2faf096664fed24c185f2 (patch) | |
tree | 94baeae00f67d6b0e34d6acef23264eb51123b86 /test | |
parent | b3f54ec401086996d4a0721cc27f271e5b10576b (diff) |
tests: decode worker stdout/stderr output
Type: fix
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I309254e9e99920fbeaa50eea503c1c2a9470abfe
(cherry picked from commit 97ea2f4ec0ec337a4d391f5225e89d12ba2ddb38)
Diffstat (limited to 'test')
-rw-r--r-- | test/framework.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/framework.py b/test/framework.py index 6a077ab724c..4e43224c302 100644 --- a/test/framework.py +++ b/test/framework.py @@ -1574,12 +1574,12 @@ class Worker(Thread): self.logger.info("Executable `{app}' wrote to stdout:" .format(app=self.app_name)) self.logger.info(single_line_delim) - self.logger.info(out) + self.logger.info(out.decode('utf-8')) self.logger.info(single_line_delim) self.logger.info("Executable `{app}' wrote to stderr:" .format(app=self.app_name)) self.logger.info(single_line_delim) - self.logger.info(err) + self.logger.info(err.decode('utf-8')) self.logger.info(single_line_delim) self.result = self.process.returncode |