patch 9.2.0410: test suite races when run with parallel make
Commit:
https://github.com/vim/vim/commit/6146f3382fcf295bdf7bdfab071e36a6410d14ca
Author: Jesse Rosenstock <[email protected]>
Date: Tue Apr 28 19:23:41 2026 +0000
patch 9.2.0410: test suite races when run with parallel make
Problem: Running "make test" with -jN causes spurious failures because
the old-style tests share filenames (test.ok, test.out, X*,
viminfo) in the working directory.
Solution: Add .NOTPARALLEL to the testdir Makefile to prevent parallel
execution of tests (Jesse Rosenstock).
closes: #20082
Co-authored-by: Gemini
Signed-off-by: Jesse Rosenstock <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index 2e1d900b8..181dee36c 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -2,6 +2,11 @@
# Makefile to run all tests for Vim
#
+# The old-style tests (*.in) use shared filenames in the working directory
+# (test.ok, test.out, X*, viminfo), so running them in parallel causes races
+# and spurious failures.
+.NOTPARALLEL:
+
# Use console or GUI.
VIMPROG = ../vim
XXDPROG = ../xxd/xxd
diff --git a/src/version.c b/src/version.c
index c1b9f298a..a19d721d7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 410,
/**/
409,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1wHoMi-006Aev-GF%40256bit.org.