aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/compare-abis.sh48
-rwxr-xr-xtools/git-compare-abis.sh44
2 files changed, 0 insertions, 92 deletions
diff --git a/tools/compare-abis.sh b/tools/compare-abis.sh
deleted file mode 100755
index 8d18683c8a..0000000000
--- a/tools/compare-abis.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-#
-# Compare ABIs of two Wireshark working copies
-#
-# Copyright 2013 Balint Reczey <balint at balintreczey.hu>
-#
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-# 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 -l $LIBNAME \
- -d1 $V1_PATH/$DIR/$REL_DUMP_PATH/$LIBNAME.abi.tar.gz \
- -d2 $V2_PATH/$DIR/$REL_DUMP_PATH/$LIBNAME.abi.tar.gz ; then
- abi-compliance-checker -l $LIBNAME \
- -d1 $V1_PATH/$DIR/abi-descriptor.xml -relpath1 $V1_PATH/$DIR \
- -v1 `ls $V1_PATH/$DIR/$REL_LIB_PATH/$LIBNAME.so.?.*.*|sed 's/.*\.so\.//'` \
- -d2 $V2_PATH/$DIR/abi-descriptor.xml -relpath2 $V2_PATH/$DIR \
- -v2 `ls $V2_PATH/$DIR/$REL_LIB_PATH/$LIBNAME.so.?.*.*|sed 's/.*\.so\.//'` \
- -check-implementation
- fi
-}
-
-V1_PATH=$1
-V2_PATH=$2
-
-# both working copies have to be built first with cmake
-# make -C $V1_PATH all dumpabi
-# make -C $V2_PATH all dumpabi
-
-REL_LIB_PATH=../lib
-REL_DUMP_PATH=.
-
-acc libwiretap wiretap $V1_PATH $V2_PATH
-RET=$?
-acc libwsutil wsutil $V1_PATH $V2_PATH
-RET=$(($RET + $?))
-acc libwireshark epan $V1_PATH $V2_PATH
-exit $(($RET + $?))
-
diff --git a/tools/git-compare-abis.sh b/tools/git-compare-abis.sh
deleted file mode 100755
index 17a4c58fc0..0000000000
--- a/tools/git-compare-abis.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-#
-# checks if Wireshark's ABI has been changes since last release (tag)
-#
-# Copyright 2011 Balint Reczey <balint@balintreczey.hu>
-#
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-set -e
-
-if test -z "$1"; then
- echo "Usage:"
- echo "$0 \"<build commands>\""
- echo "e.g. $0 \"./autogen.sh && ./configure && make -j3 && make dumpabi\""
- exit 1
-fi
-
-# build current version
-bash -c "$1"
-
-cd `git rev-parse --show-toplevel`
-# we are at top level
-
-# Stable branches with releases
-#LAST_TAG=`git describe --tags --abbrev=0`
-#LAST_TAG_DIR=$LAST_TAG
-
-# Use latest commit
-LAST_TAG=HEAD
-LAST_TAG_DIR=master
-
-rm -rf $LAST_TAG_DIR
-mkdir $LAST_TAG_DIR
-git archive $LAST_TAG | tar -x -C $LAST_TAG_DIR
-
-# build latest tag
-(cd $LAST_TAG_DIR && bash -c "$1")
-
-exec tools/compare-abis.sh `pwd`/$LAST_TAG_DIR `pwd`
-