aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/input_data_parser.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-02-12 16:07:53 +0100
committerTibor Frank <tifrank@cisco.com>2020-02-12 16:07:53 +0100
commit1ced14ce1707a27679002db43c4761853ddb83de (patch)
tree41593e9dd98fcb814fae8da1cbbc45faa03eb0f1 /resources/tools/presentation/input_data_parser.py
parentbf4e50abb041ea4f3228618c47f4d47e494b9534 (diff)
PAL: Fix sh run
Change-Id: I55825d6f24788aab67d2121e6fe45808d9a79e59 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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 7c9cd303e0..cd26d69c76 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -602,8 +602,6 @@ 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
@@ -1127,6 +1125,7 @@ class ExecutionChecker(ResultVisitor):
if test_kw.name.count(u"Show Runtime On All Duts") or \
test_kw.name.count(u"Show Runtime Counters On All Duts"):
self._msg_type = u"test-show-runtime"
+ self._sh_run_counter += 1
elif test_kw.name.count(u"Install Dpdk Test") and not self._version:
self._msg_type = u"dpdk-version"
else: