X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fapi%2FMakefile.am;h=0d5aad469ce38bf6281ae56fef41baebffd2dee7;hp=9c958455a22fe0451e5b980f5d4aa1f1b76fd52f;hb=HEAD;hpb=e172ced0dcc937dfc433a33c7e20962b9e6b5ea0 diff --git a/test/api/Makefile.am b/test/api/Makefile.am index 9c95845..0d5aad4 100644 --- a/test/api/Makefile.am +++ b/test/api/Makefile.am @@ -1,46 +1,60 @@ -# $Id: Makefile.am,v 1.24 2004-10-29 14:30:27 heikki Exp $ noinst_PROGRAMS = testclient testclient_SOURCES = testclient.c -simpletests = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 -xpathtests= xpath1 xpath2 xpath3 xpath4 -#check_PROGRAMS = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 xpath1 -check_PROGRAMS = ${simpletests} ${xpathtests} -TESTS = $(check_PROGRAMS) - -EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebrazv.cfg zebraxpath.cfg +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_safari test_sort1 test_sort2 test_sort3 \ + test_sortidx -t1_SOURCES = t1.c testlib.c testlib.h -t2_SOURCES = t2.c testlib.c testlib.h -t3_SOURCES = t3.c testlib.c testlib.h -t4_SOURCES = t4.c testlib.c testlib.h -t5_SOURCES = t5.c testlib.c testlib.h -t6_SOURCES = t6.c testlib.c testlib.h -t7_SOURCES = t7.c testlib.c testlib.h -t8_SOURCES = t8.c testlib.c testlib.h -t9_SOURCES = t9.c testlib.c testlib.h rankingrecords.h -t10_SOURCES = t10.c testlib.c testlib.h rankingrecords.h +TESTS = $(check_PROGRAMS) -xpath1_SOURCES = xpath1.c testlib.c testlib.h -xpath2_SOURCES = xpath2.c testlib.c testlib.h -xpath3_SOURCES = xpath3.c testlib.c testlib.h -xpath4_SOURCES = xpath4.c testlib.c testlib.h +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_sort1.cfg test_sort1.idx test_sort1.chr sort1.abs \ + test_sort2.cfg test_sort2.idx test_sort2.chr sort2.abs \ + test_safari.cfg test_sort3.cfg string.chr + +noinst_LIBRARIES = libtestlib.a + +libtestlib_a_SOURCES = testlib.c testlib.h + +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_safari_SOURCES = test_safari.c +test_sort1_SOURCES = test_sort1.c +test_sort2_SOURCES = test_sort2.c +test_sort3_SOURCES = test_sort3.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 - -LDADD = $(zebralibs) $(YAZLALIB) +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