diff options
Diffstat (limited to 'debian/tests/unit')
-rwxr-xr-x | debian/tests/unit | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/tests/unit b/debian/tests/unit new file mode 100755 index 0000000..07e31fe --- /dev/null +++ b/debian/tests/unit @@ -0,0 +1,14 @@ +#!/bin/sh + +# remove locally built libixion so that we actually test the system one +versions="$(dpkg --no-pager -l 'libixion-*'|awk '/^ii/ {} /libixion-[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 |