aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPhillip Lord2016-02-26 11:55:38 +0000
committerPhillip Lord2016-02-26 11:55:38 +0000
commit9583b9e871f89bdc1bf30c24a2090c08ed87e1b5 (patch)
tree6daeaa76399062032af9665a1d86c135c1f26859 /test
parent97d7a0b8db4ce32a8e489dec48634b7e85212eaa (diff)
downloademacs-9583b9e871f89bdc1bf30c24a2090c08ed87e1b5.tar.gz
emacs-9583b9e871f89bdc1bf30c24a2090c08ed87e1b5.zip
; Improve documentation in test Makefile
* test/Makefile.in: Improve documentation.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index e651c6caf0b..b5954dfc519 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -21,7 +21,8 @@
21 21
22## Some targets: 22## Some targets:
23## check: re-run all tests, writing to .log files. 23## check: re-run all tests, writing to .log files.
24## check-maybe: run all tests whose .log file needs updating 24## check-maybe: run all tests which are outdated with their .log file
25## or the source files they are testing.
25## filename.log: run tests from filename.el(c) if .log file needs updating 26## filename.log: run tests from filename.el(c) if .log file needs updating
26## filename: re-run tests from filename.el(c), with no logging 27## filename: re-run tests from filename.el(c), with no logging
27 28
@@ -142,9 +143,9 @@ endef
142$(foreach test,${TESTS},$(eval $(call test_template,${test}))) 143$(foreach test,${TESTS},$(eval $(call test_template,${test})))
143 144
144## Include dependencies between test files and the files they test. 145## Include dependencies between test files and the files they test.
145## We do this without the file and eval directly, but then we would 146## We could do this without the file and eval directly, but then we
146## have to run Emacs for every make invocation, and it might not be 147## would have to run Emacs for every make invocation, and it might not
147## available during clean. 148## be available during clean.
148-include make-test-deps.mk 149-include make-test-deps.mk
149## Rerun all default tests. 150## Rerun all default tests.
150check: mostlyclean 151check: mostlyclean
@@ -155,7 +156,11 @@ check: mostlyclean
155check-expensive: mostlyclean 156check-expensive: mostlyclean
156 @${MAKE} check-doit SELECTOR="${SELECTOR_EXPENSIVE}" 157 @${MAKE} check-doit SELECTOR="${SELECTOR_EXPENSIVE}"
157 158
158## Only re-run default tests whose .log is older than the test. 159## Re-run all tests which are outdated. A test is outdated if its
160## logfile is out-of-date with either the test file, or the source
161## files that the tests depend on. The source file dependencies are
162## determined by a heuristic and does not identify the full dependency
163## graph. See make-test-deps.emacs-lisp for details.
159.PHONY: check-maybe 164.PHONY: check-maybe
160check-maybe: 165check-maybe:
161 @${MAKE} check-doit SELECTOR="${SELECTOR_ACTUAL}" 166 @${MAKE} check-doit SELECTOR="${SELECTOR_ACTUAL}"