test/check_so_deps: remove "filtered out" from function summary.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: If93e61e62d420953174ea4da32f2b8b466e4b9a3
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2252
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Seth Howell 2020-05-07 14:03:12 -07:00 committed by Tomasz Zawadzki
parent 46b614d174
commit 54198053d2

View File

@ -55,6 +55,7 @@ EOF
function_summary=$(grep "functions summary" <<< "$output")
variable_summary=$(grep "variables summary" <<< "$output")
# remove any filtered out variables.
function_summary=$(sed "s/ [()][^)]*[)]//g" <<< "$function_summary")
variable_summary=$(sed "s/ [()][^)]*[)]//g" <<< "$variable_summary")
read -r _ _ _ removed_functions _ changed_functions _ added_functions _ <<< "$function_summary"