aboutsummaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2023-04-09 11:26:27 -0300
committerDavid Bremner <david@tethera.net>2023-07-21 07:41:50 -0300
commit08ca74d71531f7907d3db820c55d59259bb1cb5b (patch)
tree28d4fbcff99a1459f9d28588de4eecf0b5b8486c /debian/tests
parentec26eeaeec87781dee7dbf720103a5bc9b6bba5d (diff)
debian: add autopkgtests
We generate output to stderr for BROKEN tests, which are not failures, so tell the test runner not to fail because of output on stderr.
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 00000000..87e00dc8
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,17 @@
+Test-command: env NOTMUCH_TEST_INSTALLED=1 TERM=dumb
+ NOTMUCH_HAVE_MAN=1 NOTMUCH_HAVE_SFSEXP=1 NOTMUCH_HAVE_XAPIAN_DB_RETRY_LOCK=1
+ NOTMUCH_HAVE_PYTHON3_CFFI=1 NOTMUCH_HAVE_PYTHON3_PYTEST=1
+ NOTMUCH_HAVE_ASAN=1 NOTMUCH_HAVE_TSAN=1
+ ./test/notmuch-test
+Restrictions: allow-stderr
+Depends: @,
+ build-essential,
+ dtach,
+ emacs-nox,
+ gdb,
+ git,
+ gnupg,
+ gpgsm,
+ libtalloc-dev,
+ man,
+ xapian-tools