aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-02-12 15:02:07 +0100
committerTibor Frank <tifrank@cisco.com>2020-02-12 14:04:17 +0000
commit113cfe51fac99ce6ef7aa736d9d0aac360ef38fb (patch)
tree4776b23b55f9a3cbe5e95f592839631af2eaa985 /resources/tools/presentation
parent769761907d39fcb4c11e91027f6b01014608603c (diff)
Report: Fix Oper data
Change-Id: Ie1e399486f12a204e23fdf73774c322eacf1ebe4 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit ef6ce6f84a7a0d8c9fbb7687ff22303dbbe55b62)
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/input_data_parser.py10
1 files changed, 10 insertions, 0 deletions
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