mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 19:02:31 +01: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
@@ -257,9 +257,9 @@ looking for an executable file would do so like this::
|
||||
|
||||
# ...
|
||||
|
||||
def init_resources(self, context):
|
||||
def init_resources(self, resolver):
|
||||
resource = Executable(self, self.target.abi, 'my_benchmark')
|
||||
host_exe = context.resolver.get(resource)
|
||||
host_exe = resolver.get(resource)
|
||||
|
||||
# ...
|
||||
|
||||
|
@@ -210,8 +210,8 @@ workload and will look something like this
|
||||
super(GoogleDocs, self).__init__(target, **kwargs)
|
||||
# Define any additional attributes required for the workload
|
||||
|
||||
def init_resources(self, context):
|
||||
super(GoogleDocs, self).init_resources(context)
|
||||
def init_resources(self, resolver):
|
||||
super(GoogleDocs, 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