From 0998c18efd7c6884bb37d200d273989d6104ffef Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Tue, 12 Jan 2016 18:08:44 -0800 Subject: [PATCH] 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 --- wlauto/workloads/applaunch/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wlauto/workloads/applaunch/__init__.py b/wlauto/workloads/applaunch/__init__.py index 5599d10f..5f6de24c 100644 --- a/wlauto/workloads/applaunch/__init__.py +++ b/wlauto/workloads/applaunch/__init__.py @@ -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'],