1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

applaunch: pass cleanup argument to the template

Since cleanup test block is defined in the device_script.template, the
value of cleanup is needed to render the template properly.

Signed-off-by: Chase Qi <chase.qi@linaro.org>
This commit is contained in:
Chase Qi 2016-01-12 18:08:44 -08:00
parent 9eeeaf02ad
commit 0998c18efd

View File

@ -106,6 +106,7 @@ class ApplaunchWorkload(Workload):
wfh.write(template.render(device=self.device, # pylint: disable=maybe-no-member
sensors=self.sensors,
iterations=self.times,
cleanup=self.cleanup,
package=APP_CONFIG[self.app]['package'],
activity=APP_CONFIG[self.app]['activity'],
options=APP_CONFIG[self.app]['options'],