X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2FMakefile.am;h=163f09f4a30e7f48142061616808c1ce1c8eacb7;hp=2e5977dfb85e3be4398db8a21886294aa913c318;hb=a7f066f298c283530e1e542c87858b28d594238b;hpb=fec04146c50098096daab3c22095f7174b2aa84c diff --git a/test/Makefile.am b/test/Makefile.am index 2e5977d..163f09f 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,36 +1,36 @@ ## This file is part of the YAZ toolkit. -## Copyright (C) 1995-2010 Index Data +## Copyright (C) 1995-2013 Index Data -check_PROGRAMS = test_xmalloc test_iconv test_nmem test_matchstr test_wrbuf \ - test_odr test_ccl test_log \ - test_soap1 test_soap2 test_odrstack test_log_thread test_xmlquery test_pquery \ - test_comstack test_filepath test_record_conv test_retrieval test_tpath \ - test_timing test_query_charset test_oid test_icu test_match_glob \ - test_rpn2cql test_json test_xml_include test_file_glob +check_PROGRAMS = test_ccl test_comstack test_cql2ccl \ + test_embed_record test_filepath test_file_glob \ + test_iconv test_icu test_json \ + test_libstemmer test_log test_log_thread \ + test_match_glob test_matchstr test_mutex \ + test_nmem test_odr test_odrstack test_oid test_options \ + test_pquery test_query_charset \ + test_record_conv test_rpn2cql test_rpn2solr test_retrieval \ + test_shared_ptr test_soap1 test_soap2 test_solr test_sortspec \ + test_timing test_tpath test_wrbuf \ + test_xmalloc test_xml_include test_xmlquery test_zgdu -check_SCRIPTS = tstmarc.sh tstmarccol.sh tstcql2xcql.sh tstcql2pqf.sh tsticu.sh +check_SCRIPTS = test_marc.sh test_marccol.sh test_cql2xcql.sh \ + test_cql2pqf.sh test_icu.sh TESTS = $(check_PROGRAMS) $(check_SCRIPTS) EXTRA_DIST = tstodr.asn test_odrcodec.c test_odrcodec.h cql2xcqlsample \ cql2pqf-order.txt cql2pqfsample \ $(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 \ - marc8.marc marc8.xml marc8.chr marc8.xml.marc \ - marc9.marc marc9.xml marc9.chr marc9.xml.marc \ marccol1.u8.marc marccol1.u8.1.lst marccol1.u8.2.lst \ marccol2.u8.marc marccol2.u8.1.lst marccol2.u8.2.lst \ marccol3.u8.marc marccol3.u8.1.lst marccol3.u8.2.lst \ marccol4.u8.marc marccol4.u8.1.lst marccol4.u8.2.lst \ marccol5.u8.marc marccol5.u8.1.lst marccol5.u8.2.lst \ - tsticu-0.xml tsticu-0.input tsticu-0.output \ - tsticu-1.xml tsticu-1.input tsticu-1.output \ + test_icu.0.xml test_icu.0.input test_icu.0.output \ + test_icu.1.xml test_icu.1.input test_icu.1.output \ + test_icu.2.xml test_icu.2.input test_icu.2.output \ + test_icu.3.xml test_icu.3.input test_icu.3.output \ + test_icu.4.xml test_icu.4.input test_icu.4.output \ test_record_conv.xsl test_xml_include.xml YAZCOMP = ../util/yaz-asncomp @@ -43,18 +43,25 @@ dist-hook: cp $(srcdir)/cql/*.err $(srcdir)/cql/*.out $(distdir)/cql mkdir -p $(distdir)/cql2pqf cp $(srcdir)/cql2pqf/*.err $(srcdir)/cql2pqf/*.out $(distdir)/cql2pqf + cp $(srcdir)/marc?.chr $(distdir) + cp $(srcdir)/marc?.marc $(distdir) + cp $(srcdir)/marc?.xml $(distdir) + cp $(srcdir)/*.xml.marc $(distdir) + cp $(srcdir)/xml2marc?.xml $(distdir) + cp $(srcdir)/tmarc?.xml $(distdir) + cp $(srcdir)/xml2tmarc?.xml $(distdir) # Rule for generating codecs for our small ASN.1 spec test_odrcodec.c test_odrcodec.h: tstodr.asn $(YAZCOMP) cd $(srcdir); $(YAZCOMP) tstodr.asn -LDADD = ../src/libyaz.la -test_icu_LDADD = ../src/libyaz_icu.la $(ICU_LIBS) -AM_CFLAGS = $(PTHREAD_CFLAGS) - +LDADD = ../src/libyaz.la +test_icu_LDADD = ../src/libyaz_icu.la ../src/libyaz.la $(ICU_LIBS) +test_libstemmer_LDADD = ../src/libyaz_icu.la ../src/libyaz.la $(ICU_LIBS) CONFIG_CLEAN_FILES=*.log +test_cql2ccl_SOURCES = test_cql2ccl.c test_xmalloc_SOURCES = test_xmalloc.c test_iconv_SOURCES = test_iconv.c test_nmem_SOURCES = test_nmem.c @@ -64,10 +71,14 @@ test_odr_SOURCES = test_odrcodec.c test_odrcodec.h test_odr.c test_odrstack_SOURCES = test_odrstack.c test_ccl_SOURCES = test_ccl.c test_log_SOURCES = test_log.c +test_mutex_SOURCES = test_mutex.c test_soap1_SOURCES = test_soap1.c test_soap2_SOURCES = test_soap2.c +test_solr_SOURCES = test_solr.c +test_sortspec_SOURCES = test_sortspec.c test_log_thread_SOURCES = test_log_thread.c test_xmlquery_SOURCES = test_xmlquery.c +test_options_SOURCES = test_options.c test_pquery_SOURCES = test_pquery.c test_comstack_SOURCES = test_comstack.c test_filepath_SOURCES = test_filepath.c @@ -80,6 +91,11 @@ test_query_charset_SOURCES = test_query_charset.c test_icu_SOURCES = test_icu.c test_match_glob_SOURCES = test_match_glob.c test_rpn2cql_SOURCES = test_rpn2cql.c +test_rpn2solr_SOURCES = test_rpn2solr.c test_json_SOURCES = test_json.c test_xml_include_SOURCES = test_xml_include.c test_file_glob_SOURCES = test_file_glob.c +test_shared_ptr_SOURCES = test_shared_ptr.c +test_libstemmer_SOURCES = test_libstemmer.c +test_embed_record_SOURCES = test_embed_record.c +test_zgdu_SOURCES = test_zgdu.c