mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +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:
parent
8503fea0ee
commit
be7aa3d379
@ -98,8 +98,8 @@ class Recentfling(Workload):
|
|||||||
classifiers={"loop": count or "Average"})
|
classifiers={"loop": count or "Average"})
|
||||||
|
|
||||||
def teardown(self, context):
|
def teardown(self, context):
|
||||||
self.device.uninstall(self.recentfling_target)
|
self.device.uninstall_executable(self.recentfling_target)
|
||||||
self.device.uninstall(self.defs_target)
|
self.device.uninstall_executable(self.defs_target)
|
||||||
|
|
||||||
def _kill_recentfling(self):
|
def _kill_recentfling(self):
|
||||||
command = 'cat {}/pidfile'.format(self.device.working_directory)
|
command = 'cat {}/pidfile'.format(self.device.working_directory)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user