Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Move `shared` tests to separate files

Open
#187 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
wasm
Domain
testing

Research direction

Start by reviewing the shared-memory test sections in test/core/memory.wast, test/core/imports.wast, and test/core/exports.wast, then compare the SIMD test file naming pattern. Done means shared memory tests are isolated in separately named files so engines can filter them without changing unrelated tests.

Written by the indexing model from the issue text.

Description

Currently, this threads proposal repo adds shared memory tests to existing test files in test/core: memory.wast, imports.wast, and exports.wast. For example:

https://github.com/WebAssembly/threads/blob/main/test/core/memory.wast#L9

However, not all wasm engines are expected to implement this threads proposal in its current form, even once it's standardized, some because of the nondeterminism, and some because of the effective dependency on Web Worker-style threads.

Would it make sense to move the tests for shared memory into separate files, so that engines which don't implement shared memories can easily filter them? This would be similar to the SIMD tests, which are all named simd_*.wast.

Dominant language
WebAssembly
Stars
767
Forks
54
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WebAssembly/threads

All issues in WebAssembly/threads

Similar issues

More Testing & QA issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.