]> git.saurik.com Git - apt.git/blame_incremental - abicheck/run_abi_test
Merge branch 'debian/sid' of git://git.debian.org/git/apt/apt into debian/sid
[apt.git] / abicheck / run_abi_test
... / ...
CommitLineData
1#!/bin/sh
2
3if [ ! -d ../build ]; then
4 echo "../build missing, did you run make?"
5 exit 1
6fi
7
8if [ ! -x "$(which abi-compliance-checker 2>/dev/null )" ]; then
9 echo "Please install the 'abi-compliance-checker' package"
10 exit 1
11fi
12
13LIBPATH=$(find /usr/lib/ -type f -name "libapt-*.so.*" -printf %p\\\\n)
14sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml
15
16BUILDPATH=$(readlink -f ../build)
17sed s#@build_path@#$BUILDPATH# apt_build.xml.in > apt_build.xml
18
19abi-compliance-checker -l apt -d1 apt_installed.xml -d2 apt_build.xml