mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-22 12:58:36 +00:00
Merge pull request #296 from jimboatarm/fix-exact-apk-version
Fix exact_apk_version check
This commit is contained in:
commit
33286ba982
@ -229,9 +229,9 @@ class ApkWorkload(Workload):
|
|||||||
raise ResourceError(msg.format(self.name))
|
raise ResourceError(msg.format(self.name))
|
||||||
|
|
||||||
if self.exact_apk_version is not None:
|
if self.exact_apk_version is not None:
|
||||||
if self.exact_apk_version != target_version and self.version != host_version:
|
if self.exact_apk_version != target_version and self.exact_apk_version != host_version:
|
||||||
msg = "APK version '{}' not found on the host '{}' or target '{}'"
|
msg = "APK version '{}' not found on the host '{}' or target '{}'"
|
||||||
raise ResourceError(msg.format(self.version, host_version, target_version))
|
raise ResourceError(msg.format(self.exact_apk_version, host_version, target_version))
|
||||||
|
|
||||||
# Ensure the apk is setup on the device
|
# Ensure the apk is setup on the device
|
||||||
if self.force_install:
|
if self.force_install:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user