]> git.eshelyaron.com Git - emacs.git/commitdiff
Port test SUBDIRS to Solaris 10
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Jun 2022 18:09:22 +0000 (13:09 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Jun 2022 20:28:09 +0000 (15:28 -0500)
* test/Makefile.in (SUBDIRS): Port to traditional ‘find’, which
lacks -path.

test/Makefile.in

index 3b6e116e65f274ce91686f3a375455fb6bf44d60..67162c48838086667029ec52a30fcf0b12e86d5e 100644 (file)
@@ -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