mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-29 22:24:51 +00:00
workloads: Update to better utilize cleanup_assets and uninstall
Update the workload classes to attempt and standardize the use of the `cleanup_assets` parameter and the newly added `uninstall` parameter
This commit is contained in:
@@ -117,7 +117,8 @@ class Lmbench(Workload):
|
||||
context.add_artifact('lmbench-result', "lmbench.output", kind='raw')
|
||||
|
||||
def teardown(self, context):
|
||||
self.target.uninstall(self.test)
|
||||
if self.uninstall:
|
||||
self.target.uninstall(self.test)
|
||||
|
||||
#
|
||||
# Test setup routines
|
||||
|
||||
Reference in New Issue
Block a user