diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-08-10 10:44:42 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-08-10 10:44:42 +0200 |
commit | 04a2073a40aba68cbdda9c168fef18b8346e5122 (patch) | |
tree | 3ac2b2aeb5210a93410c433cf7a347cabb55c0a7 /resources | |
parent | b6274cee47c4cbf60c8ec50e6cc6e463c380521a (diff) |
PAL: visit_setup_kw
Change-Id: I8367c07f590c2e4533173284f009da6d26692e5d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/tools/presentation/input_data_parser.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index ecc403027d..2f8f167701 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -263,7 +263,6 @@ class ExecutionChecker(ResultVisitor): ) REGEX_VERSION_VPP = re.compile( - r"(return STDOUT Version:\s*|" r"VPP Version:\s*|VPP version:\s*)(.*)" ) REGEX_VERSION_DPDK = re.compile( @@ -592,9 +591,8 @@ class ExecutionChecker(ResultVisitor): :returns: Nothing. """ - if msg.message.count(u"return STDOUT Version:") or \ - msg.message.count(u"VPP Version:") or \ - msg.message.count(u"VPP version:"): + if msg.message.count(u"VPP version:") or \ + msg.message.count(u"VPP Version:"): self._version = str( re.search(self.REGEX_VERSION_VPP, msg.message).group(2) ) @@ -1323,7 +1321,7 @@ class ExecutionChecker(ResultVisitor): :type setup_kw: Keyword :returns: Nothing. """ - for keyword in setup_kw.body: + for keyword in setup_kw.setup: if self.start_setup_kw(keyword) is not False: self.visit_setup_kw(keyword) self.end_setup_kw(keyword) |