mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
hwuitest: invoke executable via full path
Previously, the workload was invoking the executable via its name, assuming that it will be in PATH. As WA's executables directory is not in path, the invocation was failing. This commit saves the full path to the installed executable and uses that instead.
This commit is contained in:
parent
be7aa3d379
commit
8660d0f488
@ -55,10 +55,10 @@ class HWUITest(Workload):
|
||||
host_exe = context.resolver.get(Executable(self,
|
||||
self.device.abi,
|
||||
BINARY))
|
||||
self.device.install(host_exe)
|
||||
self.target_exe = self.device.install(host_exe)
|
||||
|
||||
def run(self, context):
|
||||
self.output = self.device.execute("{} {} {} {}".format(BINARY,
|
||||
self.output = self.device.execute("{} {} {} {}".format(self.target_exe,
|
||||
self.test.lower(),
|
||||
self.loops,
|
||||
self.frames))
|
||||
|
Loading…
x
Reference in New Issue
Block a user