Re: Bug#841319: notmuch: testsuite fails with TERM=unknown

Subject: Re: Bug#841319: notmuch: testsuite fails with TERM=unknown

Date: Wed, 19 Oct 2016 14:02:47 -0300

To: Gianfranco Costamagna, 841319@bugs.debian.org, notmuch@notmuchmail.org

Cc:

From: David Bremner


Gianfranco Costamagna <locutusofborg@debian.org> writes:

> source: notmuch
> version: 0.23-2
> severity: normal
> tags: patch
>
> Hi dear maintainer, seems that the testsuite fails when TERM=unknown.
>

more precisely,

Use "make V=1" to print test headings and PASSing results.
INFO: using 2 minute timeout for tests
FATAL: ./T160-json.sh: interrupted by signal 15

Looks like one of the invokations of emacs hangs when TERM=unknown

> I propose you to apply this patch
>
> override_dh_auto_test:
> ifeq ($(DEB_HOST_ARCH),armhf)
>  TERM=vt100 dh_auto_test || true
> else
>  TERM=vt100 dh_auto_test
> endif
> or
> override_dh_auto_test:
>  TERM=vt100 dh_auto_test
> endif

Hopefully we can fix this upstream; it's not a Debian specific issue.

> in case you don't care about the Ubuntu armhf issue (but you will probably
> have it in Debian too when gdb will be updated)

It looks like a snapshot version of gdb in yakkety, so I'm reluctant to
invest much effort into it. In particular 7.12 is already released upstream.

A nicer way to skip only those tests that are broken with that
particular version of gdb is is drop the build depends on gdb for armhf.
We already do this in debian for a variety of architectures.

In the not-implausible case that gdb 7.12 also causes problems for the
test suite on armhf, I'll disable those tests there (unless they are
fixable, of course).

Thread: