Don't try to distribute tests that are compiled
authorBen Pfaff <blp@gnu.org>
Mon, 19 Mar 2007 00:33:15 +0000 (00:33 +0000)
committerBen Pfaff <blp@gnu.org>
Mon, 19 Mar 2007 00:33:15 +0000 (00:33 +0000)
from C source.  This fixes "make dist" when "make all" has not yet
been run.

tests/ChangeLog
tests/automake.mk

index ee534187afcd793b833e54d67a8e091a9ed9fe78..2a172f2efe774cd65e09371b5c35fae1e107f431 100644 (file)
@@ -1,3 +1,9 @@
+2007-03-18  Ben Pfaff  <blp@gnu.org>
+
+       * automake.mk: Don't try to distribute tests that are compiled
+       from C source.  This fixes "make dist" when "make all" has not yet
+       been run.
+
 Mon Feb 12 06:29:30 2007  Ben Pfaff  <blp@gnu.org>
 
        * libpspp/ll-test.c, libpspp/llx-test.c: Include <config.h>.
index c6b2337d5e4937e2e9eae6d2a6516cce1c120838..3fb24f6e6db7a7a71a446bae4a93217c71f1d7b6 100644 (file)
@@ -2,7 +2,7 @@
 
 TESTS_ENVIRONMENT = top_srcdir='$(top_srcdir)' top_builddir='$(top_builddir)'
 TESTS_ENVIRONMENT += PERL='@PERL@'
-TESTS = \
+dist_TESTS = \
        tests/command/aggregate.sh \
        tests/command/autorecod.sh \
        tests/command/beg-data.sh \
@@ -130,12 +130,16 @@ TESTS = \
        tests/expressions/randist.sh \
        tests/expressions/valuelabel.sh \
        tests/expressions/variables.sh \
-       tests/expressions/vectors.sh \
+       tests/expressions/vectors.sh
+
+nodist_TESTS = \
        tests/libpspp/ll-test \
        tests/libpspp/llx-test \
        tests/libpspp/heap-test \
        tests/libpspp/abt-test
 
+TESTS = $(dist_TESTS) $(nodist_TESTS)
+
 check_PROGRAMS += \
        tests/libpspp/ll-test \
        tests/libpspp/llx-test \
@@ -173,7 +177,9 @@ tests_libpspp_abt_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
 
 tests_formats_inexactify_SOURCES = tests/formats/inexactify.c
 
-EXTRA_DIST += $(TESTS) tests/weighting.data tests/data-list.data tests/list.data \
+EXTRA_DIST += \
+       $(dist_TESTS) \
+       tests/weighting.data tests/data-list.data tests/list.data \
        tests/no_case_size.sav \
        tests/coverage.sh tests/test_template \
        tests/v13.sav tests/v14.sav \