mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 09:02:12 +00:00 
			
		
		
		
	framework/output: add list_workloads to RunOutput
Add a convenience method to list which workloads (as per their label) were involved in a run.
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							2b0b6ed3db
						
					
				
				
					commit
					5b15b115a7
				
			@@ -263,6 +263,13 @@ class RunOutput(Output):
 | 
			
		||||
                return spec
 | 
			
		||||
        return None
 | 
			
		||||
 | 
			
		||||
    def list_workloads(self):
 | 
			
		||||
        workloads = []
 | 
			
		||||
        for job in self.jobs:
 | 
			
		||||
            if job.label not in workloads:
 | 
			
		||||
                workloads.append(job.label)
 | 
			
		||||
        return workloads
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class JobOutput(Output):
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user