+# PSPP - a program for statistical analysis.
+# Copyright (C) 2017 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
## Process this file with automake to produce Makefile.in -*- makefile -*-
check_PROGRAMS += \
src/libpspp-core.la \
$(CAIRO_LIBS)
-
check_PROGRAMS += tests/ui/syntax-gen-test
tests_ui_syntax_gen_test_SOURCES = tests/ui/syntax-gen-test.c
tests_ui_syntax_gen_test_LDADD = \
EXTRA_DIST += \
tests/coverage.sh \
+ tests/data/CVE-2017-10791.sav \
+ tests/data/CVE-2017-10792.sav \
tests/data/bcd-in.expected.cmp.gz \
tests/data/binhex-in.expected.cmp.gz \
tests/data/binhex-out.expected.gz \
tests/data/num-in.expected.gz \
tests/data/num-out-cmp.pl \
tests/data/num-out.expected.cmp.gz \
+ tests/data/test-date-input.py \
+ tests/data/test-time-input.py \
tests/data/v13.sav \
tests/data/v14.sav \
tests/data/test-encrypted.sps \
tests/language/data-io/Book1.gnm.unzipped \
tests/language/data-io/test.ods \
tests/language/data-io/newone.ods \
+ tests/language/data-io/readnames.ods \
tests/language/stats/llz.zsav
CLEANFILES += *.save pspp.* foo*
tests/data/dictionary.at \
tests/data/file.at \
tests/data/format-guesser.at \
+ tests/data/mdd-file.at \
tests/data/pc+-file-reader.at \
tests/data/por-file.at \
tests/data/sys-file-reader.at \
tests/language/data-io/inpt-pgm.at \
tests/language/data-io/list.at \
tests/language/data-io/match-files.at \
+ tests/language/data-io/matrix-data.at \
tests/language/data-io/print-space.at \
tests/language/data-io/print.at \
tests/language/data-io/save.at \
tests/math/randist.at \
tests/output/ascii.at \
tests/output/charts.at \
+ tests/output/html.at \
tests/output/output.at \
tests/output/paper-size.at \
tests/output/render.at \
tests/output/tables.at \
tests/ui/terminal/main.at \
tests/ui/syntax-gen.at \
+ tests/utilities/pspp-convert.at \
tests/perl-module.at
TESTSUITE = $(srcdir)/tests/testsuite
-DISTCLEANFILES += tests/atconfig tests/atlocal $(TESTSUITE)
+DISTCLEANFILES += tests/atconfig tests/atlocal
AUTOTEST_PATH = tests/data:tests/language/lexer:tests/libpspp:tests/output:src/ui/terminal:utilities
$(srcdir)/tests/testsuite.at: tests/testsuite.in tests/automake.mk
} >'$(srcdir)/package.m4'
check-valgrind:
- $(MAKE) check RUNNER='$(SHELL) $(abs_top_builddir)/libtool --mode=execute valgrind --log-file=valgrind.%p --leak-check=full --num-callers=20' TESTSUITEFLAGS='$(TESTSUITEFLAGS) -d'
+ $(MAKE) check RUNNER='$(SHELL) $(abs_top_builddir)/libtool --mode=execute valgrind --log-file=valgrind.%p --leak-check=full --num-callers=20 --suppressions=$(abs_top_srcdir)/tests/valgrind.supp --read-inline-info=yes --read-var-info=yes' TESTSUITEFLAGS='$(TESTSUITEFLAGS) -d'
@echo
@echo '--------------------------------'
@echo 'Valgrind output is in:'
@echo 'tests/testsuite.dir/*/valgrind.*'
@echo '--------------------------------'
+EXTRA_DIST += tests/valgrind.supp tests/lsan.supp