X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2FMakefile.am;h=27583bd82931ef403c90aa5aaf59c4e0e813b826;hb=c61904671e969a32a7f9d38a523f7abaa2b371fd;hp=de29b11eb8a745b3f1ec96f14686524fdc642af5;hpb=d2411914ead2faf649db5e4f1416d1a893db417d;p=pazpar2-moved-to-github.git diff --git a/test/Makefile.am b/test/Makefile.am index de29b11..27583bd 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,10 +1,43 @@ # This file is part of Pazpar2. -check_SCRIPTS = test_http.sh test_icu.sh -EXTRA_DIST = run_pazpar2.sh marc21.xsl z3950_indexdata_com_marc.xml \ - z3950_indexdata_com_gils.xml test_http.cfg \ - gils_service.xml marc_service.xml \ - test_http_urls test_icu.cfg test_icu_urls $(check_SCRIPTS) +# These tests require a Solr target +solr_tests = test_solr.sh test_termlist_block.sh test_limit_limitmap.sh test_sort.sh +check_SCRIPTS = test_http.sh test_icu.sh test_post.sh \ + test_settings.sh test_turbomarcxml.sh test_facets.sh \ + test_url.sh test_filter.sh test_sru.sh test_perf.sh \ + $(solr_tests) + +EXTRA_DIST = run_pazpar2.sh marc21_test.xsl tmarc.xsl solr-pz2.xsl \ + z3950_indexdata_com_marc.xml \ + gils_service.xml marc_service.xml marc21.mmap \ + test_facets.cfg test_facets.urls \ + test_icu.cfg test_icu.urls \ + test_sru.cfg test_sru.urls \ + test_perf.cfg test_perf.urls \ + test_http.cfg test_http.urls \ + test_post.cfg test_post.urls \ + test_settings.cfg test_settings.urls \ + test_solr.cfg test_solr.urls \ + test_solr_settings_1.xml test_solr_settings_2.xml test_solr_settings_3.xml \ + test_solr_settings_4.xml test_solr_settings_5.xml test_solr_settings_6.xml \ + test_sort.cfg test_sort.urls \ + test_sort_settings.xml \ + test_turbomarcxml.cfg test_turbomarcxml.urls \ + test_url.cfg test_url.urls \ + test_filter.cfg test_filter.urls \ + test_termlist_block.cfg test_termlist_block.urls \ + test_facets_settings_1.xml test_facets_settings_2.xml \ + test_url_service.xml test_url_settings.xml \ + test_limit_limitmap.cfg test_limit_limitmap.urls \ + test_limit_limitmap_service.xml \ + test_limit_limitmap_settings_1.xml test_limit_limitmap_settings_2.xml \ + test_limit_limitmap_settings_3.xml test_limit_limitmap_settings_4.xml \ + test_limit_limitmap_settings_5.xml \ + ztest_localhost_settings.xml test_termlist_block_settings_2.xml \ + test_facets_settings_1.xml test_facets_settings_2.xml \ + test_sru.cfg sru_service.xml \ + test_perf.cfg \ + $(check_SCRIPTS) TESTS = $(check_SCRIPTS) @@ -12,7 +45,10 @@ MAINTAINERCLEANFILES = Makefile.in CONFIG_CLEAN_FILES=*.log *.dif -dist-hook: - cp ${srcdir}/test_http_*.res $(distdir) - cp ${srcdir}/test_icu_*.res $(distdir) +clean-local: + rm -f *.log *.dif +dist-hook: + cp ${srcdir}/test_*.res $(distdir) + mkdir $(distdir)/set2 + cp ${srcdir}/set2/*.xml $(distdir)/set2