Skip to content

test(stdune): add spawn test suite - #15476

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-wlvztzmqxpun
Jul 12, 2026
Merged

test(stdune): add spawn test suite#15476
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-wlvztzmqxpun

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Port the upstream spawn tests into stdune, preserving the upstream test
directory layout for helpers and pgid checks.

This covers cwd handling, environment passing, process groups, close-on-exec
stdout inheritance, relative programs, and sigprocmask behavior.

Signed-off-by: Rudi Grinberg me@rgrinberg.com

Port the upstream spawn tests into stdune, preserving the upstream test
directory layout for helpers and pgid checks.

This covers cwd handling, environment passing, process groups, close-on-exec
stdout inheritance, relative programs, and sigprocmask behavior.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg
rgrinberg force-pushed the push-wlvztzmqxpun branch from 7e9234c to d365b8b Compare July 12, 2026 11:42
@Alizter

Alizter commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Can you add runtest to runtest-windows too so we run on Win?

@rgrinberg

rgrinberg commented Jul 12, 2026

Copy link
Copy Markdown
Member Author

Let me try doing that in a separate PR. If the tests fail on windows, it will bog this work down. Before this PR, there was 0 testing on windows anyway.

@rgrinberg
rgrinberg merged commit 3fd31f9 into ocaml:main Jul 12, 2026
36 checks passed
@Alizter Alizter added this to the 3.25.0 milestone Jul 13, 2026
@rgrinberg

Copy link
Copy Markdown
Member Author

Turns the tests don't yet work on Windows #15482

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants