1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-09 14:52:34 +01:00

telemetry: ignore errors in dividuation subtests.

check_output will ignore error code 1 returned by telemetry execution,
as this happens when individiual sub-tests and partial results may, and
should, still be extracted.
This commit is contained in:
Sergei Trofimov
2015-04-21 15:12:48 +01:00
parent 5035fe6f44
commit aef7f52f96

View File

@@ -117,7 +117,7 @@ class Telemetry(Workload):
def run(self, context): def run(self, context):
self.logger.debug(self.command) self.logger.debug(self.command)
self.raw_output, _ = check_output(self.command, shell=True, timeout=self.run_timeout) self.raw_output, _ = check_output(self.command, shell=True, timeout=self.run_timeout, ignore=1)
def update_result(self, context): def update_result(self, context):
if not self.raw_output: if not self.raw_output: