summaryrefslogtreecommitdiffstats
path: root/debian/tests/unit
blob: 3f38d0b0f237f72b47bd6b969ad80b5319d5a3c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# remove locally built liborcus so that we actually test the system one
versions="$(dpkg --no-pager -l 'liborcus-*'|awk '/^ii/ {} /liborcus-[0-9]/ {print $2}'|cut -d: -f1|cut -d- -f2)"
for v in $versions; do
    echo deleting the following files:
    find . -name "*${v}.so*"
    find . -name "*${v}.so*" -delete
done
if [ -d ./src/python/.libs ]; then
    rm -rfv ./src/python/.libs
fi

make check