diff options
Diffstat (limited to 'Makefile.builds.in')
-rw-r--r-- | Makefile.builds.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.builds.in b/Makefile.builds.in index 2eec9c777..44326f0ff 100644 --- a/Makefile.builds.in +++ b/Makefile.builds.in @@ -122,9 +122,15 @@ endif test -e lib || ln -sfv ".$(libdir)" lib test -e bin || ln -sfv ".$(bindir)" bin -check test units systemtests regress: all +# The descent into "src" with target "check" is to build check +# prerequisites (e.g. CHECK_PROGRAMS, CHECK_LTLIBRARIES, ...). +check test units: + (cd $(CURRENT_BUILD)/src && $(MAKE) check) + +(cd $(CURRENT_BUILD)/test && $(MAKE) $@) +systemtests regress: +(cd $(CURRENT_BUILD)/test && $(MAKE) $@) units%: + (cd $(CURRENT_BUILD)/src && $(MAKE) check) +(cd $(CURRENT_BUILD)/test && $(MAKE) units TEST_PREFIX=$(subst units:,,$@)) regress%: all +(cd $(CURRENT_BUILD)/test && $(MAKE) $@) |