More ASAN_OPTIONS
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 2 Oct 2021 14:31:14 +0000 (16:31 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 2 Oct 2021 14:31:14 +0000 (16:31 +0200)
tests/libpspp/zip.at

index 5b21d50f5854791e06b60a6424c069a170da3ddc..1ab57e50d8a85ec9a44f0821993662862e1b7396 100644 (file)
@@ -35,6 +35,7 @@ while test $s -le 8192 ; do
         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.
@@ -77,6 +78,7 @@ while test $s -le 8192 ; do
         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])