Added other sort index test.
[idzebra-moved-to-github.git] / test / api / Makefile.am
index 356159b..13b68de 100644 (file)
@@ -1,49 +1,59 @@
-# $Id: Makefile.am,v 1.30 2005-08-17 21:30:31 adam Exp $
 
 noinst_PROGRAMS = testclient
 testclient_SOURCES = testclient.c 
 
-simpletests = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13
-safaritests = safari1
-check_PROGRAMS = $(simpletests) $(safaritests)
+check_PROGRAMS = test_start_stop test_result_sets \
+       test_insert_fetch test_search test_trunc test_sort_set \
+       test_rank test_private_attset \
+       test_scan test_create_databases test_resources test_update_record \
+       test_zebra_fork test_special_elements test_icu_indexing \
+       test_sortindex test_safari test_sort1 test_sort2 test_sortidx
+
 TESTS = $(check_PROGRAMS)
 
-EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebrazv.cfg safari.cfg
+EXTRA_DIST=zebra.cfg test_trunc.cfg test_private_attset.cfg \
+       private_attset.att private_attset.abs test_search.abs \
+       test_zebra_fork.cfg \
+       test_icu_indexing.cfg test_icu_indexing.idx \
+       test_safari.cfg test_sortindex.cfg \
+       test_sort1.cfg test_sort1.idx test_sort1.chr sort1.abs \
+       test_sort2.cfg test_sort2.idx test_sort2.chr sort2.abs
 
 noinst_LIBRARIES = libtestlib.a
 
 libtestlib_a_SOURCES = testlib.c testlib.h
 
-t1_SOURCES = t1.c
-t2_SOURCES = t2.c
-t3_SOURCES = t3.c
-t4_SOURCES = t4.c
-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
+test_start_stop_SOURCES = test_start_stop.c
+test_result_sets_SOURCES = test_result_sets.c
+test_insert_fetch_SOURCES = test_insert_fetch.c
+test_search_SOURCES = test_search.c
+test_trunc_SOURCES = test_trunc.c
+test_sort_set_SOURCES = test_sort_set.c
+test_rank_SOURCES = test_rank.c 
+test_private_attset_SOURCES = test_private_attset.c
+test_scan_SOURCES = test_scan.c
+test_create_databases_SOURCES = test_create_databases.c
+test_resources_SOURCES = test_resources.c
+test_update_record_SOURCES = test_update_record.c
+test_zebra_fork_SOURCES = test_zebra_fork.c
+test_special_elements_SOURCES = test_special_elements.c
+test_icu_indexing_SOURCES = test_icu_indexing.c
+test_sortindex_SOURCES = test_sortindex.c
+test_safari_SOURCES = test_safari.c 
+test_sort1_SOURCES = test_sort1.c
+test_sort2_SOURCES = test_sort2.c
+test_sortidx_SOURCES = test_sortidx.c
 
 AM_CPPFLAGS = -I$(top_srcdir)/include $(YAZINC)
 
-zebralibs = \
- ../../index/libidzebra-api.la \
- ../../rset/libidzebra-rset.la \
- ../../recctrl/libidzebra-recctrl.la \
- ../../dict/libidzebra-dict.la  \
- ../../isams/libidzebra-isams.la \
- ../../isamc/libidzebra-isamc.la \
- ../../isamb/libidzebra-isamb.la \
- ../../data1/libidzebra-data1.la \
- ../../bfile/libidzebra-bfile.la \
- ../../dfa/libidzebra-dfa.la \
- ../../util/libidzebra-util.la
+zebralibs = ../../$(main_zebralib)
 
 LDADD = libtestlib.a $(zebralibs) $(YAZLALIB)
 
+clean-local:
+       -rm -rf *.LCK 
+       -rm -rf *.log 
+       -rm -rf *.mf 
+       -rm -rf register/*.LCK 
+       -rm -rf register/*.log 
+       -rm -rf register/*.mf