mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 12:24:32 +00:00
sysbench: use device busybox binary
Use the full path to busybox on the target device as opposed to assuming it is found on the path.
This commit is contained in:
parent
499a9f4082
commit
2eca77fb02
@ -147,7 +147,7 @@ class Sysbench(Workload):
|
||||
param_strings.append('--file-test-mode={}'.format(self.file_test_mode))
|
||||
sysbench_command = '{} {} {} run'.format(self.on_device_binary, ' '.join(param_strings), self.cmd_params)
|
||||
if self.taskset_mask:
|
||||
taskset_string = 'busybox taskset 0x{:x} '.format(self.taskset_mask)
|
||||
taskset_string = '{} taskset 0x{:x} '.format(self.device.busybox, self.taskset_mask)
|
||||
else:
|
||||
taskset_string = ''
|
||||
return 'cd {} && {} {} > sysbench_result.txt'.format(self.device.working_directory, taskset_string, sysbench_command)
|
||||
|
Loading…
x
Reference in New Issue
Block a user