1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-05 18:31:12 +01:00

workloads/dhrystone: Fix taskset

Was invoking busybox in a hardcoded way, and was not using
self.target.busybox. Updated to use the correct version.
This commit is contained in:
Sascha Bischoff 2017-10-26 12:29:16 +01:00 committed by setrofim
parent 6df4b33d3f
commit 9b58662ae7

View File

@ -82,7 +82,8 @@ class Dhrystone(Workload):
else:
execution_mode = '-r {}'.format(self.duration)
if self.taskset_mask:
taskset_string = 'busybox taskset 0x{:x} '.format(self.taskset_mask)
taskset_string = '{} taskset 0x{:x} '.format(self.target.busybox,
self.taskset_mask)
else:
taskset_string = ''
self.command = '{}{} {} -t {} -d {}'.format(taskset_string,