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

wa/workloads: pep8 fixes

This commit is contained in:
Marc Bonnici
2018-07-03 13:23:16 +01:00
parent 185bff9029
commit 6e94cbd36b
18 changed files with 57 additions and 53 deletions

View File

@@ -60,7 +60,6 @@ class HWUITest(Workload):
super(HWUITest, self).__init__(target, *args, **kwargs)
HWUITest.target_exe = None
@once
def initialize(self, context):
host_exe = context.get_resource(Executable(self,
@@ -77,7 +76,7 @@ class HWUITest(Workload):
def extract_results(self, context):
if not self.output:
return
return
outfile = os.path.join(context.output_directory, 'hwuitest.output')
with open(outfile, 'w') as wfh:
wfh.write(self.output)
@@ -110,7 +109,7 @@ class HWUITest(Workload):
match['percent'],
"%",
classifiers={"loop": count,
"frames": self.frames})
"frames": self.frames})
else:
match = normal.match(value_string).groupdict()
context.add_metric(metric,