1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

Merge pull request #296 from jimboatarm/fix-exact-apk-version

Fix exact_apk_version check
This commit is contained in:
setrofim 2016-11-28 11:03:23 +00:00 committed by GitHub
commit 33286ba982

View File

@ -229,9 +229,9 @@ class ApkWorkload(Workload):
raise ResourceError(msg.format(self.name))
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 '{}'"
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
if self.force_install: