From: Jesse Rosenstock Date: Tue, 28 Apr 2026 19:23:41 +0000 (+0000) Subject: patch 9.2.0410: test suite races when run with parallel make X-Git-Tag: v9.2.0410^0 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6146f3382fcf295bdf7bdfab071e36a6410d14ca;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/src/testdir/Makefile b/src/testdir/Makefile index 2e1d900b88..181dee36cb 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 c1b9f298a8..a19d721d7d 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, /**/