diff options
author | Vratko Polak <vrpolak@cisco.com> | 2021-01-27 17:13:05 +0100 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2022-02-17 08:39:14 +0000 |
commit | 67b6b53603161ac0404451673b3c9b96d0ff2af1 (patch) | |
tree | 24bf51f6c6de74a65437e9866fcd095f76f312b3 /resources/libraries/bash/function/per_patch.sh | |
parent | 1f7bfaf0f94fe68aadf41fde09b57c2f3171dea9 (diff) |
Per-patch: Allow parsing CPS MRR results
The previous grep was too strict about test message.
Change-Id: Ib0c120a32d205b905f257e5b3c948a309ed8abb2
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/bash/function/per_patch.sh')
-rw-r--r-- | resources/libraries/bash/function/per_patch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/per_patch.sh b/resources/libraries/bash/function/per_patch.sh index 3ded218e89..2149d79b52 100644 --- a/resources/libraries/bash/function/per_patch.sh +++ b/resources/libraries/bash/function/per_patch.sh @@ -176,7 +176,7 @@ function parse_bmrr_results () { # TODO: Do we need to check echo exit code explicitly? echo "Parsing ${in_file} putting results into ${out_file}" echo "TODO: Re-use parts of PAL when they support subsample test parsing." - pattern='Maximum Receive Rate trial results in packets' + pattern='Maximum Receive Rate trial results in .*' pattern+=' per second: .*\]</status>' grep -o "${pattern}" "${in_file}" | grep -o '\[.*\]' > "${out_file}" || { die "Some parsing grep command has failed." |