mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 19:02:31 +01:00
fw/execution: record resource hashes in metadata
As part of resolving a resource, record its MD5 hash in the output metadata. In order to enable this, resource resolution is now done via the context, rather than directly via the ResourceResolver (in order not to introduce a context dependency in the Gui object, context now emulates the resolver interface).
This commit is contained in:
committed by
Marc Bonnici
parent
e5e8406e1f
commit
2ff06af632
@@ -71,9 +71,9 @@ class Recentfling(Workload):
|
||||
raise WorkloadError("This workload relies on ``dumpsys gfxinfo`` \
|
||||
only present in Android M and onwards")
|
||||
|
||||
defs_host = context.resolver.get(File(self, "defs.sh"))
|
||||
defs_host = context.get_resource(File(self, "defs.sh"))
|
||||
Recentfling.defs_target = self.target.install(defs_host)
|
||||
recentfling_host = context.resolver.get(File(self, "recentfling.sh"))
|
||||
recentfling_host = context.get_resource(File(self, "recentfling.sh"))
|
||||
Recentfling.recentfling_target = self.target.install(recentfling_host)
|
||||
|
||||
def setup(self, context):
|
||||
|
Reference in New Issue
Block a user