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