From: David Marchand Date: Fri, 21 Feb 2020 15:42:53 +0000 (+0100) Subject: devtools: skip experimental libraries in ABI check X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=23d7ad5db41c;p=dpdk.git devtools: skip experimental libraries in ABI check We don't provide ABI compatibility for experimental libraries. Skip those libraries by catching a soname containing a version starting with '0.'. Align the special case for the glue libraries by using the soname too. Once libabigail has support for it, we will have a single type of rule. Fixes: 777014e56d07 ("devtools: add ABI checks") Signed-off-by: David Marchand Acked-by: Thomas Monjalon --- diff --git a/devtools/check-abi.sh b/devtools/check-abi.sh index 0b4d1a37e2..dd9120e69e 100755 --- a/devtools/check-abi.sh +++ b/devtools/check-abi.sh @@ -40,8 +40,13 @@ for dump in $(find $refdir -name "*.dump"); do # skip glue drivers, example librte_pmd_mlx5_glue.dump # We can't rely on a suppression rule for now: # https://sourceware.org/bugzilla/show_bug.cgi?id=25480 - if [ "$name" != "${name%%_glue.dump}" ]; then - echo "Skipping ${dump}..." + if grep -qE "\