X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2FMakefile.am;h=163f09f4a30e7f48142061616808c1ce1c8eacb7;hp=debbec0f7cd705742928efcb3a5928cfd0420951;hb=a7f066f298c283530e1e542c87858b28d594238b;hpb=72011b1abdb331ba835cbf40cabc9aee42e7847a diff --git a/test/Makefile.am b/test/Makefile.am index debbec0..163f09f 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,32 +1,37 @@ ## This file is part of the YAZ toolkit. -## Copyright (C) 1995-2008 Index Data +## Copyright (C) 1995-2013 Index Data -check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \ - tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery \ - tst_comstack tst_filepath tst_record_conv tst_retrieval tst_tpath \ - tst_timing tst_query_charset tst_oid tst_icu_I18N tst_match_glob -check_SCRIPTS = tstcql.sh tstmarc.sh tstmarccol.sh tstcql2pqf.sh +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 = test_marc.sh test_marccol.sh test_cql2xcql.sh \ + test_cql2pqf.sh test_icu.sh TESTS = $(check_PROGRAMS) $(check_SCRIPTS) -EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \ +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 \ - tst_record_conv.xsl + 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 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS) @@ -38,36 +43,59 @@ 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 -tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP) +test_odrcodec.c test_odrcodec.h: tstodr.asn $(YAZCOMP) cd $(srcdir); $(YAZCOMP) tstodr.asn -LDADD = ../src/libyaz.la -tst_icu_I18N_LDADD = ../src/libyaz_icu.la $(ICU_LIBS) +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 -tsticonv_SOURCES = tsticonv.c -tstnmem_SOURCES = tstnmem.c -tstmatchstr_SOURCES = tstmatchstr.c -tstwrbuf_SOURCES = tstwrbuf.c -tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c -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_comstack_SOURCES = tst_comstack.c -tst_filepath_SOURCES = tst_filepath.c -tst_oid_SOURCES = tst_oid.c -tst_record_conv_SOURCES = tst_record_conv.c -tst_retrieval_SOURCES = tst_retrieval.c -tst_tpath_SOURCES = tst_tpath.c -tst_timing_SOURCES = tst_timing.c -tst_query_charset_SOURCES = tst_query_charset.c -tst_icu_I18N_SOURCES = tst_icu_I18N.c -tst_match_glob_SOURCES = tst_match_glob.c +test_cql2ccl_SOURCES = test_cql2ccl.c +test_xmalloc_SOURCES = test_xmalloc.c +test_iconv_SOURCES = test_iconv.c +test_nmem_SOURCES = test_nmem.c +test_matchstr_SOURCES = test_matchstr.c +test_wrbuf_SOURCES = test_wrbuf.c +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 +test_oid_SOURCES = test_oid.c +test_record_conv_SOURCES = test_record_conv.c +test_retrieval_SOURCES = test_retrieval.c +test_tpath_SOURCES = test_tpath.c +test_timing_SOURCES = test_timing.c +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