= bash
MODULES = moduleA moduleB
testdir = $(top_srcdir)/tests
test_FILES = $(foreach f, $(MODULES),... = test-modules
test_ENV = PATH=$(builddir):$(testdir):$(PATH) TESTMATCH=$(TESTMATCH)
test_CMD =... test mode is on: external commands (like rm and mkdir) are not executed, the command line is sent to st... ce in testing the result.
Here's the function.
isdir()
{
# is_it_a_directory
if [ $# -lt 1 ]; then