Fix "make check" with --enable-relocatable.
[pspp-builds.git] / tests / automake.mk
index aba1a62c1170580a185b5f6ca2b39042e48a1ef1..6493a845643ce08525650aff6925a725a13355f7 100644 (file)
@@ -143,6 +143,7 @@ dist_TESTS = \
        tests/bugs/t-test-alpha.sh \
        tests/bugs/t-test-alpha2.sh \
        tests/bugs/t-test-alpha3.sh \
+       tests/bugs/t-test-paired.sh \
        tests/bugs/temporary.sh \
        tests/bugs/unwritable-dir.sh \
        tests/bugs/val-labs.sh \
@@ -204,7 +205,15 @@ check_PROGRAMS += \
 
 tests_data_datasheet_test_SOURCES = \
        tests/data/datasheet-test.c
-tests_data_datasheet_test_LDADD = src/libpspp-core.la @LIBINTL@ 
+tests_data_datasheet_test_LDADD = gl/libgl.la src/libpspp-core.la @LIBINTL@ 
+tests_data_datasheet_test_CFLAGS = $(AM_CFLAGS)
+
+# This seems to be necessary as the libtool artifacts aren't removed
+# Automake bug ?
+tests_data_datasheet_test_CLEAN:
+       $(RM) -r tests/data
+
+CLEAN_LOCAL += tests_data_datasheet_test_CLEAN
 
 tests_libpspp_ll_test_SOURCES = \
        src/libpspp/ll.c \
@@ -328,7 +337,6 @@ tests_dissect_sysfile_SOURCES = \
        src/libpspp/float-format.c \
        tests/dissect-sysfile.c
 tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@ 
-tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
 
 EXTRA_DIST += \
        $(dist_TESTS) \