emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 5f5e114a03: Revert previous change in test/Makefile.in


From: Michael Albinus
Subject: master 5f5e114a03: Revert previous change in test/Makefile.in
Date: Thu, 28 Apr 2022 04:16:59 -0400 (EDT)

branch: master
commit 5f5e114a0327a2ba3eed1cfac399eec74ebbf786
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Revert previous change in test/Makefile.in
    
    * test/Makefile.in (test_template): Revert previous change, it isn't needed.
---
 test/Makefile.in | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/Makefile.in b/test/Makefile.in
index e7df121d0e..3b6e116e65 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -221,13 +221,11 @@ define test_template
   ## The similar name is FOO.c if FOO begins with '{lib-,}src/', FOO.el
   ## otherwise.  Although this heuristic does not identify all the
   ## dependencies, it is better than nothing.
-  srcfile = $(patsubst %-tests,$(srcdir)/../%,$(1))$(if $(patsubst 
src/%,,$(patsubst lib-src/%,,$(1))),.el,.c)
   ifeq (,$(patsubst %-tests,,$(1))$(findstring -tests/,$(1)))
-  ifeq ($(shell test -e $(srcfile) && echo -n yes),yes)
-    $(1).log: $(srcfile)
+    $(1).log: $(patsubst %-tests,$(srcdir)/../%,$(1))$(if \
+                                       $(patsubst src/%,,$(patsubst 
lib-src/%,,$(1))),.el,.c)
     $(notdir $(1).log): $(1).log
   endif
-  endif
 
   ## Short aliases that always re-run the tests, with no logging.
   ## Define both with and without the directory name for ease of use.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]