From be7aa3d379722e6353c79189ddb9a40b5d2c3906 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Wed, 15 Jun 2016 09:00:49 +0100 Subject: [PATCH] recentfling: fixing uninstalling of binaries Inconsistently, while install() for Android devices automatically handles both APKs and executables appropriately, uninstall() only works for packages. Changing to use uninstall_executable() for the scripts deployed by recentfling. --- wlauto/workloads/recentfling/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wlauto/workloads/recentfling/__init__.py b/wlauto/workloads/recentfling/__init__.py index eb112f04..d05a477f 100644 --- a/wlauto/workloads/recentfling/__init__.py +++ b/wlauto/workloads/recentfling/__init__.py @@ -98,8 +98,8 @@ class Recentfling(Workload): classifiers={"loop": count or "Average"}) def teardown(self, context): - self.device.uninstall(self.recentfling_target) - self.device.uninstall(self.defs_target) + self.device.uninstall_executable(self.recentfling_target) + self.device.uninstall_executable(self.defs_target) def _kill_recentfling(self): command = 'cat {}/pidfile'.format(self.device.working_directory)