]> git.cworth.org Git - notmuch/blobdiff - test/T800-asan.sh
test: support testing notmuch as installed
[notmuch] / test / T800-asan.sh
index 7c28dc7c9b84ac3a5fd7303dce7ac3d1e0d8ff2d..9ce6baa7c80b34e767bd8900f2f74c8498676818 100755 (executable)
@@ -7,6 +7,11 @@ if [ "${NOTMUCH_HAVE_ASAN-0}" != "1" ]; then
     test_done
 fi
 
+if [ -n "${LD_PRELOAD-}" ]; then
+    printf "Skipping due to ASAN LD_PRELOAD restrictions\n"
+    test_done
+fi
+
 add_email_corpus
 
 TEST_CFLAGS="${TEST_CFLAGS:-} -fsanitize=address"