[Ezbench-dev] [PATCH 20/25] report.py: Mark a run as incomplete if "tested" entry is entirely missing.

Petri Latvala petri.latvala at intel.com
Fri Feb 24 11:19:21 UTC 2017


Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
 python-modules/ezbench/report.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python-modules/ezbench/report.py b/python-modules/ezbench/report.py
index 9e97b57..8a10a86 100644
--- a/python-modules/ezbench/report.py
+++ b/python-modules/ezbench/report.py
@@ -1389,7 +1389,7 @@ class Journal:
                     continue
 
                 found = False
-                if "tested" in self._journal:
+                if "tested" in self._journal and key in self._journal["tested"]:
                     for tested_attrs in self._journal["tested"][key]:
                         if "result_file" not in tested_attrs:
                             continue
-- 
2.9.3



More information about the Ezbench-dev mailing list