mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +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:
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user