Rewrite and improve formatted output routines.
[pspp-builds.git] / tests / automake.mk
index e8094484239d1bd7b16f0e42496b8e977bb32dba..dde7b09c9cd51733bd909d1fa7966d73ee2e8fc4 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
 
-TESTS_ENVIRONMENT = top_srcdir=${top_srcdir} top_builddir=${top_builddir}
+TESTS_ENVIRONMENT = top_srcdir='$(top_srcdir)' top_builddir='$(top_builddir)'
 TESTS_ENVIRONMENT += PERL='@PERL@'
 TESTS = \
        tests/command/aggregate.sh \
@@ -26,12 +26,14 @@ TESTS = \
        tests/command/match-files.sh \
        tests/command/missing-values.sh \
        tests/command/no_case_size.sh \
+       tests/command/n_of_cases.sh \
        tests/command/oneway.sh \
        tests/command/oneway-missing.sh \
        tests/command/oneway-with-splits.sh \
        tests/command/permissions.sh \
        tests/command/print.sh \
        tests/command/print-strings.sh \
+       tests/command/rank.sh \
        tests/command/rename.sh \
        tests/command/regression.sh \
        tests/command/sample.sh \
@@ -55,6 +57,13 @@ TESTS = \
        tests/command/use.sh \
        tests/command/very-long-strings.sh \
        tests/command/weight.sh \
+       tests/formats/binhex-out.sh \
+       tests/formats/date-out.sh \
+       tests/formats/float-format.sh \
+       tests/formats/month-out.sh \
+       tests/formats/num-out.sh \
+       tests/formats/time-out.sh \
+       tests/formats/wkday-out.sh \
        tests/bugs/agg_crash.sh \
        tests/bugs/agg-crash-2.sh \
        tests/bugs/alpha-freq.sh \
@@ -91,6 +100,8 @@ TESTS = \
        tests/bugs/computebug.sh \
        tests/bugs/compute-lv.sh \
        tests/bugs/temp-freq.sh \
+       tests/bugs/print-crash.sh \
+       tests/bugs/keep-all.sh \
        tests/xforms/casefile.sh \
        tests/stats/descript-basic.sh \
        tests/stats/descript-missing.sh \
@@ -103,7 +114,26 @@ TESTS = \
        tests/expressions/epoch.sh \
        tests/expressions/randist.sh \
        tests/expressions/variables.sh \
-       tests/expressions/vectors.sh
+       tests/expressions/vectors.sh \
+       tests/libpspp/ll-test \
+       tests/libpspp/llx-test
+
+check_PROGRAMS += tests/libpspp/ll-test tests/libpspp/llx-test \
+       tests/formats/inexactify
+
+tests_libpspp_ll_test_SOURCES = \
+       src/libpspp/ll.c \
+       src/libpspp/ll.h \
+       tests/libpspp/ll-test.c
+
+tests_libpspp_llx_test_SOURCES = \
+       src/libpspp/ll.c \
+       src/libpspp/ll.h \
+       src/libpspp/llx.c \
+       src/libpspp/llx.h \
+       tests/libpspp/llx-test.c
+
+tests_formats_inexactify_SOURCES = tests/formats/inexactify.c
 
 EXTRA_DIST += $(TESTS) tests/weighting.data tests/data-list.data tests/list.data \
        tests/no_case_size.sav \
@@ -123,6 +153,7 @@ EXTRA_DIST += $(TESTS) tests/weighting.data tests/data-list.data tests/list.data
        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 \