commit | 7ea5c995be1ba3ff1a39e5e63fdee4b57c6434e5 | [log] [tgz] |
---|---|---|
author | Yong Hong <[email protected]> | Fri Jun 29 18:35:40 2018 |
committer | chrome-bot <[email protected]> | Sat Jun 30 00:50:24 2018 |
tree | 258b926cac53ed49eb46d400e5bcd8014313053b | |
parent | 5042b8cf876294f36b721bde1d71e32f1a9c45cd [diff] |
testplan: Fix key error when checking if test case passes BUG=b:110987319 TEST=manually test Change-Id: Ie36cce7c76b986a4bf8313bff2dab8b5a1dab010 Reviewed-on: https://chromium-review.googlesource.com/1120896 Commit-Ready: Yong Hong <[email protected]> Tested-by: Yong Hong <[email protected]> Reviewed-by: Shen-En Shih <[email protected]>
diff --git a/graphyte/testplan.py b/graphyte/testplan.py index d93be36..1b20610 100644 --- a/graphyte/testplan.py +++ b/graphyte/testplan.py
@@ -565,7 +565,7 @@ logger.error('The result of %s is missing.', key) is_pass = False # Check the result value meets the result limit. - if not IsInBound(result[key], self.result_limit[key]): + elif not IsInBound(result[key], self.result_limit[key]): logger.info('The test in result %s failed. %s not in %s', key, result[key], self.result_limit[key]) is_pass = False