diff options
| author | Michael Albinus | 2022-04-27 16:32:24 +0200 |
|---|---|---|
| committer | Michael Albinus | 2022-04-27 16:32:24 +0200 |
| commit | abc92b0d5609a9b2d3ef7d217ea25229db633ca2 (patch) | |
| tree | 1d3a5ffa8f13acc5cf3d4015b9c7c71287b184c1 /test | |
| parent | 82fa112e8a6ca5a6b6d160e25134c6c4ab9a0bd7 (diff) | |
| download | emacs-abc92b0d5609a9b2d3ef7d217ea25229db633ca2.tar.gz emacs-abc92b0d5609a9b2d3ef7d217ea25229db633ca2.zip | |
; Fix previous change in test/Makefile.in
Diffstat (limited to 'test')
| -rw-r--r-- | test/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 9c61da9dde8..e7df121d0eb 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
| @@ -223,9 +223,11 @@ define test_template | |||
| 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) | 224 | srcfile = $(patsubst %-tests,$(srcdir)/../%,$(1))$(if $(patsubst src/%,,$(patsubst lib-src/%,,$(1))),.el,.c) |
| 225 | ifeq (,$(patsubst %-tests,,$(1))$(findstring -tests/,$(1))) | 225 | ifeq (,$(patsubst %-tests,,$(1))$(findstring -tests/,$(1))) |
| 226 | ifeq ($(shell test -e $(srcfile) && echo -n yes),yes) | ||
| 226 | $(1).log: $(srcfile) | 227 | $(1).log: $(srcfile) |
| 227 | $(notdir $(1).log): $(1).log | 228 | $(notdir $(1).log): $(1).log |
| 228 | endif | 229 | endif |
| 230 | endif | ||
| 229 | 231 | ||
| 230 | ## Short aliases that always re-run the tests, with no logging. | 232 | ## Short aliases that always re-run the tests, with no logging. |
| 231 | ## Define both with and without the directory name for ease of use. | 233 | ## Define both with and without the directory name for ease of use. |