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/data-list.sh \
20 tests/command/do-if.sh \
21 tests/command/do-repeat.sh \
22 tests/command/erase.sh \
23 tests/command/examine.sh \
24 tests/command/examine-extremes.sh \
25 tests/command/examine-percentiles.sh \
26 tests/command/file-label.sh \
27 tests/command/file-handle.sh \
28 tests/command/filter.sh \
29 tests/command/flip.sh \
30 tests/command/get-data-txt.sh \
31 tests/command/get-data-txt-examples.sh \
32 tests/command/get-data-txt-importcases.sh \
33 tests/command/import-export.sh \
34 tests/command/insert.sh \
35 tests/command/lag.sh \
36 tests/command/line-ends.sh \
37 tests/command/list.sh \
38 tests/command/loop.sh \
39 tests/command/longvars.sh \
40 tests/command/match-files.sh \
41 tests/command/missing-values.sh \
42 tests/command/no_case_size.sh \
43 tests/command/n_of_cases.sh \
44 tests/command/npar-binomial.sh \
45 tests/command/npar-chisquare.sh \
46 tests/command/npar-wilcoxon.sh \
47 tests/command/npar-sign.sh \
48 tests/command/oneway.sh \
49 tests/command/oneway-missing.sh \
50 tests/command/oneway-with-splits.sh \
51 tests/command/permissions.sh \
52 tests/command/print.sh \
53 tests/command/print-strings.sh \
54 tests/command/rank.sh \
55 tests/command/rename.sh \
56 tests/command/regression.sh \
57 tests/command/regression-qr.sh \
58 tests/command/reliability.sh \
59 tests/command/sample.sh \
60 tests/command/sort.sh \
61 tests/command/sysfiles.sh \
62 tests/command/sysfiles-old.sh \
63 tests/command/sysfile-info.sh \
64 tests/command/split-file.sh \
65 tests/command/t-test-1-indep-val.sh \
66 tests/command/t-test-1-sample-missing-anal.sh \
67 tests/command/t-test-1-sample-missing-list.sh \
68 tests/command/t-test-1s.sh \
69 tests/command/t-test-groups.sh \
70 tests/command/t-test-indep-missing-anal.sh \
71 tests/command/t-test-indep-missing-list.sh \
72 tests/command/t-test-paired-missing-anal.sh \
73 tests/command/t-test-paired-missing-list.sh \
74 tests/command/t-test-pairs.sh \
75 tests/command/trimmed-mean.sh \
76 tests/command/tabs.sh \
77 tests/command/update.sh \
78 tests/command/use.sh \
79 tests/command/variable-display.sh \
80 tests/command/vector.sh \
81 tests/command/very-long-strings.sh \
82 tests/command/weight.sh \
83 tests/formats/bcd-in.sh \
84 tests/formats/binhex-out.sh \
85 tests/formats/date-in.sh \
86 tests/formats/date-out.sh \
87 tests/formats/float-format.sh \
88 tests/formats/format-guesser.sh \
89 tests/formats/ib-in.sh \
90 tests/formats/legacy-in.sh \
91 tests/formats/month-in.sh \
92 tests/formats/month-out.sh \
93 tests/formats/num-in.sh \
94 tests/formats/num-out.sh \
95 tests/formats/time-in.sh \
96 tests/formats/time-out.sh \
97 tests/formats/wkday-in.sh \
98 tests/formats/wkday-out.sh \
99 tests/formats/360.sh \
100 tests/bugs/agg_crash.sh \
101 tests/bugs/agg-crash-2.sh \
102 tests/bugs/alpha-freq.sh \
103 tests/bugs/big-input.sh \
104 tests/bugs/big-input-2.sh \
105 tests/bugs/case-map.sh \
106 tests/bugs/comment-at-eof.sh \
107 tests/bugs/compute-fmt.sh \
108 tests/bugs/compression.sh \
109 tests/bugs/crosstabs.sh \
110 tests/bugs/crosstabs2.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-crash2.sh \
120 tests/bugs/examine-crash3.sh \
121 tests/bugs/examine-1sample.sh \
122 tests/bugs/examine-missing.sh \
123 tests/bugs/examine-missing2.sh \
124 tests/bugs/freq-nolabels.sh \
125 tests/bugs/get-no-file.sh \
126 tests/bugs/html-frequency.sh \
127 tests/bugs/if_crash.sh \
128 tests/bugs/input-crash.sh \
129 tests/bugs/lag_crash.sh \
130 tests/bugs/list-overflow.sh \
131 tests/bugs/match-files-scratch.sh \
132 tests/bugs/multipass.sh \
133 tests/bugs/overwrite-input-file.sh \
134 tests/bugs/overwrite-special-file.sh \
135 tests/bugs/piechart.sh \
136 tests/bugs/random.sh \
137 tests/bugs/shbang.sh \
138 tests/bugs/signals.sh \
139 tests/bugs/t-test-with-temp.sh \
140 tests/bugs/t-test.sh \
141 tests/bugs/t-test-alpha.sh \
142 tests/bugs/t-test-alpha2.sh \
143 tests/bugs/t-test-alpha3.sh \
144 tests/bugs/temporary.sh \
145 tests/bugs/unwritable-dir.sh \
146 tests/bugs/val-labs.sh \
147 tests/bugs/val-labs-trailing-slash.sh \
148 tests/bugs/recode-copy-bug.sh \
149 tests/bugs/computebug.sh \
150 tests/bugs/compute-lv.sh \
151 tests/bugs/compute-sum.sh \
152 tests/bugs/temp-freq.sh \
153 tests/bugs/print-crash.sh \
154 tests/bugs/keep-all.sh \
155 tests/data/datasheet-test.sh \
156 tests/libpspp/sparse-xarray-test.sh \
157 tests/output/paper-size.sh \
158 tests/xforms/recode.sh \
159 tests/stats/descript-basic.sh \
160 tests/stats/descript-missing.sh \
161 tests/stats/descript-mean-bug.sh \
162 tests/stats/moments.sh \
163 tests/stats/percentiles-compatible.sh \
164 tests/stats/ntiles.sh \
165 tests/stats/percentiles-enhanced.sh \
166 tests/expressions/expressions.sh \
167 tests/expressions/epoch.sh \
168 tests/expressions/randist.sh \
169 tests/expressions/valuelabel.sh \
170 tests/expressions/variables.sh \
171 tests/expressions/vectors.sh
174 dist_TESTS += tests/command/get-data-gnm.sh
178 dist_TESTS += tests/command/get-data-psql.sh
182 tests/libpspp/abt-test \
183 tests/libpspp/bt-test \
184 tests/libpspp/heap-test \
185 tests/libpspp/hmap-test \
186 tests/libpspp/hmapx-test \
187 tests/libpspp/ll-test \
188 tests/libpspp/llx-test \
189 tests/libpspp/range-map-test \
190 tests/libpspp/range-set-test \
191 tests/libpspp/sparse-array-test \
192 tests/libpspp/str-test \
193 tests/libpspp/tower-test
195 TESTS = $(dist_TESTS) $(nodist_TESTS)
199 tests/data/datasheet-test \
200 tests/formats/inexactify \
201 tests/libpspp/sparse-xarray-test
203 tests_data_datasheet_test_SOURCES = \
204 tests/data/datasheet-test.c
205 tests_data_datasheet_test_LDADD = src/libpspp-core.la @LIBINTL@
207 tests_libpspp_ll_test_SOURCES = \
210 tests/libpspp/ll-test.c
211 tests_libpspp_ll_test_LDADD = gl/libgl.la @LIBINTL@
212 tests_libpspp_ll_test_CFLAGS = $(AM_CFLAGS)
214 tests_libpspp_llx_test_SOURCES = \
219 tests/libpspp/llx-test.c
220 tests_libpspp_llx_test_LDADD = gl/libgl.la @LIBINTL@
221 tests_libpspp_llx_test_CFLAGS = $(AM_CFLAGS)
223 tests_libpspp_heap_test_SOURCES = \
228 tests/libpspp/heap-test.c
229 tests_libpspp_heap_test_LDADD = gl/libgl.la @LIBINTL@
230 tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
232 tests_libpspp_hmap_test_SOURCES = \
235 tests/libpspp/hmap-test.c
236 tests_libpspp_hmap_test_LDADD = gl/libgl.la @LIBINTL@
237 tests_libpspp_hmap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
239 tests_libpspp_hmapx_test_SOURCES = \
242 src/libpspp/hmapx.c \
243 src/libpspp/hmapx.h \
244 tests/libpspp/hmapx-test.c
245 tests_libpspp_hmapx_test_LDADD = gl/libgl.la @LIBINTL@
246 tests_libpspp_hmapx_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
248 tests_libpspp_abt_test_SOURCES = \
251 tests/libpspp/abt-test.c
252 tests_libpspp_abt_test_LDADD = gl/libgl.la @LIBINTL@
253 tests_libpspp_abt_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
255 tests_libpspp_bt_test_SOURCES = \
258 tests/libpspp/bt-test.c
259 tests_libpspp_bt_test_LDADD = gl/libgl.la
260 tests_libpspp_bt_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
262 tests_libpspp_range_map_test_SOURCES = \
265 src/libpspp/range-map.c \
266 src/libpspp/range-map.h \
267 tests/libpspp/range-map-test.c
268 tests_libpspp_range_map_test_LDADD = gl/libgl.la @LIBINTL@
269 tests_libpspp_range_map_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
271 tests_libpspp_range_set_test_SOURCES = \
276 src/libpspp/range-set.c \
277 src/libpspp/range-set.h \
278 tests/libpspp/range-set-test.c
279 tests_libpspp_range_set_test_LDADD = gl/libgl.la @LIBINTL@
280 tests_libpspp_range_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
282 tests_libpspp_str_test_SOURCES = \
283 tests/libpspp/str-test.c
284 tests_libpspp_str_test_LDADD = src/libpspp/libpspp.la gl/libgl.la @LIBINTL@
286 tests_libpspp_tower_test_SOURCES = \
291 src/libpspp/tower.c \
292 src/libpspp/tower.h \
293 tests/libpspp/tower-test.c
294 tests_libpspp_tower_test_LDADD = gl/libgl.la @LIBINTL@
295 tests_libpspp_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
297 tests_libpspp_sparse_array_test_SOURCES = \
298 src/libpspp/sparse-array.c \
299 src/libpspp/sparse-array.h \
302 tests/libpspp/sparse-array-test.c
303 tests_libpspp_sparse_array_test_LDADD = gl/libgl.la @LIBINTL@
304 tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
306 tests_libpspp_sparse_xarray_test_SOURCES = \
307 src/libpspp/argv-parser.c \
309 src/libpspp/deque.c \
310 src/libpspp/model-checker.c \
311 src/libpspp/range-set.c \
312 src/libpspp/sparse-array.c \
313 src/libpspp/sparse-xarray.c \
316 src/libpspp/tmpfile.c \
317 tests/libpspp/sparse-xarray-test.c
318 tests_libpspp_sparse_xarray_test_LDADD = gl/libgl.la @LIBINTL@
319 tests_libpspp_sparse_xarray_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
321 tests_formats_inexactify_SOURCES = tests/formats/inexactify.c
323 noinst_PROGRAMS += tests/dissect-sysfile
324 tests_dissect_sysfile_SOURCES = \
325 src/libpspp/integer-format.c \
326 src/libpspp/float-format.c \
327 tests/dissect-sysfile.c
328 tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@
329 tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
333 tests/Book1.gnm.unzipped \
334 tests/weighting.data tests/data-list.data tests/list.data \
335 tests/no_case_size.sav \
336 tests/coverage.sh tests/test_template \
337 tests/v13.sav tests/v14.sav \
338 tests/bugs/computebug.stat tests/bugs/computebug.out \
339 tests/bugs/recode-copy-bug-1.stat tests/bugs/recode-copy-bug-2.stat \
340 tests/bugs/recode-copy-bug-1.out tests/bugs/recode-copy-bug-2.out \
341 tests/expressions/randist/beta.out \
342 tests/expressions/randist/cauchy.out \
343 tests/expressions/randist/chisq.out \
344 tests/expressions/randist/exp.out \
345 tests/expressions/randist/f.out \
346 tests/expressions/randist/gamma.out \
347 tests/expressions/randist/laplace.out \
348 tests/expressions/randist/lnormal.out \
349 tests/expressions/randist/logistic.out \
350 tests/expressions/randist/normal.out \
351 tests/expressions/randist/pareto.out \
352 tests/expressions/randist/compare.pl \
353 tests/expressions/randist/randist.pl \
354 tests/expressions/randist/randist.txt \
355 tests/expressions/randist/t.out \
356 tests/expressions/randist/uniform.out \
357 tests/expressions/randist/weibull.out \
358 tests/formats/bcd-in.expected.cmp.gz \
359 tests/formats/binhex-out.expected.gz \
360 tests/formats/ib-in.expected.cmp.gz \
361 tests/formats/legacy-in.expected.cmp.gz \
362 tests/formats/num-in.expected.gz \
363 tests/formats/num-out.expected.cmp.gz \
364 tests/formats/num-out-cmp.pl \
365 tests/formats/num-out-compare.pl \
366 tests/formats/num-out-decmp.pl \
367 tests/formats/num-out.pl
369 CLEANFILES += *.save pspp.* foo*
371 check-for-export-var-val:
372 @if grep -q 'export .*=' $(dist_TESTS) ; then \
373 echo 'One or more tests contain non-portable "export VAR=val" syntax' ; \
377 DIST_HOOKS += check-for-export-var-val
379 EXTRA_DIST += tests/OChangeLog