aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/input_data_parser.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-09-05 10:49:33 +0200
committerTibor Frank <tifrank@cisco.com>2019-09-05 10:20:53 +0000
commit3eb09745cc7a936dc91a68a4a723867c2311f3a1 (patch)
tree44bfff70b84f7e17629f3985d4bb89ae2e743281 /resources/tools/presentation/input_data_parser.py
parent2570a7fad59831b3d91359bc52440339a168c808 (diff)
Report: Add DNV data
Change-Id: I020373b1553300459654ded31d940b0a5562eb8a Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/input_data_parser.py')
-rw-r--r--resources/tools/presentation/input_data_parser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index f47f1bc6df..fc56af75e2 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -502,7 +502,7 @@ class ExecutionChecker(ResultVisitor):
self._data["tests"][self._test_ID]["show-run"] = str()
if self._lookup_kw_nr > 1:
self._msg_type = None
- if self._show_run_lookup_nr == 1:
+ if self._show_run_lookup_nr > 0:
message = str(msg.message).replace(' ', '').replace('\n', '').\
replace("'", '"').replace('b"', '"').replace('u"', '"')[8:]
runtime = loads(message)
@@ -547,7 +547,8 @@ class ExecutionChecker(ResultVisitor):
try:
self._data["tests"][self._test_ID]["show-run"] += " |br| "
self._data["tests"][self._test_ID]["show-run"] += \
- "**DUT" + str(self._lookup_kw_nr) + ":** |br| " + text
+ "**DUT" + str(self._show_run_lookup_nr) + ":** |br| " \
+ + text
except KeyError:
pass