[vim/vim] test suite races when run with parallel make (PR #20082)

4 views
Skip to first unread message

Jesse Rosenstock

unread,
Apr 27, 2026, 4:08:12 PM (21 hours ago) Apr 27
to vim/vim, Subscribed

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).

Co-authored-by: Gemini


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20082

Commit Summary

  • ce3b0e9 test suite races when run with parallel make

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20082@github.com>

Christian Brabandt

unread,
Apr 27, 2026, 4:22:19 PM (21 hours ago) Apr 27
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20082)

is this portable?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20082/c4330191556@github.com>

Jesse Rosenstock

unread,
Apr 27, 2026, 4:30:59 PM (21 hours ago) Apr 27
to vim/vim, Subscribed
jmr left a comment (vim/vim#20082)

is this portable?

Yes. In non-GNU make, it will just create a target with no prereqs and an empty recipe.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20082/c4330241407@github.com>

Jesse Rosenstock

unread,
3:42 AM (10 hours ago) 3:42 AM
to vim/vim, Subscribed
jmr left a comment (vim/vim#20082)

Slight correction: -j/.NOTPARALLEL is even in POSIX.1-2024.

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/make.html#:~:text=The%20special%20target%20.NOTPARALLEL%20is%20not%20specified

So more standard than I thought, but still works with older make implementations.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20082/c4333273723@github.com>

Reply all
Reply to author
Forward
0 new messages