]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/test-asan'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:28:08 +0000 (12:28 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:28:08 +0000 (12:28 -0800)
* jk/test-asan:
  t: support clang/gcc AddressSanitizer

t/lib-httpd/apache.conf
t/test-lib.sh

index 7713dd260948c0fca0c0633b6c2cc152f7bc1361..03a4c2ee842e51e13b14774f1f86a4e7b22ae10c 100644 (file)
@@ -69,6 +69,7 @@ LockFile accept.lock
 PassEnv GIT_VALGRIND
 PassEnv GIT_VALGRIND_OPTIONS
 PassEnv GNUPGHOME
+PassEnv ASAN_OPTIONS
 
 Alias /dumb/ www/
 Alias /auth/dumb/ www/auth/dumb/
index 79e8a33d043e7208c2c1a08ab38fad207049ef4c..9acdc8826fff1aabf9df5182a64109b7bd16cd8d 100644 (file)
@@ -140,6 +140,9 @@ else
        }
 fi
 
+: ${ASAN_OPTIONS=detect_leaks=0}
+export ASAN_OPTIONS
+
 # Protect ourselves from common misconfiguration to export
 # CDPATH into the environment
 unset CDPATH