* test/Makefile.in (WRITE_LOG): Always be verbose on hydra.nixos.

This commit is contained in:
Glenn Morris 2022-07-09 15:12:42 -07:00
parent ad011fd3ac
commit 588feeecfd

View file

@ -151,13 +151,13 @@ endif
%.elc: %.el
$(AM_V_ELC)$(emacs) --batch -f batch-byte-compile $<
ifdef EMACS_HYDRA_CI
WRITE_LOG = 2>&1 | tee $@
else
## Save logs, and show logs for failed tests.
WRITE_LOG = > $@ 2>&1 || { STAT=$$?; cat $@; exit $$STAT; }
## On Hydra or Emba, always show logs for certain problematic tests.
ifdef EMACS_HYDRA_CI
lisp/net/tramp-tests.log \
: WRITE_LOG = 2>&1 | tee $@
endif
## On Emba, always show logs for certain problematic tests.
ifdef EMACS_EMBA_CI
lisp/filenotify-tests.log lisp/net/tramp-tests.log src/emacs-module-tests.log \
: WRITE_LOG = 2>&1 | tee $@