mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +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:
parent
6c5e52ad56
commit
7c79c24865
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user