emacs-diffs
[Top][All Lists]
Advanced

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

master b0ed2d1f46 4/5: Port test SUBDIRS to Solaris 10


From: Paul Eggert
Subject: master b0ed2d1f46 4/5: Port test SUBDIRS to Solaris 10
Date: Sat, 25 Jun 2022 16:28:18 -0400 (EDT)

branch: master
commit b0ed2d1f46d27885a19ae6941b6ea5276f0050e0
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Port test SUBDIRS to Solaris 10
    
    * test/Makefile.in (SUBDIRS): Port to traditional ‘find’, which
    lacks -path.
---
 test/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/Makefile.in b/test/Makefile.in
index 3b6e116e65..67162c4883 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -240,7 +240,8 @@ $(foreach test,${TESTS},$(eval $(call 
test_template,${test})))
 
 ## Get the tests for only a specific directory.
 SUBDIRS = $(sort $(shell cd ${srcdir} && find lib-src lisp misc src -type d \
-                 ! \( -path "*resources*" -o -path "*auto-save-list" \) 
-print))
+               \( -name '*resources*' -prune \
+                  -o ! -name '*auto-save-list' -print \)))
 SUBDIR_TARGETS =
 
 define subdir_template



reply via email to

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