X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fautomake.mk;h=8be58e18f55fed21792b3861668de8d110f0162c;hb=714ea20439a47287d31820eb71ef77e01a465d86;hp=362baaa7b59addcba745aa93bb8898d7a4c7f695;hpb=b74913975ed7b4c83fca98f1f46e7f938a37722d;p=pspp-builds.git diff --git a/tests/automake.mk b/tests/automake.mk index 362baaa7..8be58e18 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -1,46 +1,8 @@ ## Process this file with automake to produce Makefile.in -*- makefile -*- -TESTS_ENVIRONMENT = top_srcdir='$(top_srcdir)' top_builddir='$(top_builddir)' -TESTS_ENVIRONMENT += PERL='$(PERL)' - -# Allow locale_charset to find charset.alias before running "make install". -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/data/datasheet-test.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 = $(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 \ @@ -209,7 +171,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 = \ @@ -229,48 +191,20 @@ tests_output_render_test_LDADD = \ $(LIBINTL) 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/coverage.sh \ + 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* -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 # Autotest testsuite @@ -286,6 +220,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 \ @@ -340,6 +277,7 @@ TESTSUITE_AT = \ tests/language/stats/roc.at \ tests/language/stats/sort-cases.at \ tests/language/stats/t-test.at \ + tests/language/utilities/cache.at \ tests/language/utilities/date.at \ tests/language/utilities/insert.at \ tests/language/utilities/permissions.at \ @@ -352,6 +290,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 +300,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 +308,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 @@ -386,7 +328,7 @@ EXTRA_DIST += tests/testsuite.at CHECK_LOCAL += tests_check tests_check: tests/atconfig tests/atlocal $(TESTSUITE) $(check_PROGRAMS) - $(SHELL) '$(TESTSUITE)' -C tests AUTOTEST_PATH=tests/libpspp:tests/output:src/ui/terminal $(TESTSUITEFLAGS) + $(SHELL) '$(TESTSUITE)' -C tests AUTOTEST_PATH=tests/data:tests/libpspp:tests/output:src/ui/terminal $(TESTSUITEFLAGS) CLEAN_LOCAL += tests_clean tests_clean: