Allow predictable sessions PAZ-1030
[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_sru.sh test_perf.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_sru.cfg test_sru.urls \
16         test_perf.cfg test_perf.urls \
17         test_http.cfg test_http.urls \
18         test_post.cfg test_post.urls \
19         test_settings.cfg test_settings.urls \
20         test_solr.cfg test_solr.urls \
21         test_solr_settings_1.xml test_solr_settings_2.xml  test_solr_settings_3.xml \
22         test_solr_settings_4.xml test_solr_settings_5.xml  test_solr_settings_6.xml \
23         test_sort.cfg test_sort.urls \
24         test_sort_settings.xml  \
25         test_turbomarcxml.cfg test_turbomarcxml.urls \
26         test_url.cfg test_url.urls \
27         test_filter.cfg test_filter.urls \
28         test_termlist_block.cfg test_termlist_block.urls \
29         test_facets_settings_1.xml  test_facets_settings_2.xml \
30         test_url_service.xml test_url_settings.xml \
31         test_limit_limitmap.cfg test_limit_limitmap.urls \
32         test_limit_limitmap_service.xml \
33         test_limit_limitmap_settings_1.xml test_limit_limitmap_settings_2.xml \
34         test_limit_limitmap_settings_3.xml test_limit_limitmap_settings_4.xml \
35         test_limit_limitmap_settings_5.xml \
36         ztest_localhost_settings.xml test_termlist_block_settings_2.xml \
37         test_facets_settings_1.xml test_facets_settings_2.xml \
38         test_sru.cfg sru_service.xml \
39         test_perf.cfg \
40         $(check_SCRIPTS)
41
42 TESTS = $(check_SCRIPTS)
43
44 MAINTAINERCLEANFILES = Makefile.in
45
46 CONFIG_CLEAN_FILES=*.log *.dif
47
48 clean-local:
49         rm -f *.log *.dif
50
51 dist-hook:
52         cp ${srcdir}/test_*.res $(distdir)
53         mkdir $(distdir)/set2
54         cp ${srcdir}/set2/*.xml $(distdir)/set2