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 <karol.latecki@intel.com> Change-Id: I69a048a5a2fd47a3f18ea2988a06aee439c06fc3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1412 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
d97d1aa577
commit
963ddcac06
@ -13,6 +13,8 @@ libdeps_file="$rootdir/mk/spdk.lib_deps.mk"
|
|||||||
source_abi_dir="$HOME/spdk_20_01/build/lib"
|
source_abi_dir="$HOME/spdk_20_01/build/lib"
|
||||||
|
|
||||||
function confirm_abi_deps() {
|
function confirm_abi_deps() {
|
||||||
|
local processed_so=0
|
||||||
|
|
||||||
if ! hash abidiff; then
|
if ! hash abidiff; then
|
||||||
echo "Unable to check ABI compatibility. Please install abidiff."
|
echo "Unable to check ABI compatibility. Please install abidiff."
|
||||||
return 1
|
return 1
|
||||||
@ -77,7 +79,9 @@ function confirm_abi_deps() {
|
|||||||
|
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
processed_so=$((processed_so+1))
|
||||||
done
|
done
|
||||||
|
echo "Processed $processed_so objects."
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function is needed to properly evaluate the Make variables into actual dependencies.
|
# This function is needed to properly evaluate the Make variables into actual dependencies.
|
||||||
|
Loading…
Reference in New Issue
Block a user