mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
t/lib-httpd: pass LSAN_OPTIONS through apache
Just as we instruct Apache to pass through ASAN_OPTIONS (so that server-side Git programs it spawns will respect our options while running the tests), we should do the same with LSAN_OPTIONS. Otherwise trying to collect a list of leaks like: export LSAN_OPTIONS=exitcode=0:log_path=/tmp/lsan make SANITIZE=leak test won't work for http tests (the server-side programs won't log their leaks to the right place, and they'll prematurely die, producing a spurious test failure). Signed-off-by: Jeff King <peff@peff.net> Acked-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
aeb582a983
commit
d9ef573837
|
@ -76,6 +76,7 @@ PassEnv GIT_VALGRIND
|
||||||
PassEnv GIT_VALGRIND_OPTIONS
|
PassEnv GIT_VALGRIND_OPTIONS
|
||||||
PassEnv GNUPGHOME
|
PassEnv GNUPGHOME
|
||||||
PassEnv ASAN_OPTIONS
|
PassEnv ASAN_OPTIONS
|
||||||
|
PassEnv LSAN_OPTIONS
|
||||||
PassEnv GIT_TRACE
|
PassEnv GIT_TRACE
|
||||||
PassEnv GIT_CONFIG_NOSYSTEM
|
PassEnv GIT_CONFIG_NOSYSTEM
|
||||||
PassEnv GIT_TEST_SIDEBAND_ALL
|
PassEnv GIT_TEST_SIDEBAND_ALL
|
||||||
|
|
Loading…
Reference in a new issue