PAL: Implement changes in show-run output 41/9041/1
authorTibor Frank <tifrank@cisco.com>
Thu, 26 Oct 2017 08:49:41 +0000 (10:49 +0200)
committerTibor Frank <tifrank@cisco.com>
Thu, 26 Oct 2017 08:49:41 +0000 (10:49 +0200)
Change-Id: I2d28e048206d38179447e1d2ac8646ccffc97c8e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/input_data_parser.py

index 1b8c3cc..a04f351 100644 (file)
@@ -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"

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.