normalize_record: missing else
[pazpar2-moved-to-github.git] / test / Makefile.am
1 # This file is part of Pazpar2.
2
3 # These tests require a Solr target
4 solr_tests = test_solr.sh test_termlist_block.sh test_limit_limitmap.sh test_sort.sh
5 check_SCRIPTS = test_http.sh test_icu.sh test_post.sh \
6  test_settings.sh test_turbomarcxml.sh test_facets.sh \
7  test_url.sh test_filter.sh test_tmarc.sh test_sru.sh \
8  $(solr_tests)
9
10 EXTRA_DIST = run_pazpar2.sh marc21_test.xsl tmarc.xsl solr-pz2.xsl \
11         z3950_indexdata_com_marc.xml \
12         gils_service.xml marc_service.xml marc21.mmap \
13         test_facets.cfg test_facets.urls \
14         test_icu.cfg test_icu.urls \
15         test_http.cfg test_http.urls \
16         test_post.cfg test_post.urls \
17         test_settings.cfg test_settings.urls \
18         test_solr.cfg test_solr.urls \
19         test_solr_settings_1.xml test_solr_settings_2.xml  test_solr_settings_3.xml \
20         test_solr_settings_4.xml test_solr_settings_5.xml  test_solr_settings_6.xml \
21         test_sort.cfg test_sort.urls \
22         test_sort_settings.xml  \
23         test_turbomarcxml.cfg test_turbomarcxml.urls \
24         test_url.cfg test_url.urls \
25         test_filter.cfg test_filter.urls \
26         test_termlist_block.cfg test_termlist_block.urls \
27         test_facets_settings_1.xml  test_facets_settings_2.xml \
28         test_url_service.xml test_url_settings.xml \
29         test_limit_limitmap.cfg test_limit_limitmap.urls \
30         test_limit_limitmap_service.xml \
31         test_limit_limitmap_settings_1.xml test_limit_limitmap_settings_2.xml \
32         test_limit_limitmap_settings_3.xml test_limit_limitmap_settings_4.xml \
33         test_limit_limitmap_settings_5.xml \
34         ztest_localhost_settings.xml test_termlist_block_settings_2.xml \
35         test_facets_settings_1.xml test_facets_settings_2.xml \
36         test_sru.cfg sru_service.xml \
37         $(check_SCRIPTS)
38
39 TESTS = $(check_SCRIPTS)
40
41 MAINTAINERCLEANFILES = Makefile.in
42
43 CONFIG_CLEAN_FILES=*.log *.dif
44
45 clean-local:
46         rm -f *.log *.dif
47
48 dist-hook:
49         cp ${srcdir}/test_*.res $(distdir)
50         mkdir $(distdir)/set2
51         cp ${srcdir}/set2/*.xml $(distdir)/set2
52         cp ${srcdir}/tmarc?.xml $(distdir)
53         cp ${srcdir}/tmarc?.res.xml $(distdir)