Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 21, 2025

It should be fine for all parallel tests to using the same TEMP_DIR.

The only limitation is on tests that use the canonical test directory (e.g. EMCC_DEBUG).

It looks like we used to use a unique temp directory per process (See #6150). However that we changes to one-directory-per-test in #18214, although I don't remember why.

With this change we don't create a new temp directory except for tests that are marked as uses_canonical_tmp

It should be fine for all parallel tests to using the same TEMP_DIR.

The only limitation is on tests that use the canonical test directory
(e.g. EMCC_DEBUG).

It looks like we used to use a unique temp directory per process (See emscripten-core#6150).
However that we changes to one-directory-per-test in emscripten-core#18214, although
I don't remember why.

With this change we don't create a new temp directory except for tests
that are marked as `uses_canonical_tmp`
@sbc100 sbc100 force-pushed the temp_temp_dir_clean branch from 9fc5106 to ca6adaa Compare October 21, 2025 23:17
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.

1 participant