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

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.
This commit is contained in:
Sergei Trofimov 2016-06-15 09:00:49 +01:00
parent 8503fea0ee
commit be7aa3d379

View File

@ -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)