From 54198053d22da288a2813f2f9c162b660eabafae Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Thu, 7 May 2020 14:03:12 -0700 Subject: [PATCH] test/check_so_deps: remove "filtered out" from function summary. Signed-off-by: Seth Howell Change-Id: If93e61e62d420953174ea4da32f2b8b466e4b9a3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2252 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Shuhei Matsumoto Reviewed-by: Jim Harris --- test/make/check_so_deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/make/check_so_deps.sh b/test/make/check_so_deps.sh index 78569daf2..8576dad2c 100755 --- a/test/make/check_so_deps.sh +++ b/test/make/check_so_deps.sh @@ -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"