mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 11:52:36 +01:00
framework/output: save classifiers in Result
Save classifiers at Result as well as Metric level. Reason: when processing output, one might want to filter complete results, as well as individual metrics. While it is in theory possible to get the classifiers for a job by simply extracting the common classifiers between all metrics, this fails when there are no metrics generated for a job (note that one might still want to process the output in this case, e.g. for the artifacts).
This commit is contained in:
committed by
Marc Bonnici
parent
c5659d51f1
commit
1e21bd2ca8
@@ -131,7 +131,8 @@ class ExecutionContext(object):
|
||||
if not self.job_queue:
|
||||
raise RuntimeError('No jobs to run')
|
||||
self.current_job = self.job_queue.pop(0)
|
||||
self.current_job.output = init_job_output(self.run_output, self.current_job)
|
||||
job_output = init_job_output(self.run_output, self.current_job)
|
||||
self.current_job.set_output(job_output)
|
||||
self.update_job_state(self.current_job)
|
||||
self.tm.start()
|
||||
return self.current_job
|
||||
|
Reference in New Issue
Block a user