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 15:09:41 +0000
commit4806287fbb1e4a330f566a21af06c75430fb6d6a (patch)
treed239a87f5521b1fa26c5b2e6a6d1b238b7784034 /resources/tools/presentation/input_data_parser.py
parent0c32e221cd23eb7e379eb08cc39e5160cead0a60 (diff)
PAL: Fix sh run
Change-Id: I55825d6f24788aab67d2121e6fe45808d9a79e59 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 1ced14ce1707a27679002db43c4761853ddb83de)
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: