summaryrefslogtreecommitdiffstats
path: root/debian/tests/unit
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commit5c1b3b5a76aafb37b2c0b00e4792d37f931cc429 (patch)
tree81cb43a792d945de61a6dc6ab5712f1ef76a6d09 /debian/tests/unit
parentAdding upstream version 0.19.2. (diff)
downloadliborcus-5c1b3b5a76aafb37b2c0b00e4792d37f931cc429.tar.xz
liborcus-5c1b3b5a76aafb37b2c0b00e4792d37f931cc429.zip
Adding debian version 0.19.2-3.debian/0.19.2-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/unit')
-rwxr-xr-xdebian/tests/unit14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/tests/unit b/debian/tests/unit
new file mode 100755
index 0000000..3f38d0b
--- /dev/null
+++ b/debian/tests/unit
@@ -0,0 +1,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