diff options
| author | Phillip Lord | 2015-11-28 23:13:24 +0000 |
|---|---|---|
| committer | Phillip Lord | 2015-11-30 21:32:31 +0000 |
| commit | 0baf45dbe3dfeb9f5fc03a3213ceeccb170643cf (patch) | |
| tree | d6e6e0603d53e0428e0db75b82442a7b2c1ad220 /test/Makefile.in | |
| parent | cbfb129555482c582fe875766680bf8179c0588c (diff) | |
| download | emacs-0baf45dbe3dfeb9f5fc03a3213ceeccb170643cf.tar.gz emacs-0baf45dbe3dfeb9f5fc03a3213ceeccb170643cf.zip | |
Tests now depend on source files
* test/Makefile.in: Include dependences from tests to source files.
* test/make-test-deps.emacs-lisp: New file
* .gitignore: Ignore generated make include file
Diffstat (limited to 'test/Makefile.in')
| -rw-r--r-- | test/Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index d3a8eb90420..4d8a802ca36 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
| @@ -125,6 +125,7 @@ endef | |||
| 125 | 125 | ||
| 126 | $(foreach test,${TESTS},$(eval $(call test_template,${test}))) | 126 | $(foreach test,${TESTS},$(eval $(call test_template,${test}))) |
| 127 | 127 | ||
| 128 | -include make-test-deps.mk | ||
| 128 | 129 | ||
| 129 | ## Re-run all the tests every time. | 130 | ## Re-run all the tests every time. |
| 130 | check: | 131 | check: |
| @@ -149,4 +150,8 @@ distclean: clean | |||
| 149 | 150 | ||
| 150 | maintainer-clean: distclean bootstrap-clean | 151 | maintainer-clean: distclean bootstrap-clean |
| 151 | 152 | ||
| 153 | make-test-deps.mk: $(ELFILES) make-test-deps.emacs-lisp | ||
| 154 | ../src/emacs --batch -l make-test-deps.emacs-lisp \ | ||
| 155 | --eval "(make-test-deps \"`pwd`\")" \ | ||
| 156 | 2> $@ | ||
| 152 | # Makefile ends here. | 157 | # Makefile ends here. |