From d00c89de114f110f6108767ee27ded2cd10687fc Mon Sep 17 00:00:00 2001 From: kabeer khan Date: Fri, 8 May 2015 14:19:48 +0200 Subject: [PATCH] autotools: enable make check-build which builds only test suites Summary: Signed-off-by: kabeer khan Reviewers: tasn, cedric, stefan_schmidt Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2480 --- Makefile.am | 3 +++ src/Makefile.am | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index a756511811..34927d7290 100644 --- a/Makefile.am +++ b/Makefile.am @@ -432,6 +432,9 @@ endif if EFL_ENABLE_COVERAGE @$(MAKE) $(AM_MAKEFLAGS) lcov-report endif + +check-build: + @$(MAKE) $(AM_MAKEFLAGS) -C src check-build endif # benchmark diff --git a/src/Makefile.am b/src/Makefile.am index a2e4b69a3c..7916cc1aa3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -130,6 +130,11 @@ endif DIST_SUBDIRS += $(EXAMPLES_SUBDIRS) +if EFL_ENABLE_TESTS +check-build: + make $(check_PROGRAMS) +endif + examples: all-am @for d in $(EXAMPLES_SUBDIRS); do \ echo "Making examples in $$d"; \