diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-09-29 09:04:15 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-09-29 09:04:16 -0700 |
| commit | a4eebfadf2da24ba63c9027c1d28e0a9514ed1bd (patch) | |
| tree | 4815719601aef9b29bdfa516040109b552c94fcd /t/test-lib.sh | |
| parent | d15f92e3791d481ae244cb1436da06fe89479641 (diff) | |
| parent | 252d693797912ddb2684733160170f0408b73274 (diff) | |
| download | git-a4eebfadf2da24ba63c9027c1d28e0a9514ed1bd.tar.gz | |
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 ASan
Diffstat (limited to 't/test-lib.sh')
| -rw-r--r-- | t/test-lib.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 5ea5d1d62a..1656c9eed0 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -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?).' |
