sanitycheck: all output from flasher goes to logger.debug
Redirect all output from flasher to logger.debug(). Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
f16ed8e0b8
commit
fa8085eb7b
|
@ -790,8 +790,8 @@ class DeviceHandler(Handler):
|
|||
with subprocess.Popen(command, stderr=subprocess.PIPE, stdout=subprocess.PIPE) as proc:
|
||||
try:
|
||||
(stdout, stderr) = proc.communicate(timeout=30)
|
||||
if VERBOSE:
|
||||
print(stdout.decode())
|
||||
logger.debug(stdout.decode())
|
||||
|
||||
if proc.returncode != 0:
|
||||
self.instance.reason = "Device issue (Flash?)"
|
||||
with open(d_log, "w") as dlog_fp:
|
||||
|
|
Loading…
Reference in a new issue