From: Paul Eggert Date: Sat, 25 Jun 2022 18:09:22 +0000 (-0500) Subject: Port test SUBDIRS to Solaris 10 X-Git-Tag: emacs-29.0.90~1447^2~1464 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b0ed2d1f46d27885a19ae6941b6ea5276f0050e0;p=emacs.git Port test SUBDIRS to Solaris 10 * test/Makefile.in (SUBDIRS): Port to traditional ‘find’, which lacks -path. --- diff --git a/test/Makefile.in b/test/Makefile.in index 3b6e116e65f..67162c48838 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