X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2FMakefile.am;h=1d6395c849241fb800a09924caa193b7c5dbfaf0;hb=2f1772e6ceae5de8a838b9811822a21acc49a80b;hp=02f7e0760d6522096569de182f357f4e15cf5d33;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/test/Makefile.am b/test/Makefile.am index 02f7e07..1d6395c 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,38 +1,61 @@ -## Copyright (C) 1994-2003, Index Data +## Copyright (C) 1994-2006, Index Data ApS ## All rights reserved. -## $Id: Makefile.am,v 1.1 2003-10-27 12:21:38 adam Exp $ - -check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl - -TESTS = $(check_PROGRAMS) - -EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h - -YAZCOMP = $(top_srcdir)/util/yaz-asncomp +## $Id: Makefile.am,v 1.27 2006-11-29 12:48:59 heikki Exp $ + +check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \ + tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery \ + tst_filepath tst_record_conv tst_retrieval tst_tpath +check_SCRIPTS = tstcql.sh tstmarciso.sh tstmarcxml.sh tstmarccol.sh + +TESTS = $(check_PROGRAMS) $(check_SCRIPTS) + +EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \ + cql2pqf-order.txt \ + $(check_SCRIPTS) \ + marc1.marc marc1.xml marc1.chr marc1.xml.marc \ + marc2.marc marc2.xml marc2.chr marc2.xml.marc \ + marc3.marc marc3.xml marc3.chr marc3.xml.marc \ + marc4.marc marc4.xml marc4.chr marc4.xml.marc \ + marc5.marc marc5.xml marc5.chr marc5.xml.marc \ + marc6.marc marc6.xml marc6.chr marc6.xml.marc \ + marc7.marc marc7.xml marc7.chr marc7.xml.marc \ + marccol1.u8.marc marccol1.u8.1.lst marccol1.u8.2.lst \ + tst_record_conv.xsl + +YAZCOMP = ../util/yaz-asncomp YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS) +AM_CFLAGS=$(THREAD_CFLAGS) + AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS) +dist-hook: + mkdir -p $(distdir)/cql + cp $(srcdir)/cql/*.err $(distdir)/cql + cp $(srcdir)/cql/*.out $(distdir)/cql + # Rule for generating codecs for our small ASN.1 spec tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP) cd $(srcdir); $(YAZCOMP) tstodr.asn -# Tests.. -tsticonv_LDADD = ../src/libyaz.la -tsticonv_SOURCES = tsticonv.c +LDADD = ../src/libyaz.la -tstnmem_LDADD = ../src/libyaz.la -tstnmem_SOURCES = tstnmem.c +CONFIG_CLEAN_FILES=*.log -tstmatchstr_LDADD = ../src/libyaz.la +tsticonv_SOURCES = tsticonv.c +tstnmem_SOURCES = tstnmem.c tstmatchstr_SOURCES = tstmatchstr.c - -tstwrbuf_LDADD = ../src/libyaz.la tstwrbuf_SOURCES = tstwrbuf.c - -tstodr_LDADD = ../src/libyaz.la tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c - -tstccl_LDADD = ../src/libyaz.la +tstodrstack_SOURCES = tstodrstack.c tstccl_SOURCES = tstccl.c - +tstlog_SOURCES = tstlog.c +tstsoap1_SOURCES = tstsoap1.c +tstsoap2_SOURCES = tstsoap2.c +tstlogthread_SOURCES = tstlogthread.c +tstxmlquery_SOURCES = tstxmlquery.c +tstpquery_SOURCES = tstpquery.c +tst_filepath_SOURCES = tst_filepath.c +tst_record_conv_SOURCES = tst_record_conv.c +tst_retrieval_SOURCES = tst_retrieval.c +tst_tpath_SOURCES = tst_tpath.c