tests_libpspp_sparse_xarray_test_SOURCES = \
        tests/libpspp/sparse-xarray-test.c
 tests_libpspp_sparse_xarray_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10
-tests_libpspp_sparse_xarray_test_LDADD = src/libpspp/liblibpspp.la \
+tests_libpspp_sparse_xarray_test_LDADD = \
        src/libpspp-core.la \
        gl/libgl.la \
        $(LIB_GETRANDOM)
 check_PROGRAMS += tests/libpspp/zip-test
 tests_libpspp_zip_test_SOURCES = \
        tests/libpspp/zip-test.c
-
 tests_libpspp_zip_test_CFLAGS = $(AM_CFLAGS)
 tests_libpspp_zip_test_LDADD = \
-       src/libpspp/liblibpspp.la \
        src/libpspp-core.la \
        gl/libgl.la \
        $(LIB_GETRANDOM)
 tests_math_chart_get_scale_test_LDADD = \
        src/math/libpspp-math.la \
        src/libpspp/liblibpspp.la \
-       src/libpspp-core.la \
        gl/libgl.la \
        $(LIB_GETRANDOM)
 
 tests_math_chart_get_ticks_format_test_LDADD = \
        src/math/libpspp-math.la \
        src/libpspp/liblibpspp.la \
-       src/libpspp-core.la \
        gl/libgl.la \
        $(LIB_GETRANDOM)
 
 
 AT_SETUP([in-memory sparse_xarray])
 AT_KEYWORDS([slow])
 dnl --values=3 would be a slightly better test but takes much longer.
-ASAN_OPTIONS=$ASAN_OPTIONS:detect_odr_violation=0; export ASAN_OPTIONS
 AT_CHECK([sparse-xarray-test \
            --verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
            --columns=3 --max-rows=3 --max-memory-rows=3 --values=2],
 m4_define([SPARSE_XARRAY_ON_DISK],
   [AT_SETUP([on-disk sparse_xarray max-memory-rows=$1])
    AT_KEYWORDS([slow])
-   ASAN_OPTIONS=$ASAN_OPTIONS:detect_odr_violation=0; export ASAN_OPTIONS
    AT_CHECK([sparse-xarray-test \
               --verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
                --columns=2 --max-rows=3 --max-memory-rows=$1 --values=2],
 
 AT_SETUP([copying between in-memory sparse_xarrays])
 AT_KEYWORDS([sparse_xarray slow])
-ASAN_OPTIONS=$ASAN_OPTIONS:detect_odr_violation=0; export ASAN_OPTIONS
 AT_CHECK([sparse-xarray-test \
            --verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
            --columns=2 --max-rows=2 --max-memory-rows=2 --values=2 \
   [AT_SETUP([copying between on-disk sparse_xarrays max-memory-rows=$1])
    AT_KEYWORDS([sparse_xarray slow])
    limit=`sparse_xarray_queue_limit`
-   ASAN_OPTIONS=$ASAN_OPTIONS:detect_odr_violation=0; export ASAN_OPTIONS
    AT_CHECK([sparse-xarray-test \
                --verbosity=0 --queue-limit=`expr $limit / 2` \
               --columns=1 --max-rows=2 --max-memory-rows=$max_memory_rows \
 
         names="$names $bn";
 done
 
-ASAN_OPTIONS="$ASAN_OPTIONS:detect_odr_violation=0";export ASAN_OPTIONS
 AT_CHECK([cd "$dir1" && zip-test w foo.zip $names])
 
 # If zipinfo is installed, make sure it can read the zipfile.
         names="$names $bn";
 done
 
-ASAN_OPTIONS="$ASAN_OPTIONS:detect_odr_violation=0";export ASAN_OPTIONS
 # The pipe through "cat" below is essential because it makes the
 # output file un-seekable.
 AT_CHECK([cd "$dir1" && zip-test w - $names | cat > foo.zip])