1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 02:01:16 +00:00

workloads/lmbench: Fix missing run method declaration

This commit is contained in:
Marc Bonnici 2019-06-19 10:55:05 +01:00 committed by setrofim
parent 832ed797e1
commit 42ab811032

View File

@ -103,6 +103,7 @@ class Lmbench(Workload):
setup_test = getattr(self, '_setup_{}'.format(self.test)) setup_test = getattr(self, '_setup_{}'.format(self.test))
setup_test() setup_test()
def run(self, context):
for _ in range(self.loops): for _ in range(self.loops):
for command in self.commands: for command in self.commands:
self.target.execute(command, timeout=self.run_timeout) self.target.execute(command, timeout=self.run_timeout)