Merge branch 'jk/test-asan'

* jk/test-asan:
  t: support clang/gcc AddressSanitizer
This commit is contained in:
Junio C Hamano 2014-12-22 12:28:08 -08:00
commit 9f240ec60f
2 changed files with 4 additions and 0 deletions

View 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/

View 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