Output subprocess stdout if it errored

Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
Yuto Takano 2021-08-06 21:27:59 +01:00
parent cfc9e4a275
commit 25eeb7b935

View File

@ -513,6 +513,7 @@ class NameCheck(object):
check=True check=True
) )
except subprocess.CalledProcessError as error: except subprocess.CalledProcessError as error:
self.log.debug(error.output)
self.set_return_code(2) self.set_return_code(2)
raise error raise error
finally: finally: