X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fautomake.mk;h=00f3a126e439a950b51a3131a726ec39945fc201;hb=cf053bc3d176906bf29ff570b2f178f32a99994b;hp=aa9a92ffb35b685054f970dbdddb133eb97ba70b;hpb=025c8c504b302d7ffce6800134df494a4a68a5f5;p=pspp-builds.git diff --git a/tests/automake.mk b/tests/automake.mk index aa9a92ff..00f3a126 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -1,13 +1,17 @@ ## Process this file with automake to produce Makefile.in -*- makefile -*- TESTS_ENVIRONMENT = top_srcdir='$(top_srcdir)' top_builddir='$(top_builddir)' -TESTS_ENVIRONMENT += PERL='@PERL@' +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 \ tests/command/beg-data.sh \ tests/command/bignum.sh \ @@ -40,6 +44,7 @@ dist_TESTS = \ tests/command/n_of_cases.sh \ tests/command/npar-binomial.sh \ tests/command/npar-chisquare.sh \ + tests/command/npar-wilcoxon.sh \ tests/command/oneway.sh \ tests/command/oneway-missing.sh \ tests/command/oneway-with-splits.sh \ @@ -49,6 +54,8 @@ dist_TESTS = \ tests/command/rank.sh \ tests/command/rename.sh \ tests/command/regression.sh \ + tests/command/regression-qr.sh \ + tests/command/reliability.sh \ tests/command/sample.sh \ tests/command/sort.sh \ tests/command/sysfiles.sh \ @@ -67,7 +74,9 @@ 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 \ tests/command/very-long-strings.sh \ tests/command/weight.sh \ @@ -76,6 +85,7 @@ dist_TESTS = \ 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 \ @@ -98,13 +108,16 @@ dist_TESTS = \ tests/bugs/compression.sh \ tests/bugs/crosstabs.sh \ tests/bugs/crosstabs-crash.sh \ + tests/bugs/crosstabs-crash2.sh \ tests/bugs/curtailed.sh \ tests/bugs/data-crash.sh \ tests/bugs/double-frequency.sh \ tests/bugs/empty-do-repeat.sh \ tests/bugs/get.sh \ + tests/bugs/examine-crash.sh \ tests/bugs/examine-1sample.sh \ tests/bugs/examine-missing.sh \ + tests/bugs/examine-missing2.sh \ tests/bugs/freq-nolabels.sh \ tests/bugs/get-no-file.sh \ tests/bugs/html-frequency.sh \ @@ -154,10 +167,16 @@ if GNM_SUPPORT dist_TESTS += tests/command/get-data-gnm.sh endif +if PSQL_SUPPORT +dist_TESTS += tests/command/get-data-psql.sh +endif + nodist_TESTS = \ tests/libpspp/abt-test \ tests/libpspp/bt-test \ tests/libpspp/heap-test \ + tests/libpspp/hmap-test \ + tests/libpspp/hmapx-test \ tests/libpspp/ll-test \ tests/libpspp/llx-test \ tests/libpspp/range-map-test \ @@ -177,6 +196,7 @@ tests_libpspp_ll_test_SOURCES = \ src/libpspp/ll.h \ tests/libpspp/ll-test.c tests_libpspp_ll_test_LDADD = gl/libgl.la @LIBINTL@ +tests_libpspp_ll_test_CFLAGS = $(AM_CFLAGS) tests_libpspp_llx_test_SOURCES = \ src/libpspp/ll.c \ @@ -185,6 +205,7 @@ tests_libpspp_llx_test_SOURCES = \ src/libpspp/llx.h \ tests/libpspp/llx-test.c tests_libpspp_llx_test_LDADD = gl/libgl.la @LIBINTL@ +tests_libpspp_llx_test_CFLAGS = $(AM_CFLAGS) tests_libpspp_heap_test_SOURCES = \ src/libpspp/heap.c \ @@ -195,6 +216,22 @@ tests_libpspp_heap_test_SOURCES = \ tests_libpspp_heap_test_LDADD = gl/libgl.la @LIBINTL@ tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_hmap_test_SOURCES = \ + src/libpspp/hmap.c \ + src/libpspp/hmap.h \ + tests/libpspp/hmap-test.c +tests_libpspp_hmap_test_LDADD = gl/libgl.la @LIBINTL@ +tests_libpspp_hmap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 + +tests_libpspp_hmapx_test_SOURCES = \ + src/libpspp/hmap.c \ + src/libpspp/hmap.h \ + src/libpspp/hmapx.c \ + src/libpspp/hmapx.h \ + tests/libpspp/hmapx-test.c +tests_libpspp_hmapx_test_LDADD = gl/libgl.la @LIBINTL@ +tests_libpspp_hmapx_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 + tests_libpspp_abt_test_SOURCES = \ src/libpspp/abt.c \ src/libpspp/abt.h \ @@ -231,7 +268,7 @@ 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.a 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 \ @@ -261,6 +298,7 @@ tests_dissect_sysfile_SOURCES = \ src/libpspp/float-format.c \ tests/dissect-sysfile.c tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@ +tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\" EXTRA_DIST += \ $(dist_TESTS) \ @@ -302,3 +340,11 @@ 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 + +EXTRA_DIST += tests/OChangeLog