build-sys: use non-recursive build

For reasons see excellent paper 'Recursive Make Considered Harmful' by
Peter Miller.

References: http://miller.emu.id.au/pmiller/books/rmch/
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2013-04-24 21:36:16 +01:00
parent 0495ea4edf
commit 30238e9d1c
18 changed files with 102 additions and 115 deletions

26
tests/Makemodule.am Normal file
View file

@ -0,0 +1,26 @@
TESTS = \
tests/bootp \
tests/complete \
tests/empty \
tests/full-json \
tests/leading0 \
tests/one-ip \
tests/same-twice \
tests/simple \
tests/v6
EXTRA_DIST += \
tests/confs \
tests/expected \
tests/leases \
tests/test.sh \
$(TESTS)
TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) PATH=$(top_builddir)$(PATH_SEPARATOR)$$PATH
check-local: $(SHELL) $(top_srcdir)/tests/test.sh
clean-local-tests:
rm -rf $(top_builddir)/tests/outputs
CLEAN_LOCALS += clean-local-tests