[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117423: Have `make check' re-run all the tests, eve
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] trunk r117423: Have `make check' re-run all the tests, every time |
Date: |
Fri, 27 Jun 2014 16:27:13 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117423
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2014-06-27 09:27:08 -0700
message:
Have `make check' re-run all the tests, every time
* test/automated/Makefile.in (check-maybe): Rename from check.
(check): Re-run all the tests, every time.
(clean, mostlyclean): Also delete *.log~.
modified:
test/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-8588
test/automated/Makefile.in makefile.in-20110112160650-056hnl9qhpjvjicy-6
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog 2014-06-26 07:34:09 +0000
+++ b/test/ChangeLog 2014-06-27 16:27:08 +0000
@@ -1,3 +1,9 @@
+2014-06-27 Glenn Morris <address@hidden>
+
+ * automated/Makefile.in (check-maybe): Rename from check.
+ (check): Re-run all the tests, every time.
+ (clean, mostlyclean): Also delete *.log~.
+
2014-06-26 Glenn Morris <address@hidden>
* automated/package-x-test.el: Do not mess with load-path.
=== modified file 'test/automated/Makefile.in'
--- a/test/automated/Makefile.in 2014-06-26 07:32:16 +0000
+++ b/test/automated/Makefile.in 2014-06-27 16:27:08 +0000
@@ -89,13 +89,20 @@
## see what the problem was.
.PRECIOUS: %.log
-check: ${LOGFILES}
+## Re-run all the tests every time.
+check:
+ address@hidden f in *.log; do test ! -f $$f || mv $$f $$f~; done
+ @${MAKE} check-maybe
+
+## Only re-run tests whose .log is older than the test.
+.PHONY: check-maybe
+check-maybe: ${LOGFILES}
$(emacs) -l ert -f ert-summarize-tests-batch-and-exit $^
.PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean
clean mostlyclean:
- -rm -f *.log
+ -rm -f *.log *.log~
bootstrap-clean: clean
-rm -f ${srcdir}/*.elc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117423: Have `make check' re-run all the tests, every time,
Glenn Morris <=