1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01: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:
Marc Bonnici
2019-06-20 11:43:33 +01:00
parent f5d1a9e94a
commit 1108c5701e
12 changed files with 33 additions and 20 deletions

View File

@@ -67,4 +67,5 @@ class ShellScript(Workload):
wfh.write(self.output)
def teardown(self, context):
self.target.remove(self.on_target_script_file)
if self.cleanup_assets:
self.target.remove(self.on_target_script_file)