aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Bonnici <marc.bonnici@arm.com>2018-10-04 17:03:57 +0100
committersetrofim <setrofim@gmail.com>2018-10-05 10:10:43 +0100
commit75f3080c9b1fab453a00e97eb2584e7b6be05191 (patch)
tree6bff6fe841178374206d20f34ce7db63048df80c
parent75c0e40bb0b95da646980552fd41105ed0b6b56e (diff)
workloads: Use `uninstall` method instead of `uninstall_executable`
For workloads that support Linux targets do not use `uninstall_executable` as this is not available, instead use `uninstall` as other targets should be able to determine the appropriate uninstallation method.
-rwxr-xr-xwa/workloads/lmbench/__init__.py2
-rw-r--r--wa/workloads/meabo/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/wa/workloads/lmbench/__init__.py b/wa/workloads/lmbench/__init__.py
index e830c2cb..fe273246 100755
--- a/wa/workloads/lmbench/__init__.py
+++ b/wa/workloads/lmbench/__init__.py
@@ -116,7 +116,7 @@ class Lmbench(Workload):
context.add_artifact('lmbench-result', "lmbench.output", kind='raw')
def teardown(self, context):
- self.target.uninstall_executable(self.test)
+ self.target.uninstall(self.test)
#
# Test setup routines
diff --git a/wa/workloads/meabo/__init__.py b/wa/workloads/meabo/__init__.py
index 9ca9fa18..22c81199 100644
--- a/wa/workloads/meabo/__init__.py
+++ b/wa/workloads/meabo/__init__.py
@@ -313,4 +313,4 @@ class Meabo(Workload):
@once
def _uninstall_executable(self):
- self.target.uninstall_executable(self.target_exe)
+ self.target.uninstall(self.target_exe)