mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
commands/templates: Update to add optional setup_rerun
method
This commit is contained in:
parent
e672fbed32
commit
d3cb350461
@ -40,6 +40,12 @@ class ${class_name}(ApkWorkload):
|
||||
super(${class_name}, self).setup(context)
|
||||
# Perform any necessary setup before starting the application
|
||||
|
||||
def setup_rerun(self, context):
|
||||
super(${class_name}, self).setup(context)
|
||||
# If the workloads has the `requires_rerun` attribute set to `True` this
|
||||
# method may be used to perform any necessary setup for the rerun of the
|
||||
# application.
|
||||
|
||||
def extract_results(self, context):
|
||||
super(${class_name}, self).extract_results(context)
|
||||
# Extract results on the target
|
||||
|
@ -40,6 +40,12 @@ class ${class_name}(ApkReventWorkload):
|
||||
super(${class_name}, self).setup(context)
|
||||
# Perform any necessary setup before starting the UI automation
|
||||
|
||||
def setup_rerun(self, context):
|
||||
super(${class_name}, self).setup(context)
|
||||
# If the workloads has the `requires_rerun` attribute set to `True` this
|
||||
# method may be used to perform any necessary setup for the rerun of the
|
||||
# application.
|
||||
|
||||
def extract_results(self, context):
|
||||
super(${class_name}, self).extract_results(context)
|
||||
# Extract results on the target
|
||||
|
@ -40,6 +40,12 @@ class ${class_name}(ApkUiautoWorkload):
|
||||
super(${class_name}, self).setup(context)
|
||||
# Perform any necessary setup before starting the UI automation
|
||||
|
||||
def setup_rerun(self, context):
|
||||
super(${class_name}, self).setup(context)
|
||||
# If the workloads has the `requires_rerun` attribute set to `True` this
|
||||
# method may be used to perform any necessary setup for the rerun of the
|
||||
# application.
|
||||
|
||||
def extract_results(self, context):
|
||||
super(${class_name}, self).extract_results(context)
|
||||
# Extract results on the target
|
||||
|
Loading…
x
Reference in New Issue
Block a user