mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +00:00 
			
		
		
		
	workloads/hackbench: fix target_binary
Set target_binary as a class, rather than instance, attribute. This happens only only once per run, and setting it as instance attribute the first time, makes it unavailable for subsequent instances of the same workload.
This commit is contained in:
		
				
					committed by
					
						 Marc Bonnici
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							9efb95f4ff
						
					
				
				
					commit
					2158dd047e
				
			| @@ -62,7 +62,7 @@ class Hackbench(Workload): | ||||
|     @once | ||||
|     def initialize(self, context): | ||||
|         host_binary = context.resolver.get(Executable(self, self.target.abi, self.binary_name)) | ||||
|         self.target_binary = self.target.install(host_binary) | ||||
|         Hackbench.target_binary = self.target.install(host_binary) | ||||
|  | ||||
|     def setup(self, context): | ||||
|         self.target_output_file = self.target.get_workpath(hackbench_results_txt) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user