data-out: Convert tests for numeric output formats to Autotest framework.
[pspp-builds.git] / tests / automake.mk
index 7b1e4cb82425a5ced716baf6d2ad61b3be3aa845..0ee684d426860ab7119c1b98de928aa791e2e84d 100644 (file)
@@ -10,36 +10,15 @@ TESTS_ENVIRONMENT += LC_ALL=C
 TESTS_ENVIRONMENT += EXEEXT=$(EXEEXT)
 
 dist_TESTS = \
-       tests/formats/bcd-in.sh \
-       tests/formats/binhex-out.sh \
-       tests/formats/date-in.sh \
-       tests/formats/date-out.sh \
-       tests/formats/float-format.sh \
-       tests/formats/format-guesser.sh \
-       tests/formats/ib-in.sh \
-       tests/formats/legacy-in.sh \
-       tests/formats/month-in.sh \
-       tests/formats/month-out.sh \
-       tests/formats/num-in.sh \
-       tests/formats/num-out.sh \
        tests/formats/time-in.sh \
-       tests/formats/time-out.sh \
-       tests/formats/wkday-in.sh \
-       tests/formats/wkday-out.sh \
-       tests/formats/360.sh \
-       tests/libpspp/sparse-xarray-test.sh \
-       tests/output/paper-size.sh \
-       tests/expressions/randist.sh \
-       tests/expressions/valuelabel.sh \
-       tests/expressions/variables.sh \
-       tests/expressions/vectors.sh
+       tests/formats/360.sh
 
 TESTS = $(dist_TESTS) $(nodist_TESTS)
 
 check_PROGRAMS += \
        $(nodist_TESTS) \
        tests/data/datasheet-test \
-       tests/formats/inexactify \
+       tests/data/inexactify \
        tests/libpspp/abt-test \
        tests/libpspp/bt-test \
        tests/libpspp/heap-test \
@@ -208,7 +187,7 @@ tests_libpspp_sparse_xarray_test_SOURCES = \
 tests_libpspp_sparse_xarray_test_LDADD = gl/libgl.la $(LIBINTL) 
 tests_libpspp_sparse_xarray_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
 
-tests_formats_inexactify_SOURCES = tests/formats/inexactify.c
+tests_data_inexactify_SOURCES = tests/data/inexactify.c
 
 noinst_PROGRAMS += tests/dissect-sysfile
 tests_dissect_sysfile_SOURCES = \
@@ -230,34 +209,15 @@ tests_output_render_test_LDADD = \
 EXTRA_DIST += \
        $(dist_TESTS) \
        tests/coverage.sh tests/test_template \
-       tests/data/v13.sav tests/data/v14.sav \
-       tests/expressions/randist/beta.out \
-       tests/expressions/randist/cauchy.out \
-       tests/expressions/randist/chisq.out \
-       tests/expressions/randist/exp.out \
-       tests/expressions/randist/f.out \
-       tests/expressions/randist/gamma.out \
-       tests/expressions/randist/laplace.out \
-       tests/expressions/randist/lnormal.out \
-       tests/expressions/randist/logistic.out \
-       tests/expressions/randist/normal.out \
-       tests/expressions/randist/pareto.out \
-       tests/expressions/randist/compare.pl \
-       tests/expressions/randist/randist.pl \
-       tests/expressions/randist/randist.txt \
-       tests/expressions/randist/t.out \
-       tests/expressions/randist/uniform.out \
-       tests/expressions/randist/weibull.out \
-       tests/formats/bcd-in.expected.cmp.gz \
-       tests/formats/binhex-out.expected.gz \
-       tests/formats/ib-in.expected.cmp.gz \
-       tests/formats/legacy-in.expected.cmp.gz \
-       tests/formats/num-in.expected.gz \
-       tests/formats/num-out.expected.cmp.gz \
-       tests/formats/num-out-cmp.pl \
-       tests/formats/num-out-compare.pl \
-       tests/formats/num-out-decmp.pl \
-       tests/formats/num-out.pl \
+       tests/data/bcd-in.expected.cmp.gz \
+       tests/data/binhex-in.expected.cmp.gz \
+       tests/data/binhex-out.expected.gz \
+       tests/data/legacy-in.expected.cmp.gz \
+       tests/data/num-in.expected.gz \
+       tests/data/num-out-cmp.pl \
+       tests/data/num-out.expected.cmp.gz \
+       tests/data/v13.sav \
+       tests/data/v14.sav \
         tests/language/data-io/Book1.gnm.unzipped
 
 CLEANFILES += *.save pspp.* foo*
@@ -285,7 +245,9 @@ EXTRA_DIST += \
 TESTSUITE_AT = \
        tests/data/calendar.at \
        tests/data/data-in.at \
+       tests/data/data-out.at \
        tests/data/datasheet-test.at \
+       tests/data/format-guesser.at \
        tests/data/por-file.at \
        tests/data/sys-file.at \
        tests/language/command.at \
@@ -352,6 +314,7 @@ TESTSUITE_AT = \
        tests/language/xforms/select-if.at \
        tests/libpspp/abt.at \
        tests/libpspp/bt.at \
+       tests/libpspp/float-format.at \
        tests/libpspp/heap.at \
        tests/libpspp/hmap.at \
        tests/libpspp/hmapx.at \
@@ -361,6 +324,7 @@ TESTSUITE_AT = \
        tests/libpspp/range-map.at \
        tests/libpspp/range-set.at \
        tests/libpspp/sparse-array.at \
+       tests/libpspp/sparse-xarray-test.at \
        tests/libpspp/str.at \
        tests/libpspp/string-map.at \
        tests/libpspp/stringi-map.at \
@@ -368,8 +332,10 @@ TESTSUITE_AT = \
        tests/libpspp/stringi-set.at \
        tests/libpspp/tower.at \
        tests/math/moments.at \
+       tests/math/randist.at \
        tests/output/charts.at \
        tests/output/output.at \
+       tests/output/paper-size.at \
        tests/output/render.at \
        tests/ui/terminal/main.at \
        tests/perl-module.at