From 75f3080c9b1fab453a00e97eb2584e7b6be05191 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Thu, 4 Oct 2018 17:03:57 +0100 Subject: [PATCH] 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. --- wa/workloads/lmbench/__init__.py | 2 +- wa/workloads/meabo/__init__.py | 2 +- 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)