[Ezbench-dev] [PATCH 4/7] smartezbench: resolve the commit ID when possible on force_test_rounds

Martin Peres martin.peres at linux.intel.com
Mon Mar 6 13:02:41 UTC 2017


---
 python-modules/ezbench/smartezbench.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/python-modules/ezbench/smartezbench.py b/python-modules/ezbench/smartezbench.py
index 90c37c4..65b52a1 100644
--- a/python-modules/ezbench/smartezbench.py
+++ b/python-modules/ezbench/smartezbench.py
@@ -533,6 +533,10 @@ class SmartEzbench:
         self.__release_lock()
 
     def __force_test_rounds_unlocked__(self, commit, test, at_least):
+        scm = self.repo()
+        if scm is not None:
+            commit = scm.full_version_name(commit)
+
         if at_least < 1:
             return 0
         else:
-- 
2.11.1



More information about the Ezbench-dev mailing list