Skip to content

Commit

Permalink
Merge branch 'jk/test-asan'
Browse files Browse the repository at this point in the history
* jk/test-asan:
  t: support clang/gcc AddressSanitizer
  • Loading branch information
Junio C Hamano committed Dec 22, 2014
2 parents 3701aa0 + b0f4c90 commit 9f240ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions t/lib-httpd/apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
3 changes: 3 additions & 0 deletions t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f240ec

Please sign in to comment.