]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/Makefile.in: Don't suppress test failure for single tests.
authorNoam Postavsky <npostavs@gmail.com>
Sat, 17 Jun 2017 19:48:32 +0000 (15:48 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 17 Jun 2017 21:45:17 +0000 (17:45 -0400)
test/Makefile.in

index 67bb7ac2eeab9d94449e4cc3c343a7beb4e69f80..414eca905648d1aaf45375b61272204a661b3509 100644 (file)
@@ -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:
+       -@${MAKE} -k  ${LOGFILES}
+       @$(emacs) -l ert -f ert-summarize-tests-batch-and-exit ${LOGFILES}
 
 .PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean