diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 3a4b39ce2e..fe4c99b1da 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -942,6 +942,12 @@ is_na_patch() { test "$HUNK_NUM_FINAL" -ne 0 && return 1 fi ;; + src/testdir/Make*.mak) + HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \ + '-I\stest8[67]\.out \\$' \ + "$patch" -- "${file}") + test -n "$HUNKS" && return 1 + ;; *.h) HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \ '-I^\s+$' \ diff --git a/scripts/vim_na_regexp.txt b/scripts/vim_na_regexp.txt index 43266bc9bd..6980c1e06b 100644 --- a/scripts/vim_na_regexp.txt +++ b/scripts/vim_na_regexp.txt @@ -75,6 +75,7 @@ ^src/testdir/test_channel ^src/testdir/test_terminal ^src/testdir/test_vim9 +^src/testdir/test8[67]\. ^src/tool[a-z] ^src/vim\.[^h] ^src/vim9