]> git.notmuchmail.org Git - notmuch/commitdiff
debian: add autopkgtests
authorDavid Bremner <david@tethera.net>
Sun, 9 Apr 2023 14:26:27 +0000 (11:26 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 21 Jul 2023 10:41:50 +0000 (07:41 -0300)
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.

debian/tests/control [new file with mode: 0644]

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644 (file)
index 0000000..87e00dc
--- /dev/null
@@ -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