summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/tests/control3
-rw-r--r--debian/tests/testsuite8
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..10ec68d
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: testsuite
+Depends: debhelper-compat (= 13), autoconf (>= 2.64~), automake, libtool (>= 2.2), gettext, @
+Restrictions: rw-build-tree
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100644
index 0000000..bea1a02
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Tweak the Makefile to link against the installed liblzma for the tests
+sed 's@..top_builddir..src.liblzma.liblzma.la@-llzma@' -i tests/Makefile.am
+
+./configure
+
+exec make check