X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fautomake.mk;h=0dbfcc6098cbfc44ae98b6543bcf1d80ead19970;hb=5c3291dc396b795696e94f47780308fd7ace6fc4;hp=d8dd300ee3d3ede8cb75b529b57a928cc6ef54b9;hpb=5a0b0d607efde2ab3a47d0d9c9fc62128a3156c1;p=pspp-builds.git diff --git a/tests/automake.mk b/tests/automake.mk index d8dd300e..0dbfcc60 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -6,7 +6,10 @@ TESTS_ENVIRONMENT += PERL='@PERL@' PG_CONFIG='@PG_CONFIG@' # Allow locale_charset to find charset.alias before running "make install". TESTS_ENVIRONMENT += CHARSETALIASDIR='$(abs_top_builddir)/gl' +TESTS_ENVIRONMENT += LC_ALL=C + dist_TESTS = \ + tests/command/add-files.sh \ tests/command/aggregate.sh \ tests/command/attributes.sh \ tests/command/autorecod.sh \ @@ -29,9 +32,9 @@ dist_TESTS = \ tests/command/get-data-txt-examples.sh \ tests/command/get-data-txt-importcases.sh \ tests/command/import-export.sh \ - tests/command/input-program.sh \ tests/command/insert.sh \ tests/command/lag.sh \ + tests/command/line-ends.sh \ tests/command/list.sh \ tests/command/loop.sh \ tests/command/longvars.sh \ @@ -42,6 +45,7 @@ dist_TESTS = \ tests/command/npar-binomial.sh \ tests/command/npar-chisquare.sh \ tests/command/npar-wilcoxon.sh \ + tests/command/npar-sign.sh \ tests/command/oneway.sh \ tests/command/oneway-missing.sh \ tests/command/oneway-with-splits.sh \ @@ -71,6 +75,7 @@ dist_TESTS = \ tests/command/t-test-pairs.sh \ tests/command/trimmed-mean.sh \ tests/command/tabs.sh \ + tests/command/update.sh \ tests/command/use.sh \ tests/command/variable-display.sh \ tests/command/vector.sh \ @@ -111,6 +116,8 @@ dist_TESTS = \ tests/bugs/empty-do-repeat.sh \ tests/bugs/get.sh \ tests/bugs/examine-crash.sh \ + tests/bugs/examine-crash2.sh \ + tests/bugs/examine-crash3.sh \ tests/bugs/examine-1sample.sh \ tests/bugs/examine-missing.sh \ tests/bugs/examine-missing2.sh \ @@ -125,6 +132,7 @@ dist_TESTS = \ tests/bugs/multipass.sh \ tests/bugs/overwrite-input-file.sh \ tests/bugs/overwrite-special-file.sh \ + tests/bugs/piechart.sh \ tests/bugs/random.sh \ tests/bugs/signals.sh \ tests/bugs/t-test-with-temp.sh \ @@ -143,6 +151,7 @@ dist_TESTS = \ tests/bugs/temp-freq.sh \ tests/bugs/print-crash.sh \ tests/bugs/keep-all.sh \ + tests/libpspp/sparse-xarray-test.sh \ tests/output/paper-size.sh \ tests/xforms/recode.sh \ tests/stats/descript-basic.sh \ @@ -185,7 +194,8 @@ TESTS = $(dist_TESTS) $(nodist_TESTS) check_PROGRAMS += \ $(nodist_TESTS) \ - tests/formats/inexactify + tests/formats/inexactify \ + tests/libpspp/sparse-xarray-test tests_libpspp_ll_test_SOURCES = \ src/libpspp/ll.c \ @@ -209,7 +219,7 @@ tests_libpspp_heap_test_SOURCES = \ src/libpspp/pool.c \ src/libpspp/pool.h \ tests/libpspp/heap-test.c -tests_libpspp_heap_test_LDADD = gl/libgl.la @LIBINTL@ +tests_libpspp_heap_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 tests_libpspp_hmap_test_SOURCES = \ @@ -259,12 +269,12 @@ tests_libpspp_range_set_test_SOURCES = \ src/libpspp/range-set.c \ src/libpspp/range-set.h \ tests/libpspp/range-set-test.c -tests_libpspp_range_set_test_LDADD = gl/libgl.la @LIBINTL@ +tests_libpspp_range_set_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_range_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 tests_libpspp_str_test_SOURCES = \ tests/libpspp/str-test.c -tests_libpspp_str_test_LDADD = src/libpspp/libpspp.la gl/libgl.la @LIBINTL@ +tests_libpspp_str_test_LDADD = src/libpspp/libpspp.la gl/libgl.la @LIBINTL@ tests_libpspp_tower_test_SOURCES = \ src/libpspp/abt.c \ @@ -274,7 +284,7 @@ tests_libpspp_tower_test_SOURCES = \ src/libpspp/tower.c \ src/libpspp/tower.h \ tests/libpspp/tower-test.c -tests_libpspp_tower_test_LDADD = gl/libgl.la @LIBINTL@ +tests_libpspp_tower_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 tests_libpspp_sparse_array_test_SOURCES = \ @@ -283,9 +293,24 @@ tests_libpspp_sparse_array_test_SOURCES = \ src/libpspp/pool.c \ src/libpspp/pool.h \ tests/libpspp/sparse-array-test.c -tests_libpspp_sparse_array_test_LDADD = gl/libgl.la @LIBINTL@ +tests_libpspp_sparse_array_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_sparse_xarray_test_SOURCES = \ + src/libpspp/argv-parser.c \ + src/libpspp/bt.c \ + src/libpspp/deque.c \ + src/libpspp/model-checker.c \ + src/libpspp/range-set.c \ + src/libpspp/sparse-array.c \ + src/libpspp/sparse-xarray.c \ + src/libpspp/str.c \ + src/libpspp/pool.c \ + src/libpspp/tmpfile.c \ + tests/libpspp/sparse-xarray-test.c +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 noinst_PROGRAMS += tests/dissect-sysfile @@ -293,7 +318,7 @@ tests_dissect_sysfile_SOURCES = \ src/libpspp/integer-format.c \ src/libpspp/float-format.c \ tests/dissect-sysfile.c -tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@ +tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@ tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\" EXTRA_DIST += \ @@ -336,11 +361,12 @@ EXTRA_DIST += \ CLEANFILES += *.save pspp.* foo* -DIST_HOOKS += check-for-export-var-val check-for-export-var-val: @if grep -q 'export .*=' $(dist_TESTS) ; then \ echo 'One or more tests contain non-portable "export VAR=val" syntax' ; \ false ; \ fi +DIST_HOOKS += check-for-export-var-val + EXTRA_DIST += tests/OChangeLog