X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Finput_data_parser.py;h=7c9cd303e03ca4f3a0c9b6762a8fa5c24e66bd6a;hb=ef6ce6f84a7a0d8c9fbb7687ff22303dbbe55b62;hp=d8ea2969da36a72f750907f29bb2cc6ad74e3042;hpb=9e7b9a25c033cf6469f22217af82d5e5c91e85e9;p=csit.git diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index d8ea2969da..7c9cd303e0 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -317,6 +317,8 @@ class ExecutionChecker(ResultVisitor): # 2 - PAPI History of DUT2 self._conf_history_lookup_nr = 0 + self._sh_run_counter = 0 + # Test ID of currently processed test- the lowercase full path to the # test self._test_id = None @@ -600,6 +602,12 @@ class ExecutionChecker(ResultVisitor): if not msg.message.count(u"stats runtime"): return + self._sh_run_counter += 1 + + # Temporary solution + if self._sh_run_counter > 1: + return + if u"show-run" not in self._data[u"tests"][self._test_id].keys(): self._data[u"tests"][self._test_id][u"show-run"] = dict() @@ -923,6 +931,8 @@ class ExecutionChecker(ResultVisitor): :returns: Nothing. """ + self._sh_run_counter = 0 + longname_orig = test.longname.lower() # Check the ignore list