X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Finput_data_parser.py;h=2f126f4c8be89e2b0de2a6923fe156553b78dc9f;hb=190462e1f242b59d927eff3e63826fe6343eadbc;hp=af8a854ce9fb132eb5b3b117484e63b15e44329a;hpb=c0e53d575541d37bcd29b1c5a8f822a0204949c3;p=csit.git diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index af8a854ce9..2f126f4c8b 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -429,7 +429,6 @@ class ExecutionChecker(ResultVisitor): r"PAPI command history:", u"", msg.message, count=1).replace(u'\n', u' |br| ').\ replace(u'"', u"'") - self._data[u"tests"][self._test_id][u"conf-history"] += ( f" |br| **DUT{str(self._conf_history_lookup_nr)}:** {text}" ) @@ -452,10 +451,12 @@ class ExecutionChecker(ResultVisitor): host = str(re.search(self.REGEX_TC_PAPI_CLI, msg.message). group(1)) except (AttributeError, IndexError): - host = u"" + host = self._data[u"tests"][self._test_id][u"show-run"].\ + count(u"DUT:") + 1 try: socket = str(re.search(self.REGEX_TC_PAPI_CLI, msg.message). group(2)) + socket = f"/{socket}" except (AttributeError, IndexError): socket = u"" runtime = loads( @@ -526,7 +527,7 @@ class ExecutionChecker(ResultVisitor): txt_table.align[u"Vectors/Calls"] = u"r" text += txt_table.get_string(sortby=u"Name") + u'\n' - text = f" \n **DUT: {host}/{socket}** \n {text}".\ + text = f"\n**DUT: {host}{socket}**\n{text}".\ replace(u'\n', u' |br| ').\ replace(u'\r', u'').\ replace(u'"', u"'")