From 963ddcac061a1002d3eab027425afc1e20d57139 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Mon, 23 Mar 2020 15:52:23 +0100 Subject: [PATCH] test/make: inform user about processed objects in confirm_abi_deps() Inform the user that something actually happened during the test, rather than just displaying "Test start/end". Signed-off-by: Karol Latecki Change-Id: I69a048a5a2fd47a3f18ea2988a06aee439c06fc3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1412 Tested-by: SPDK CI Jenkins Reviewed-by: Aleksey Marchuk Reviewed-by: Tomasz Zawadzki --- test/make/check_so_deps.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/make/check_so_deps.sh b/test/make/check_so_deps.sh index a0b4e8cfd..563a5a3cf 100755 --- a/test/make/check_so_deps.sh +++ b/test/make/check_so_deps.sh @@ -13,6 +13,8 @@ libdeps_file="$rootdir/mk/spdk.lib_deps.mk" source_abi_dir="$HOME/spdk_20_01/build/lib" function confirm_abi_deps() { + local processed_so=0 + if ! hash abidiff; then echo "Unable to check ABI compatibility. Please install abidiff." return 1 @@ -77,7 +79,9 @@ function confirm_abi_deps() { continue fi + processed_so=$((processed_so+1)) done + echo "Processed $processed_so objects." } # This function is needed to properly evaluate the Make variables into actual dependencies.