Skip to content

Commit 9f240ec

Browse files
committed
Merge branch 'jk/test-asan'
* jk/test-asan: t: support clang/gcc AddressSanitizer
2 parents 3701aa0 + b0f4c90 commit 9f240ec

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

t/lib-httpd/apache.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ LockFile accept.lock
6969
PassEnv GIT_VALGRIND
7070
PassEnv GIT_VALGRIND_OPTIONS
7171
PassEnv GNUPGHOME
72+
PassEnv ASAN_OPTIONS
7273

7374
Alias /dumb/ www/
7475
Alias /auth/dumb/ www/auth/dumb/

t/test-lib.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ else
140140
}
141141
fi
142142

143+
: ${ASAN_OPTIONS=detect_leaks=0}
144+
export ASAN_OPTIONS
145+
143146
# Protect ourselves from common misconfiguration to export
144147
# CDPATH into the environment
145148
unset CDPATH

0 commit comments

Comments
 (0)