[couchdb-glib] Add test suite for the API



commit 6e52bb6846e21a516919af7c0651247f1175c6c6
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Mon Jul 27 23:47:18 2009 +0200

    Add test suite for the API

 tests/Makefile.am |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bfd9c27..447a188 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,6 +3,7 @@ INCLUDES =			\
 	-I$(top_srcdir)/couchdb-glib
 
 noinst_PROGRAMS = 		\
+	test-couchdb-glib	\
 	test-list-databases
 
 test_list_databases_SOURCES = test-list-databases.c
@@ -10,4 +11,14 @@ test_list_databases_LDADD = 	\
 	$(COUCHDB_GLIB_LIBS)	\
 	$(top_builddir)/couchdb-glib/libcouchdb-glib-1.0.la
 
+test_couchdb_glib_SOURCES = test-couchdb-glib.c
+test_couchdb_glib_LDADD = 	\
+	$(COUCHDB_GLIB_LIBS)	\
+	$(top_builddir)/couchdb-glib/libcouchdb-glib-1.0.la
+
 EXTRA_DIST = createCouchContacts.py
+
+check_PROGRAMS = test-couchdb-glib
+
+test: $(check_PROGRAMS)
+	$(top_srcdir)/tests/test-couchdb-glib
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]