tests: Convert tests for binary and 360 data I/O to Autotest framework.
[pspp-builds.git] / tests / automake.mk
index 479f24e5a9dcd002b04829187a7fb7b4078adeb9..95bc1765616eb87165960d0c86e6d3086228365f 100644 (file)
@@ -9,35 +9,12 @@ TESTS_ENVIRONMENT += CHARSETALIASDIR='$(abs_top_builddir)/gl'
 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/expressions/randist.sh \
-       tests/expressions/valuelabel.sh \
-       tests/expressions/variables.sh \
-       tests/expressions/vectors.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 \
@@ -206,7 +183,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 = \
@@ -228,34 +205,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*
@@ -283,7 +241,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 \
@@ -350,6 +310,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 \
@@ -367,6 +328,7 @@ 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 \