diff options
| author | Michael Albinus | 2022-04-28 10:16:50 +0200 |
|---|---|---|
| committer | Michael Albinus | 2022-04-28 10:16:50 +0200 |
| commit | 5f5e114a0327a2ba3eed1cfac399eec74ebbf786 (patch) | |
| tree | e61b475bc2f42bb90521cdcee747abfb3d5768cc /test | |
| parent | 76d4e19f8984128d9253673fa91ce5423e9293f1 (diff) | |
| download | emacs-5f5e114a0327a2ba3eed1cfac399eec74ebbf786.tar.gz emacs-5f5e114a0327a2ba3eed1cfac399eec74ebbf786.zip | |
Revert previous change in test/Makefile.in
* test/Makefile.in (test_template): Revert previous change, it isn't needed.
Diffstat (limited to 'test')
| -rw-r--r-- | test/Makefile.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index e7df121d0eb..3b6e116e65f 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
| @@ -221,13 +221,11 @@ define test_template | |||
| 221 | ## The similar name is FOO.c if FOO begins with '{lib-,}src/', FOO.el | 221 | ## The similar name is FOO.c if FOO begins with '{lib-,}src/', FOO.el |
| 222 | ## otherwise. Although this heuristic does not identify all the | 222 | ## otherwise. Although this heuristic does not identify all the |
| 223 | ## dependencies, it is better than nothing. | 223 | ## dependencies, it is better than nothing. |
| 224 | srcfile = $(patsubst %-tests,$(srcdir)/../%,$(1))$(if $(patsubst src/%,,$(patsubst lib-src/%,,$(1))),.el,.c) | ||
| 225 | ifeq (,$(patsubst %-tests,,$(1))$(findstring -tests/,$(1))) | 224 | ifeq (,$(patsubst %-tests,,$(1))$(findstring -tests/,$(1))) |
| 226 | ifeq ($(shell test -e $(srcfile) && echo -n yes),yes) | 225 | $(1).log: $(patsubst %-tests,$(srcdir)/../%,$(1))$(if \ |
| 227 | $(1).log: $(srcfile) | 226 | $(patsubst src/%,,$(patsubst lib-src/%,,$(1))),.el,.c) |
| 228 | $(notdir $(1).log): $(1).log | 227 | $(notdir $(1).log): $(1).log |
| 229 | endif | 228 | endif |
| 230 | endif | ||
| 231 | 229 | ||
| 232 | ## Short aliases that always re-run the tests, with no logging. | 230 | ## Short aliases that always re-run the tests, with no logging. |
| 233 | ## Define both with and without the directory name for ease of use. | 231 | ## Define both with and without the directory name for ease of use. |