mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-30 06:34:13 +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:
@@ -153,7 +153,8 @@ class Dhrystone(Workload):
|
||||
|
||||
@once
|
||||
def finalize(self, context):
|
||||
self.target.uninstall('dhrystone')
|
||||
if self.uninstall:
|
||||
self.target.uninstall('dhrystone')
|
||||
|
||||
def validate(self):
|
||||
if self.mloops and self.duration: # pylint: disable=E0203
|
||||
|
||||
Reference in New Issue
Block a user