summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control31
-rwxr-xr-xdebian/tests/destructive4
-rwxr-xr-xdebian/tests/shunit24
3 files changed, 39 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..c93bd73
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,31 @@
+Tests: shunit2
+Depends:
+ build-essential,
+ debhelper,
+ fakeroot,
+ faketime,
+ git,
+ gnupg,
+ libdistro-info-perl,
+ libgitlab-api-v4-perl,
+ libipc-run-perl,
+ libtest-output-perl,
+ libwww-perl,
+ mozilla-devscripts,
+ python3-debian,
+ python3-pyftpdlib,
+ shunit2,
+ subversion,
+ wdiff,
+ zip,
+ @,
+Restrictions: allow-stderr
+
+Tests: destructive
+Depends:
+ apt,
+ libdpkg-perl,
+ libipc-run-perl,
+ perl,
+ @,
+Restrictions: allow-stderr, breaks-testbed, needs-root
diff --git a/debian/tests/destructive b/debian/tests/destructive
new file mode 100755
index 0000000..f3bfa43
--- /dev/null
+++ b/debian/tests/destructive
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+
+make destructive-test-installed
diff --git a/debian/tests/shunit2 b/debian/tests/shunit2
new file mode 100755
index 0000000..9dfbd0a
--- /dev/null
+++ b/debian/tests/shunit2
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+
+make test-installed