aboutsummaryrefslogtreecommitdiffstats
path: root/tools/compare-abis.sh
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2012-01-19 22:55:52 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2012-01-19 22:55:52 +0000
commita84ed29e2ba9ebdd45f07960d66eef4dbed2116a (patch)
treeca9d1fc9e4efd6f17f15a44f8fb838b4d773a6c7 /tools/compare-abis.sh
parent42e55d4533c0757d8e2b5a9602e351e773ab3dd2 (diff)
Update abi-compliance-checker options to be compatible with 1.96.1
svn path=/trunk/; revision=40597
Diffstat (limited to 'tools/compare-abis.sh')
-rwxr-xr-xtools/compare-abis.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/compare-abis.sh b/tools/compare-abis.sh
index a3b7f8e490..875cfe8ffa 100755
--- a/tools/compare-abis.sh
+++ b/tools/compare-abis.sh
@@ -4,15 +4,17 @@
# Compare ABIs of two Wireshark working copies
# $Id$
+# Tested with abi-compliance-checker 1.96.1
+
function acc () {
LIBNAME=$1
DIR=$2
# compare only dumped ABI descriptions first, then fall back to full comparison
# if no difference is found
- if abi-compliance-checker -separately -l $LIBNAME \
+ if abi-compliance-checker -l $LIBNAME \
-d1 $V1_PATH/$DIR/.libs/$LIBNAME.abi.tar.gz \
-d2 $V2_PATH/$DIR/.libs/$LIBNAME.abi.tar.gz ; then
- abi-compliance-checker -separately -l $LIBNAME \
+ abi-compliance-checker -l $LIBNAME \
-d1 $V1_PATH/$DIR/abi-descriptor.xml -relpath1 $V1_PATH/$DIR \
-v1 `ls $V1_PATH/$DIR/.libs/$LIBNAME.so.?.?.?|sed 's/.*\.so\.//'` \
-d2 $V2_PATH/$DIR/abi-descriptor.xml -relpath2 $V2_PATH/$DIR \