1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
3 TESTS_ENVIRONMENT = top_srcdir='$(top_srcdir)' top_builddir='$(top_builddir)'
4 TESTS_ENVIRONMENT += PERL='@PERL@' PG_CONFIG='@PG_CONFIG@'
6 # Allow locale_charset to find charset.alias before running "make install".
7 TESTS_ENVIRONMENT += CHARSETALIASDIR='$(abs_top_builddir)/gl'
9 TESTS_ENVIRONMENT += LC_ALL=C
12 tests/command/add-files.sh \
13 tests/command/aggregate.sh \
14 tests/command/attributes.sh \
15 tests/command/autorecod.sh \
16 tests/command/beg-data.sh \
17 tests/command/bignum.sh \
18 tests/command/count.sh \
19 tests/command/datasheet.sh \
20 tests/command/data-list.sh \
21 tests/command/do-if.sh \
22 tests/command/do-repeat.sh \
23 tests/command/erase.sh \
24 tests/command/examine.sh \
25 tests/command/examine-extremes.sh \
26 tests/command/examine-percentiles.sh \
27 tests/command/file-label.sh \
28 tests/command/file-handle.sh \
29 tests/command/filter.sh \
30 tests/command/flip.sh \
31 tests/command/get-data-txt.sh \
32 tests/command/get-data-txt-examples.sh \
33 tests/command/get-data-txt-importcases.sh \
34 tests/command/import-export.sh \
35 tests/command/input-program.sh \
36 tests/command/insert.sh \
37 tests/command/lag.sh \
38 tests/command/line-ends.sh \
39 tests/command/list.sh \
40 tests/command/loop.sh \
41 tests/command/longvars.sh \
42 tests/command/match-files.sh \
43 tests/command/missing-values.sh \
44 tests/command/no_case_size.sh \
45 tests/command/n_of_cases.sh \
46 tests/command/npar-binomial.sh \
47 tests/command/npar-chisquare.sh \
48 tests/command/npar-wilcoxon.sh \
49 tests/command/oneway.sh \
50 tests/command/oneway-missing.sh \
51 tests/command/oneway-with-splits.sh \
52 tests/command/permissions.sh \
53 tests/command/print.sh \
54 tests/command/print-strings.sh \
55 tests/command/rank.sh \
56 tests/command/rename.sh \
57 tests/command/regression.sh \
58 tests/command/regression-qr.sh \
59 tests/command/reliability.sh \
60 tests/command/sample.sh \
61 tests/command/sort.sh \
62 tests/command/sysfiles.sh \
63 tests/command/sysfiles-old.sh \
64 tests/command/sysfile-info.sh \
65 tests/command/split-file.sh \
66 tests/command/t-test-1-indep-val.sh \
67 tests/command/t-test-1-sample-missing-anal.sh \
68 tests/command/t-test-1-sample-missing-list.sh \
69 tests/command/t-test-1s.sh \
70 tests/command/t-test-groups.sh \
71 tests/command/t-test-indep-missing-anal.sh \
72 tests/command/t-test-indep-missing-list.sh \
73 tests/command/t-test-paired-missing-anal.sh \
74 tests/command/t-test-paired-missing-list.sh \
75 tests/command/t-test-pairs.sh \
76 tests/command/trimmed-mean.sh \
77 tests/command/tabs.sh \
78 tests/command/update.sh \
79 tests/command/use.sh \
80 tests/command/variable-display.sh \
81 tests/command/vector.sh \
82 tests/command/very-long-strings.sh \
83 tests/command/weight.sh \
84 tests/formats/bcd-in.sh \
85 tests/formats/binhex-out.sh \
86 tests/formats/date-in.sh \
87 tests/formats/date-out.sh \
88 tests/formats/float-format.sh \
89 tests/formats/format-guesser.sh \
90 tests/formats/ib-in.sh \
91 tests/formats/legacy-in.sh \
92 tests/formats/month-in.sh \
93 tests/formats/month-out.sh \
94 tests/formats/num-in.sh \
95 tests/formats/num-out.sh \
96 tests/formats/time-in.sh \
97 tests/formats/time-out.sh \
98 tests/formats/wkday-in.sh \
99 tests/formats/wkday-out.sh \
100 tests/formats/360.sh \
101 tests/bugs/agg_crash.sh \
102 tests/bugs/agg-crash-2.sh \
103 tests/bugs/alpha-freq.sh \
104 tests/bugs/big-input.sh \
105 tests/bugs/big-input-2.sh \
106 tests/bugs/case-map.sh \
107 tests/bugs/comment-at-eof.sh \
108 tests/bugs/compute-fmt.sh \
109 tests/bugs/compression.sh \
110 tests/bugs/crosstabs.sh \
111 tests/bugs/crosstabs-crash.sh \
112 tests/bugs/crosstabs-crash2.sh \
113 tests/bugs/curtailed.sh \
114 tests/bugs/data-crash.sh \
115 tests/bugs/double-frequency.sh \
116 tests/bugs/empty-do-repeat.sh \
118 tests/bugs/examine-crash.sh \
119 tests/bugs/examine-1sample.sh \
120 tests/bugs/examine-missing.sh \
121 tests/bugs/examine-missing2.sh \
122 tests/bugs/freq-nolabels.sh \
123 tests/bugs/get-no-file.sh \
124 tests/bugs/html-frequency.sh \
125 tests/bugs/if_crash.sh \
126 tests/bugs/input-crash.sh \
127 tests/bugs/lag_crash.sh \
128 tests/bugs/list-overflow.sh \
129 tests/bugs/match-files-scratch.sh \
130 tests/bugs/multipass.sh \
131 tests/bugs/overwrite-input-file.sh \
132 tests/bugs/overwrite-special-file.sh \
133 tests/bugs/random.sh \
134 tests/bugs/signals.sh \
135 tests/bugs/t-test-with-temp.sh \
136 tests/bugs/t-test.sh \
137 tests/bugs/t-test-alpha.sh \
138 tests/bugs/t-test-alpha2.sh \
139 tests/bugs/t-test-alpha3.sh \
140 tests/bugs/temporary.sh \
141 tests/bugs/unwritable-dir.sh \
142 tests/bugs/val-labs.sh \
143 tests/bugs/val-labs-trailing-slash.sh \
144 tests/bugs/recode-copy-bug.sh \
145 tests/bugs/computebug.sh \
146 tests/bugs/compute-lv.sh \
147 tests/bugs/compute-sum.sh \
148 tests/bugs/temp-freq.sh \
149 tests/bugs/print-crash.sh \
150 tests/bugs/keep-all.sh \
151 tests/output/paper-size.sh \
152 tests/xforms/recode.sh \
153 tests/stats/descript-basic.sh \
154 tests/stats/descript-missing.sh \
155 tests/stats/descript-mean-bug.sh \
156 tests/stats/moments.sh \
157 tests/stats/percentiles-compatible.sh \
158 tests/stats/ntiles.sh \
159 tests/stats/percentiles-enhanced.sh \
160 tests/expressions/expressions.sh \
161 tests/expressions/epoch.sh \
162 tests/expressions/randist.sh \
163 tests/expressions/valuelabel.sh \
164 tests/expressions/variables.sh \
165 tests/expressions/vectors.sh
168 dist_TESTS += tests/command/get-data-gnm.sh
172 dist_TESTS += tests/command/get-data-psql.sh
176 tests/libpspp/abt-test \
177 tests/libpspp/bt-test \
178 tests/libpspp/heap-test \
179 tests/libpspp/hmap-test \
180 tests/libpspp/hmapx-test \
181 tests/libpspp/ll-test \
182 tests/libpspp/llx-test \
183 tests/libpspp/range-map-test \
184 tests/libpspp/range-set-test \
185 tests/libpspp/sparse-array-test \
186 tests/libpspp/str-test \
187 tests/libpspp/tower-test
189 TESTS = $(dist_TESTS) $(nodist_TESTS)
193 tests/formats/inexactify
195 tests_libpspp_ll_test_SOURCES = \
198 tests/libpspp/ll-test.c
199 tests_libpspp_ll_test_LDADD = gl/libgl.la @LIBINTL@
200 tests_libpspp_ll_test_CFLAGS = $(AM_CFLAGS)
202 tests_libpspp_llx_test_SOURCES = \
207 tests/libpspp/llx-test.c
208 tests_libpspp_llx_test_LDADD = gl/libgl.la @LIBINTL@
209 tests_libpspp_llx_test_CFLAGS = $(AM_CFLAGS)
211 tests_libpspp_heap_test_SOURCES = \
216 tests/libpspp/heap-test.c
217 tests_libpspp_heap_test_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@
218 tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
220 tests_libpspp_hmap_test_SOURCES = \
223 tests/libpspp/hmap-test.c
224 tests_libpspp_hmap_test_LDADD = gl/libgl.la @LIBINTL@
225 tests_libpspp_hmap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
227 tests_libpspp_hmapx_test_SOURCES = \
230 src/libpspp/hmapx.c \
231 src/libpspp/hmapx.h \
232 tests/libpspp/hmapx-test.c
233 tests_libpspp_hmapx_test_LDADD = gl/libgl.la @LIBINTL@
234 tests_libpspp_hmapx_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
236 tests_libpspp_abt_test_SOURCES = \
239 tests/libpspp/abt-test.c
240 tests_libpspp_abt_test_LDADD = gl/libgl.la @LIBINTL@
241 tests_libpspp_abt_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
243 tests_libpspp_bt_test_SOURCES = \
246 tests/libpspp/bt-test.c
247 tests_libpspp_bt_test_LDADD = gl/libgl.la
248 tests_libpspp_bt_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
250 tests_libpspp_range_map_test_SOURCES = \
253 src/libpspp/range-map.c \
254 src/libpspp/range-map.h \
255 tests/libpspp/range-map-test.c
256 tests_libpspp_range_map_test_LDADD = gl/libgl.la @LIBINTL@
257 tests_libpspp_range_map_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
259 tests_libpspp_range_set_test_SOURCES = \
264 src/libpspp/range-set.c \
265 src/libpspp/range-set.h \
266 tests/libpspp/range-set-test.c
267 tests_libpspp_range_set_test_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@
268 tests_libpspp_range_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
270 tests_libpspp_str_test_SOURCES = \
271 tests/libpspp/str-test.c
272 tests_libpspp_str_test_LDADD = src/libpspp/libpspp.la gl/libgl.la @LIBINTL@ @LIB_CLOSE@
274 tests_libpspp_tower_test_SOURCES = \
279 src/libpspp/tower.c \
280 src/libpspp/tower.h \
281 tests/libpspp/tower-test.c
282 tests_libpspp_tower_test_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@
283 tests_libpspp_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
285 tests_libpspp_sparse_array_test_SOURCES = \
286 src/libpspp/sparse-array.c \
287 src/libpspp/sparse-array.h \
290 tests/libpspp/sparse-array-test.c
291 tests_libpspp_sparse_array_test_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@
292 tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
294 tests_formats_inexactify_SOURCES = tests/formats/inexactify.c
296 noinst_PROGRAMS += tests/dissect-sysfile
297 tests_dissect_sysfile_SOURCES = \
298 src/libpspp/integer-format.c \
299 src/libpspp/float-format.c \
300 tests/dissect-sysfile.c
301 tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@ @LIB_CLOSE@
302 tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
306 tests/Book1.gnm.unzipped \
307 tests/weighting.data tests/data-list.data tests/list.data \
308 tests/no_case_size.sav \
309 tests/coverage.sh tests/test_template \
310 tests/v13.sav tests/v14.sav \
311 tests/bugs/computebug.stat tests/bugs/computebug.out \
312 tests/bugs/recode-copy-bug-1.stat tests/bugs/recode-copy-bug-2.stat \
313 tests/bugs/recode-copy-bug-1.out tests/bugs/recode-copy-bug-2.out \
314 tests/expressions/randist/beta.out \
315 tests/expressions/randist/cauchy.out \
316 tests/expressions/randist/chisq.out \
317 tests/expressions/randist/exp.out \
318 tests/expressions/randist/f.out \
319 tests/expressions/randist/gamma.out \
320 tests/expressions/randist/laplace.out \
321 tests/expressions/randist/lnormal.out \
322 tests/expressions/randist/logistic.out \
323 tests/expressions/randist/normal.out \
324 tests/expressions/randist/pareto.out \
325 tests/expressions/randist/compare.pl \
326 tests/expressions/randist/randist.pl \
327 tests/expressions/randist/randist.txt \
328 tests/expressions/randist/t.out \
329 tests/expressions/randist/uniform.out \
330 tests/expressions/randist/weibull.out \
331 tests/formats/bcd-in.expected.cmp.gz \
332 tests/formats/binhex-out.expected.gz \
333 tests/formats/ib-in.expected.cmp.gz \
334 tests/formats/legacy-in.expected.cmp.gz \
335 tests/formats/num-in.expected.gz \
336 tests/formats/num-out.expected.cmp.gz \
337 tests/formats/num-out-cmp.pl \
338 tests/formats/num-out-compare.pl \
339 tests/formats/num-out-decmp.pl \
340 tests/formats/num-out.pl
342 CLEANFILES += *.save pspp.* foo*
344 DIST_HOOKS += check-for-export-var-val
345 check-for-export-var-val:
346 @if grep -q 'export .*=' $(dist_TESTS) ; then \
347 echo 'One or more tests contain non-portable "export VAR=val" syntax' ; \
351 EXTRA_DIST += tests/OChangeLog