[Pkg-emacsen-addons] Bug#829170: dh_elpa_test: option to run tests inside dtach for tests that need a tty
Sean Whitton
spwhitton at spwhitton.name
Fri Jul 1 07:50:29 UTC 2016
Source: dh-elpa
Version: 0.0.21
Severity: wishlist
Some ERT (and possibly Buttercup) test suites need a tty to run. That
is, they fail under `emacs -batch' while succeeding under `emacs -nw'.
src:evil-el works around this by launching the test suite inside dtach.
This method comes from src:notmuch. src:evil-el checks the test exit
status but swallows the stdout; src:notmuch manages to display the
stdout (though note that src:notmuch doesn't use ERT or Buttercup).
It would be nice if the user could specify something like
export DH_ELPA_TEST_TTY=yes
in their rules file and dh_elpa_test would take care of it for them.
--
Sean Whitton
More information about the Pkg-emacsen-addons
mailing list