summaryrefslogtreecommitdiff
path: root/common/elapi
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-11 15:32:19 -0400
committerSimo Sorce <ssorce@redhat.com>2009-09-11 16:22:58 -0400
commit1df8e4158e752f1f010394d09e8a5e4f8201fd7e (patch)
tree94f30b280b81acce819ee22a13ced4c1a8dd45c9 /common/elapi
parent81fdd5adc085c2cc3ff3b4a8ca309b91db30c5fe (diff)
downloadsssd-1df8e4158e752f1f010394d09e8a5e4f8201fd7e.tar.gz
sssd-1df8e4158e752f1f010394d09e8a5e4f8201fd7e.tar.bz2
sssd-1df8e4158e752f1f010394d09e8a5e4f8201fd7e.zip
Add 'make tests' target
Diffstat (limited to 'common/elapi')
-rw-r--r--common/elapi/Makefile.am5
-rw-r--r--common/elapi/elapi_test/Makefile.am2
2 files changed, 7 insertions, 0 deletions
diff --git a/common/elapi/Makefile.am b/common/elapi/Makefile.am
index c589ec59..7e487a2d 100644
--- a/common/elapi/Makefile.am
+++ b/common/elapi/Makefile.am
@@ -58,3 +58,8 @@ libelapi_la_SOURCES = \
elapi.h
libelapi_la_LIBADD = libprovider.la libelapibasic.la
+
+tests: all
+ for subdir in $(SUBDIRS); do \
+ $(MAKE) -C $$subdir $@; \
+ done
diff --git a/common/elapi/elapi_test/Makefile.am b/common/elapi/elapi_test/Makefile.am
index f2368f12..1a0c6c93 100644
--- a/common/elapi/elapi_test/Makefile.am
+++ b/common/elapi/elapi_test/Makefile.am
@@ -47,3 +47,5 @@ elapi_ut_SOURCES = elapi_ut.c
elapi_ut_LDADD = libelapi_test.la ../../ini/libini_config.la ../../collection/libcollection.la -ldl
TESTS = elapi_ut
+
+tests: all $(check_PROGRAMS)