summaryrefslogtreecommitdiff
path: root/abicheck/run_abi_test
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-02-18 11:39:08 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-02-18 11:39:08 +0100
commitd8cd04f8583b05076dafe34496b53731062b6060 (patch)
tree8bb64d1cc909096ceacb1d2123dfd7e429a8e434 /abicheck/run_abi_test
parent9720f8d3377e4042515233974b30da629dc01dad (diff)
downloadapt-d8cd04f8583b05076dafe34496b53731062b6060.tar.gz
* abicheck/
- add new abitest tester using the ABI Compliance Checker from http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker
Diffstat (limited to 'abicheck/run_abi_test')
-rwxr-xr-xabicheck/run_abi_test6
1 files changed, 6 insertions, 0 deletions
diff --git a/abicheck/run_abi_test b/abicheck/run_abi_test
new file mode 100755
index 000000000..120d0c641
--- /dev/null
+++ b/abicheck/run_abi_test
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+LIBPATH=$(find /usr/lib/ -type f -name "libapt-pkg*")
+sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml
+
+perl abi-compliance-checker.pl -l apt -d1 apt_installed.xml -d2 apt_build.xml