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 \