]>
git.saurik.com Git - apt.git/blob - abicheck/run_abi_test
3 # ensure we are in the abibreak subdirectory
4 cd "$(readlink -f $(dirname $0))"
6 if [ ! -d ..
/build
]; then
7 echo "../build missing, did you run make?"
11 if [ ! -x "$(which abi-compliance-checker 2>/dev/null )" ]; then
12 echo "Please install the 'abi-compliance-checker' package"
16 LIBPATH
=$(find /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH) -type f
-regex '.*/libapt-\(pkg\|inst\)\.so\..*' -printf %p
\\\\n
)
17 sed s
#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml
19 BUILDPATH
=$(readlink -f ../build)
20 sed s
#@build_path@#$BUILDPATH# apt_build.xml.in > apt_build.xml
22 abi
-compliance-checker -l apt
-d1 apt_installed.xml
-d2 apt_build.xml $@