Merge branch 'jk/test-pass-ubsan-options-to-http-test'
UBSAN options were not propagated through the test framework to git run via the httpd, unlike ASAN options, which has been corrected. * jk/test-pass-ubsan-options-to-http-test: test-lib: set UBSAN_OPTIONS to match ASanmaint
commit
a4eebfadf2
|
@ -92,6 +92,7 @@ PassEnv GIT_VALGRIND_OPTIONS
|
|||
PassEnv GNUPGHOME
|
||||
PassEnv ASAN_OPTIONS
|
||||
PassEnv LSAN_OPTIONS
|
||||
PassEnv UBSAN_OPTIONS
|
||||
PassEnv GIT_TRACE
|
||||
PassEnv GIT_CONFIG_NOSYSTEM
|
||||
PassEnv GIT_TEST_SIDEBAND_ALL
|
||||
|
|
|
@ -89,6 +89,9 @@ prepend_var LSAN_OPTIONS : $GIT_SAN_OPTIONS
|
|||
prepend_var LSAN_OPTIONS : fast_unwind_on_malloc=0
|
||||
export LSAN_OPTIONS
|
||||
|
||||
prepend_var UBSAN_OPTIONS : $GIT_SAN_OPTIONS
|
||||
export UBSAN_OPTIONS
|
||||
|
||||
if test ! -f "$GIT_BUILD_DIR"/GIT-BUILD-OPTIONS
|
||||
then
|
||||
echo >&2 'error: GIT-BUILD-OPTIONS missing (has Git been built?).'
|
||||
|
|
Loading…
Reference in New Issue