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 <jmr@google.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Jesse Rosenstock
2026-04-28 19:23:41 +00:00
committed by Christian Brabandt
parent 30b4240730
commit 6146f3382f
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -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
+2
View File
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
410,
/**/
409,
/**/