Since test suite Makefiles are not always generated, use wildcard

to determine which directories to descend into.
This commit is contained in:
Joel Sherrill
1997-11-30 18:36:52 +00:00
parent 0f3936522e
commit f4cec63dfa

View File

@@ -14,16 +14,15 @@ all: README
# mptests are the multiprocessing test suite
# We only build them if HAS_MP was defined
MP_TESTS_yes_V = mptests
MP_TESTS = $(MP_TESTS_$(HAS_MP)_V)
# psxtests are the POSIX API test suite
# We only build them if HAS_POSIX_API was defined
POSIX_TESTS_yes_V = psxtests
POSIX_TESTS = $(POSIX_TESTS_$(HAS_POSIX_API)_V)
SUB_DIRS=tools support samples libtests \
sptests $(MP_TESTS) $(POSIX_TESTS) tmtests
# wildcard on this lets ALL test suites be optional
SUB_DIRS=$(wildcard tools support samples libtests \
sptests $(MP_TESTS) $(POSIX_TESTS) tmtests)