Port test SUBDIRS to Solaris 10

* test/Makefile.in (SUBDIRS): Port to traditional ‘find’, which
lacks -path.
This commit is contained in:
Paul Eggert 2022-06-25 13:09:22 -05:00
parent 250a5e8bdd
commit b0ed2d1f46

View 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