1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

rt-app: fix classifer update

rt-app inserts its own classifiers into the results. Previosly, if was
replacing the existing classifier if there were any. Now, classifiers
are updated, rather than replaced.
This commit is contained in:
Sergei Trofimov 2017-04-07 16:33:24 +01:00
parent 6c5e52ad56
commit 7c79c24865

View File

@ -178,10 +178,10 @@ class RtApp(Workload):
def update_result(self, context):
self._pull_rt_app_logs(context)
context.result.classifiers = dict(
context.result.classifiers.update(dict(
duration=self.duration,
task_count=self.task_count,
)
))
outfile = os.path.join(context.output_directory, RAW_OUTPUT_FILENAME)
with open(outfile, 'w') as wfh: