diff options
author | Tibor Frank <tifrank@cisco.com> | 2021-02-19 14:07:29 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2021-02-22 12:51:38 +0100 |
commit | b9aa1c7701f6f261acc4849fb07929c64e3ae692 (patch) | |
tree | 4f8fea0efd924c6913d1280a439ac7eb6ceaa816 /resources/tools/presentation/input_data_parser.py | |
parent | f0e964d35af36f0923c6ae0421e74d94022cadba (diff) |
Report: Add gso tests
Change-Id: Ic21d43a104bdafe93600d8f5fd60d403d13285aa
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.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 268a73620f..6742439be6 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -268,7 +268,7 @@ class ExecutionChecker(ResultVisitor): r'tx\s(\d*),\srx\s(\d*)' ) REGEX_BMRR = re.compile( - r'Maximum Receive Rate trial results .*: \[(.*)\]' + r'.*trial results.*: \[(.*)\]' ) REGEX_RECONF_LOSS = re.compile( r'Packets lost due to reconfig: (\d*)' @@ -1177,7 +1177,8 @@ class ExecutionChecker(ResultVisitor): if groups is not None: items_str = groups.group(1) items_float = [ - float(item.strip()) for item in items_str.split(",") + float(item.strip().replace(u"'", u"")) + for item in items_str.split(",") ] # Use whole list in CSIT-1180. stats = jumpavg.AvgStdevStats.for_runs(items_float) |