X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fautomake.mk;h=f3e14e7e98b9237551ff715d3d9b8ce47022c64d;hb=3bf92c99a566c03d4100ada7e83cafac7219c4fb;hp=cfbf271fc3a94e5f373bbab785cfabb332ac5d55;hpb=6a209ca3bd4a5992670b3c6012ff6cfde4cebf6c;p=pspp diff --git a/tests/automake.mk b/tests/automake.mk index cfbf271fc3..f3e14e7e98 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -1,19 +1,19 @@ # 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 . -# +# ## Process this file with automake to produce Makefile.in -*- makefile -*- check_PROGRAMS += \ @@ -62,11 +62,11 @@ tests_data_datasheet_test_CFLAGS = $(AM_CFLAGS) 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 \ @@ -81,9 +81,7 @@ tests_libpspp_llx_test_CFLAGS = $(AM_CFLAGS) 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 @@ -102,7 +100,7 @@ tests_libpspp_hmapx_test_SOURCES = \ 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 \ @@ -137,7 +135,7 @@ tests_libpspp_range_tower_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la 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 @@ -147,7 +145,7 @@ tests_libpspp_string_map_test_LDADD = src/libpspp/liblibpspp.la gl/libgl.la 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 \ @@ -159,7 +157,7 @@ tests_libpspp_string_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 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 @@ -167,10 +165,10 @@ tests_libpspp_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 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 @@ -179,7 +177,7 @@ tests_libpspp_sparse_xarray_test_SOURCES = \ 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 @@ -190,7 +188,7 @@ tests_language_lexer_command_name_test_SOURCES = \ 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 @@ -204,7 +202,7 @@ tests_language_lexer_scan_test_SOURCES = \ 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 = \ @@ -215,7 +213,7 @@ 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 = \ @@ -225,7 +223,7 @@ tests_libpspp_zip_test_CFLAGS = $(AM_CFLAGS) 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 @@ -275,12 +273,15 @@ EXTRA_DIST += \ 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/data-io/readnames.ods \ - tests/language/stats/llz.zsav + tests/language/stats/llz.zsav \ + tests/utilities/regress.spv CLEANFILES += *.save pspp.* foo* @@ -426,6 +427,7 @@ TESTSUITE_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 @@ -452,7 +454,7 @@ tests_clean: 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 $@