# 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 += \
tests_data_sack_SOURCES = \
tests/data/sack.c
-tests_data_sack_LDADD = src/libpspp-core.la
+tests_data_sack_LDADD = src/libpspp-core.la
tests_data_sack_CFLAGS = $(AM_CFLAGS)
tests_libpspp_line_reader_test_SOURCES = tests/libpspp/line-reader-test.c
-tests_libpspp_line_reader_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_line_reader_test_LDADD = src/libpspp-core.la
tests_libpspp_ll_test_SOURCES = \
src/libpspp/ll.c \
tests_libpspp_encoding_guesser_test_SOURCES = \
tests/libpspp/encoding-guesser-test.c
-tests_libpspp_encoding_guesser_test_LDADD = \
- src/libpspp/liblibpspp.la \
- gl/libgl.la
+tests_libpspp_encoding_guesser_test_LDADD = src/libpspp-core.la
tests_libpspp_heap_test_SOURCES = \
tests/libpspp/heap-test.c
tests_libpspp_hmapx_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_i18n_test_SOURCES = tests/libpspp/i18n-test.c
-tests_libpspp_i18n_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_i18n_test_LDADD = src/libpspp-core.la
tests_libpspp_abt_test_SOURCES = \
src/libpspp/abt.c \
tests_libpspp_str_test_SOURCES = \
tests/libpspp/str-test.c
-tests_libpspp_str_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_str_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
tests_libpspp_string_map_test_SOURCES = \
tests/libpspp/string-map-test.c
tests_libpspp_stringi_map_test_SOURCES = \
tests/libpspp/stringi-map-test.c
tests_libpspp_stringi_map_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_stringi_map_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_stringi_map_test_LDADD = src/libpspp-core.la
tests_libpspp_string_set_test_SOURCES = \
src/libpspp/hash-functions.c \
tests_libpspp_stringi_set_test_SOURCES = \
tests/libpspp/stringi-set-test.c
tests_libpspp_stringi_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_stringi_set_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_stringi_set_test_LDADD = src/libpspp-core.la
tests_libpspp_tower_test_SOURCES = \
tests/libpspp/tower-test.c
tests_libpspp_tower_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
tests_libpspp_u8_istream_test_SOURCES = tests/libpspp/u8-istream-test.c
-tests_libpspp_u8_istream_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
+tests_libpspp_u8_istream_test_LDADD = src/libpspp-core.la
tests_libpspp_sparse_array_test_SOURCES = \
- tests/libpspp/sparse-array-test.c
+ tests/libpspp/sparse-array-test.c
tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_sparse_array_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la
tests_libpspp_sparse_xarray_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
tests_libpspp_sparse_xarray_test_LDADD = src/libpspp/liblibpspp.la \
src/libpspp-core.la \
- gl/libgl.la
+ gl/libgl.la
tests_data_inexactify_SOURCES = tests/data/inexactify.c
tests/language/lexer/command-name-test.c
tests_language_lexer_command_name_test_LDADD = \
src/libpspp/liblibpspp.la \
- gl/libgl.la
+ gl/libgl.la
tests_language_lexer_command_name_test_CFLAGS = $(AM_CFLAGS)
check_PROGRAMS += tests/language/lexer/scan-test
tests_language_lexer_scan_test_CFLAGS = $(AM_CFLAGS)
tests_language_lexer_scan_test_LDADD = \
src/libpspp/liblibpspp.la \
- gl/libgl.la
+ gl/libgl.la
check_PROGRAMS += tests/language/lexer/segment-test
tests_language_lexer_segment_test_SOURCES = \
tests_language_lexer_segment_test_CFLAGS = $(AM_CFLAGS)
tests_language_lexer_segment_test_LDADD = \
src/libpspp/liblibpspp.la \
- gl/libgl.la
+ gl/libgl.la
check_PROGRAMS += tests/libpspp/zip-test
tests_libpspp_zip_test_SOURCES = \
tests_libpspp_zip_test_LDADD = \
src/libpspp/liblibpspp.la \
src/libpspp-core.la \
- gl/libgl.la
+ gl/libgl.la
check_PROGRAMS += tests/math/chart-get-scale-test
tests_math_chart_get_scale_test_SOURCES = tests/math/chart-get-scale-test.c
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 = \
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/data/test-decrypted.spv \
+ tests/data/test-encrypted.spv \
tests/language/mann-whitney.txt \
tests/language/data-io/Book1.gnm.unzipped \
tests/language/data-io/test.ods \
tests/language/data-io/newone.ods \
- tests/language/stats/llz.zsav
+ tests/language/data-io/readnames.ods \
+ tests/language/stats/llz.zsav \
+ tests/utilities/regress.spv
CLEANFILES += *.save pspp.* foo*
\f
tests/language/data-io/save-translate.at \
tests/language/data-io/update.at \
tests/language/dictionary/attributes.at \
+ tests/language/dictionary/apply.at \
tests/language/dictionary/delete-variables.at \
tests/language/dictionary/formats.at \
tests/language/dictionary/missing-values.at \
tests/language/dictionary/mrsets.at \
+ tests/language/dictionary/modify-variables.at \
tests/language/dictionary/rename-variables.at \
tests/language/dictionary/sort-variables.at \
tests/language/dictionary/split-file.at \
tests/ui/terminal/main.at \
tests/ui/syntax-gen.at \
tests/utilities/pspp-convert.at \
+ tests/utilities/pspp-output.at \
tests/perl-module.at
TESTSUITE = $(srcdir)/tests/testsuite
AUTOM4TE = $(SHELL) $(srcdir)/build-aux/missing --run autom4te
AUTOTEST = $(AUTOM4TE) --language=autotest
-$(TESTSUITE): package.m4 $(srcdir)/tests/testsuite.at $(TESTSUITE_AT)
+$(TESTSUITE): package.m4 $(srcdir)/tests/testsuite.at $(TESTSUITE_AT)
$(AM_V_GEN)$(AUTOTEST) -I '$(srcdir)' $@.at | $(SED) 's/@<00A0>@/ /g' > $@.tmp
test -s $@.tmp
$(AM_V_at)mv $@.tmp $@
} >'$(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