mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-29 22:24:51 +00:00
fw/workload: record app version in metadata
Add the package version for an ApkWorkload to the metadata for that job.
This commit is contained in:
committed by
Marc Bonnici
parent
9257a787f9
commit
79141582e9
@@ -19,8 +19,8 @@ class ${class_name}(ApkWorkload):
|
||||
super(${class_name}, self).__init__(target, **kwargs)
|
||||
# Define any additional attributes required for the workload
|
||||
|
||||
def init_resources(self, context):
|
||||
super(${class_name}, self).init_resources(context)
|
||||
def init_resources(self, resolver):
|
||||
super(${class_name}, self).init_resources(resolver)
|
||||
# This method may be used to perform early resource discovery and
|
||||
# initialization. This is invoked during the initial loading stage and
|
||||
# before the device is ready, so cannot be used for any device-dependent
|
||||
|
||||
@@ -19,8 +19,8 @@ class ${class_name}(ApkReventWorkload):
|
||||
super(${class_name}, self).__init__(target, **kwargs)
|
||||
# Define any additional attributes required for the workload
|
||||
|
||||
def init_resources(self, context):
|
||||
super(${class_name}, self).init_resources(context)
|
||||
def init_resources(self, resolver):
|
||||
super(${class_name}, self).init_resources(resolver)
|
||||
# This method may be used to perform early resource discovery and
|
||||
# initialization. This is invoked during the initial loading stage and
|
||||
# before the device is ready, so cannot be used for any device-dependent
|
||||
|
||||
@@ -19,8 +19,8 @@ class ${class_name}(ApkUiautoWorkload):
|
||||
super(${class_name}, self).__init__(target, **kwargs)
|
||||
# Define any additional attributes required for the workload
|
||||
|
||||
def init_resources(self, context):
|
||||
super(${class_name}, self).init_resources(context)
|
||||
def init_resources(self, resolver):
|
||||
super(${class_name}, self).init_resources(resolver)
|
||||
# This method may be used to perform early resource discovery and
|
||||
# initialization. This is invoked during the initial loading stage and
|
||||
# before the device is ready, so cannot be used for any device-dependent
|
||||
|
||||
@@ -17,8 +17,8 @@ class ${class_name}(Workload):
|
||||
super(${class_name}, self).__init__(target, **kwargs)
|
||||
# Define any additional attributes required for the workload
|
||||
|
||||
def init_resources(self, context):
|
||||
super(${class_name}, self).init_resources(context)
|
||||
def init_resources(self, resolver):
|
||||
super(${class_name}, self).init_resources(resolver)
|
||||
# This method may be used to perform early resource discovery and
|
||||
# initialization. This is invoked during the initial loading stage and
|
||||
# before the device is ready, so cannot be used for any device-dependent
|
||||
|
||||
@@ -17,8 +17,8 @@ class ${class_name}(ReventWorkload):
|
||||
super(${class_name}, self).__init__(target, **kwargs)
|
||||
# Define any additional attributes required for the workload
|
||||
|
||||
def init_resources(self, context):
|
||||
super(${class_name}, self).init_resources(context)
|
||||
def init_resources(self, resolver):
|
||||
super(${class_name}, self).init_resources(resolver)
|
||||
# This method may be used to perform early resource discovery and
|
||||
# initialization. This is invoked during the initial loading stage and
|
||||
# before the device is ready, so cannot be used for any device-dependent
|
||||
|
||||
@@ -19,8 +19,8 @@ class ${class_name}(UiautoWorkload):
|
||||
super(${class_name}, self).__init__(target, **kwargs)
|
||||
# Define any additional attributes required for the workload
|
||||
|
||||
def init_resources(self, context):
|
||||
super(${class_name}, self).init_resources(context)
|
||||
def init_resources(self, resolver):
|
||||
super(${class_name}, self).init_resources(resolver)
|
||||
# This method may be used to perform early resource discovery and
|
||||
# initialization. This is invoked during the initial loading stage and
|
||||
# before the device is ready, so cannot be used for any device-dependent
|
||||
|
||||
Reference in New Issue
Block a user