]> git.saurik.com Git - apt.git/blame - abicheck/run_abi_test
abicheck/run_abi_test: check both libapt-pkg and libapt-inst
[apt.git] / abicheck / run_abi_test
CommitLineData
d8cd04f8
MV
1#!/bin/sh
2
707bc266
MV
3if [ ! -d ../build ]; then
4 echo "../build missing, did you run make?"
5 exit 1
6fi
7
b8c42fc0 8LIBPATH=$(find /usr/lib/ -type f -name "libapt-*.so.*" -printf %p\\\\n)
d8cd04f8
MV
9sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml
10
f0e33f05
MV
11BUILDPATH=$(readlink -f ../build)
12sed s#@build_path@#$BUILDPATH# apt_build.xml.in > apt_build.xml
13
d8cd04f8 14perl abi-compliance-checker.pl -l apt -d1 apt_installed.xml -d2 apt_build.xml