aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-10-26 10:49:41 +0200
committerTibor Frank <tifrank@cisco.com>2017-10-26 08:51:07 +0000
commitf462d729ece3c322fc46d8f714fe2e8208e06966 (patch)
tree1465e7d524223e7a93d577b05055c70d5913b0da
parent751a5aed2cac6bd7b87028eaf7eab1a8f87fface (diff)
PAL: Implement changes in show-run output
Change-Id: I2d28e048206d38179447e1d2ac8646ccffc97c8e Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 83d2cc2ccdcbcb4a228168d70101abb3c442fd39)
-rw-r--r--resources/tools/presentation/input_data_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 1b8c3ccb47..a04f351cab 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -275,7 +275,7 @@ class ExecutionChecker(ResultVisitor):
:type msg: Message
:returns: Nothing.
"""
- if msg.message.count("vat# Thread "):
+ if msg.message.count("return STDOUT Thread "):
self._show_run_lookup_nr += 1
if self._lookup_kw_nr == 1 and self._show_run_lookup_nr == 1:
self._data["tests"][self._test_ID]["show-run"] = str()
@@ -554,7 +554,7 @@ class ExecutionChecker(ResultVisitor):
if teardown_kw.name.count("Show Vat History On All Duts"):
self._vat_history_lookup_nr = 0
self._msg_type = "teardown-vat-history"
- elif teardown_kw.name.count("Vpp Show Runtime"):
+ elif teardown_kw.name.count("Show Statistics On All Duts"):
self._lookup_kw_nr += 1
self._show_run_lookup_nr = 0
self._msg_type = "teardown-show-runtime"