]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0816: tests: not clear what tests cause asan failures v9.1.0816
authorChristian Brabandt <cb@256bit.org>
Sun, 27 Oct 2024 20:15:50 +0000 (21:15 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 27 Oct 2024 20:15:50 +0000 (21:15 +0100)
commitce35ee89864784930d16392d5fd5dea1fab17f9c
tree3a9bca3c404372fa594338ad9fed3d7602a61aeb
parent912fbaf6e8f50db44ece9b3f3a1babe21e77fa49
patch 9.1.0816: tests: not clear what tests cause asan failures

Problem:  tests: not clear what tests cause asan failures
Solution: append testname to $ASAN_OPTIONS

Mention what test causes ASAN failures by appending the testname
to log_path in $ASAN_OPTIONS/$UBSAN_OPTIONS. This assumes 'log_path' is
always the last sub-option in $ASAN_OPTIONS.

While at it, also make the CI run with `-O0` instead of `-O1` when ASAN
is enable since this causes line numbers to disappear.

closes: #15927

Signed-off-by: Christian Brabandt <cb@256bit.org>
.github/workflows/ci.yml
src/testdir/Makefile
src/version.c