fixed sparse-array linker problem
[pspp-builds.git] / tests / automake.mk
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3 TESTS_ENVIRONMENT = top_srcdir='$(top_srcdir)' top_builddir='$(top_builddir)'
4 TESTS_ENVIRONMENT += PERL='@PERL@'
5 dist_TESTS = \
6         tests/command/aggregate.sh \
7         tests/command/autorecod.sh \
8         tests/command/beg-data.sh \
9         tests/command/bignum.sh \
10         tests/command/count.sh \
11         tests/command/data-list.sh \
12         tests/command/do-repeat.sh \
13         tests/command/erase.sh \
14         tests/command/examine.sh \
15         tests/command/examine-extremes.sh \
16         tests/command/examine-percentiles.sh \
17         tests/command/file-label.sh \
18         tests/command/file-handle.sh \
19         tests/command/filter.sh \
20         tests/command/flip.sh \
21         tests/command/import-export.sh \
22         tests/command/lag.sh \
23         tests/command/list.sh \
24         tests/command/loop.sh \
25         tests/command/longvars.sh \
26         tests/command/match-files.sh \
27         tests/command/missing-values.sh \
28         tests/command/no_case_size.sh \
29         tests/command/n_of_cases.sh \
30         tests/command/npar-binomial.sh \
31         tests/command/npar-chisquare.sh \
32         tests/command/oneway.sh \
33         tests/command/oneway-missing.sh \
34         tests/command/oneway-with-splits.sh \
35         tests/command/permissions.sh \
36         tests/command/print.sh \
37         tests/command/print-strings.sh \
38         tests/command/rank.sh \
39         tests/command/rename.sh \
40         tests/command/regression.sh \
41         tests/command/sample.sh \
42         tests/command/sort.sh \
43         tests/command/sysfiles.sh \
44         tests/command/sysfiles-old.sh \
45         tests/command/sysfile-info.sh \
46         tests/command/split-file.sh \
47         tests/command/t-test-1-indep-val.sh \
48         tests/command/t-test-1-sample-missing-anal.sh \
49         tests/command/t-test-1-sample-missing-list.sh \
50         tests/command/t-test-1s.sh \
51         tests/command/t-test-groups.sh \
52         tests/command/t-test-indep-missing-anal.sh \
53         tests/command/t-test-indep-missing-list.sh \
54         tests/command/t-test-paired-missing-anal.sh \
55         tests/command/t-test-paired-missing-list.sh \
56         tests/command/t-test-pairs.sh \
57         tests/command/trimmed-mean.sh \
58         tests/command/tabs.sh \
59         tests/command/use.sh \
60         tests/command/vector.sh \
61         tests/command/very-long-strings.sh \
62         tests/command/weight.sh \
63         tests/formats/bcd-in.sh \
64         tests/formats/binhex-out.sh \
65         tests/formats/date-in.sh \
66         tests/formats/date-out.sh \
67         tests/formats/float-format.sh \
68         tests/formats/ib-in.sh \
69         tests/formats/legacy-in.sh \
70         tests/formats/month-in.sh \
71         tests/formats/month-out.sh \
72         tests/formats/num-in.sh \
73         tests/formats/num-out.sh \
74         tests/formats/time-in.sh \
75         tests/formats/time-out.sh \
76         tests/formats/wkday-in.sh \
77         tests/formats/wkday-out.sh \
78         tests/bugs/agg_crash.sh \
79         tests/bugs/agg-crash-2.sh \
80         tests/bugs/alpha-freq.sh \
81         tests/bugs/big-input.sh \
82         tests/bugs/big-input-2.sh \
83         tests/bugs/comment-at-eof.sh \
84         tests/bugs/compute-fmt.sh \
85         tests/bugs/compression.sh \
86         tests/bugs/crosstabs.sh \
87         tests/bugs/crosstabs-crash.sh \
88         tests/bugs/curtailed.sh \
89         tests/bugs/data-crash.sh \
90         tests/bugs/double-frequency.sh \
91         tests/bugs/empty-do-repeat.sh \
92         tests/bugs/get.sh \
93         tests/bugs/examine-1sample.sh \
94         tests/bugs/examine-missing.sh \
95         tests/bugs/freq-nolabels.sh \
96         tests/bugs/get-no-file.sh \
97         tests/bugs/html-frequency.sh \
98         tests/bugs/if_crash.sh \
99         tests/bugs/input-crash.sh \
100         tests/bugs/lag_crash.sh \
101         tests/bugs/list-overflow.sh \
102         tests/bugs/match-files-scratch.sh \
103         tests/bugs/multipass.sh \
104         tests/bugs/random.sh \
105         tests/bugs/signals.sh \
106         tests/bugs/t-test-with-temp.sh \
107         tests/bugs/t-test.sh \
108         tests/bugs/t-test-alpha.sh \
109         tests/bugs/t-test-alpha2.sh \
110         tests/bugs/temporary.sh \
111         tests/bugs/val-labs.sh \
112         tests/bugs/val-labs-trailing-slash.sh \
113         tests/bugs/recode-copy-bug.sh \
114         tests/bugs/computebug.sh \
115         tests/bugs/compute-lv.sh \
116         tests/bugs/compute-sum.sh \
117         tests/bugs/temp-freq.sh \
118         tests/bugs/print-crash.sh \
119         tests/bugs/keep-all.sh \
120         tests/xforms/casefile.sh \
121         tests/stats/descript-basic.sh \
122         tests/stats/descript-missing.sh \
123         tests/stats/descript-mean-bug.sh \
124         tests/stats/moments.sh \
125         tests/stats/percentiles-compatible.sh \
126         tests/stats/ntiles.sh \
127         tests/stats/percentiles-enhanced.sh \
128         tests/expressions/expressions.sh \
129         tests/expressions/epoch.sh \
130         tests/expressions/randist.sh \
131         tests/expressions/valuelabel.sh \
132         tests/expressions/variables.sh \
133         tests/expressions/vectors.sh
134
135 nodist_TESTS = \
136         tests/libpspp/ll-test \
137         tests/libpspp/llx-test \
138         tests/libpspp/heap-test \
139         tests/libpspp/abt-test \
140         tests/libpspp/sparse-array-test
141
142 TESTS = $(dist_TESTS) $(nodist_TESTS)
143
144 check_PROGRAMS += \
145         $(nodist_TESTS) \
146         tests/formats/inexactify
147
148 tests_libpspp_ll_test_SOURCES = \
149         src/libpspp/ll.c \
150         src/libpspp/ll.h \
151         tests/libpspp/ll-test.c
152
153 tests_libpspp_llx_test_SOURCES = \
154         src/libpspp/ll.c \
155         src/libpspp/ll.h \
156         src/libpspp/llx.c \
157         src/libpspp/llx.h \
158         tests/libpspp/llx-test.c
159
160 tests_libpspp_heap_test_SOURCES = \
161         src/libpspp/heap.c \
162         src/libpspp/heap.h \
163         src/libpspp/pool.c \
164         src/libpspp/pool.h \
165         tests/libpspp/heap-test.c
166 tests_libpspp_heap_test_LDADD = gl/libgl.la @LIBINTL@
167 tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
168
169 tests_libpspp_abt_test_SOURCES = \
170         src/libpspp/abt.c \
171         src/libpspp/abt.h \
172         tests/libpspp/abt-test.c
173 tests_libpspp_abt_test_LDADD = gl/libgl.la
174 tests_libpspp_abt_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
175
176 tests_libpspp_sparse_array_test_SOURCES = \
177         src/libpspp/sparse-array.c \
178         src/libpspp/sparse-array.h \
179         src/libpspp/pool.c \
180         src/libpspp/pool.h \
181         tests/libpspp/sparse-array-test.c
182 tests_libpspp_sparse_array_test_LDADD = gl/libgl.la @LIBINTL@
183 tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
184
185 tests_formats_inexactify_SOURCES = tests/formats/inexactify.c
186
187 EXTRA_DIST += \
188         $(dist_TESTS) \
189         tests/weighting.data tests/data-list.data tests/list.data \
190         tests/no_case_size.sav \
191         tests/coverage.sh tests/test_template \
192         tests/v13.sav tests/v14.sav \
193         tests/bugs/computebug.stat tests/bugs/computebug.out \
194         tests/bugs/recode-copy-bug-1.stat tests/bugs/recode-copy-bug-2.stat \
195         tests/bugs/recode-copy-bug-1.out tests/bugs/recode-copy-bug-2.out \
196         tests/expressions/randist/beta.out \
197         tests/expressions/randist/cauchy.out \
198         tests/expressions/randist/chisq.out \
199         tests/expressions/randist/exp.out \
200         tests/expressions/randist/f.out \
201         tests/expressions/randist/gamma.out \
202         tests/expressions/randist/laplace.out \
203         tests/expressions/randist/lnormal.out \
204         tests/expressions/randist/logistic.out \
205         tests/expressions/randist/normal.out \
206         tests/expressions/randist/pareto.out \
207         tests/expressions/randist/compare.pl \
208         tests/expressions/randist/randist.pl \
209         tests/expressions/randist/randist.txt \
210         tests/expressions/randist/t.out \
211         tests/expressions/randist/uniform.out \
212         tests/expressions/randist/weibull.out \
213         tests/formats/bcd-in.expected.cmp.gz \
214         tests/formats/binhex-out.expected.gz \
215         tests/formats/ib-in.expected.cmp.gz \
216         tests/formats/legacy-in.expected.cmp.gz \
217         tests/formats/num-in.expected.gz \
218         tests/formats/num-out.expected.cmp.gz \
219         tests/formats/num-out-cmp.pl \
220         tests/formats/num-out-compare.pl \
221         tests/formats/num-out-decmp.pl \
222         tests/formats/num-out.pl
223
224 CLEANFILES += *.save pspp.* foo*
225