Added test t13 which illustrates the resource API and tests it.
[idzebra-moved-to-github.git] / test / api / Makefile.am
index ceb5608..356159b 100644 (file)
@@ -1,12 +1,18 @@
-# $Id: Makefile.am,v 1.19 2004-10-24 13:34:45 adam Exp $
+# $Id: Makefile.am,v 1.30 2005-08-17 21:30:31 adam Exp $
 
 noinst_PROGRAMS = testclient
-testclient_SOURCES = testclient.c
+testclient_SOURCES = testclient.c 
 
-check_PROGRAMS = t1 t2 t3 t4 t5 t6 t7 t8
+simpletests = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13
+safaritests = safari1
+check_PROGRAMS = $(simpletests) $(safaritests)
 TESTS = $(check_PROGRAMS)
 
-EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg
+EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebrazv.cfg safari.cfg
+
+noinst_LIBRARIES = libtestlib.a
+
+libtestlib_a_SOURCES = testlib.c testlib.h
 
 t1_SOURCES = t1.c
 t2_SOURCES = t2.c
@@ -16,6 +22,13 @@ t5_SOURCES = t5.c
 t6_SOURCES = t6.c
 t7_SOURCES = t7.c
 t8_SOURCES = t8.c
+t9_SOURCES = t9.c rankingrecords.h
+t10_SOURCES = t10.c rankingrecords.h
+t11_SOURCES = t11.c
+t12_SOURCES = t12.c
+t13_SOURCES = t13.c
+
+safari1_SOURCES = safari1.c testlib.c
 
 AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC)
 
@@ -32,5 +45,5 @@ zebralibs = \
  ../../dfa/libidzebra-dfa.la \
  ../../util/libidzebra-util.la
 
-LDADD = $(zebralibs) $(YAZLALIB)
+LDADD = libtestlib.a $(zebralibs) $(YAZLALIB)