summaryrefslogtreecommitdiffstats
path: root/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
commit5b423064d5bfe413a49ff370c3f7f908af510533 (patch)
treefb5691bd0926386dc00b21e3c405f395bc40cbe5 /elapi
parent95a536b7bf803470036c47aea413bb00a8d9fbe1 (diff)
downloadding-libs2-5b423064d5bfe413a49ff370c3f7f908af510533.tar.gz
ding-libs2-5b423064d5bfe413a49ff370c3f7f908af510533.tar.xz
ding-libs2-5b423064d5bfe413a49ff370c3f7f908af510533.zip
Add 'make tests' target
Diffstat (limited to 'elapi')
-rw-r--r--elapi/Makefile.am5
-rw-r--r--elapi/elapi_test/Makefile.am2
2 files changed, 7 insertions, 0 deletions
diff --git a/elapi/Makefile.am b/elapi/Makefile.am
index c589ec5..7e487a2 100644
--- a/elapi/Makefile.am
+++ b/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/elapi/elapi_test/Makefile.am b/elapi/elapi_test/Makefile.am
index f2368f1..1a0c6c9 100644
--- a/elapi/elapi_test/Makefile.am
+++ b/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)