emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4caa8d4: * test/Makefile.in: Don't suppress test fa


From: Noam Postavsky
Subject: [Emacs-diffs] master 4caa8d4: * test/Makefile.in: Don't suppress test failure for single tests.
Date: Sat, 17 Jun 2017 17:43:47 -0400 (EDT)

branch: master
commit 4caa8d4de4cc9c84b2d49a75f24c1626aa3c3f73
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    * test/Makefile.in: Don't suppress test failure for single tests.
---
 test/Makefile.in | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/test/Makefile.in b/test/Makefile.in
index 67bb7ac..414eca9 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -144,10 +144,9 @@ else
 testloadfile = $*
 endif
 
-## Ignore any test errors so we can continue to test other files.
 %.log: %.elc
        $(AM_V_at)${MKDIR_P} $(dir $@)
-       -$(AM_V_GEN)HOME=/nonexistent $(emacs) -l ert -l $(testloadfile) \
+       $(AM_V_GEN)HOME=/nonexistent $(emacs) -l ert -l $(testloadfile) \
          --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" 
${WRITE_LOG}
 
 ifeq (@HAVE_MODULES@, yes)
@@ -240,8 +239,11 @@ check-maybe: check-no-automated-subdir
 
 ## Run the tests.
 .PHONY: check-doit
-check-doit: ${LOGFILES}
-       @$(emacs) -l ert -f ert-summarize-tests-batch-and-exit $^
+## We can't put LOGFILES as prerequisites, because that would stop the
+## summarizing step from running when there is an error.
+check-doit:
+       address@hidden -k  ${LOGFILES}
+       @$(emacs) -l ert -f ert-summarize-tests-batch-and-exit ${LOGFILES}
 
 .PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]