Skip to content

test: Update wasi-testsuite to the latest prebuilt tests - #33

Merged
krodak merged 2 commits into
swiftwasm:mainfrom
PassiveLogic:test/update-wasi-testsuite
Oct 7, 2026
Merged

krodak merged 2 commits into
swiftwasm:mainfrom
PassiveLogic:test/update-wasi-testsuite

Conversation

@krodak

@krodak krodak commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Update wasi-testsuite to the latest prebuilt tests, as suggested in #32. The prebuilt binaries now live on the prod/testsuite-base branch.

The new layout needed a small runner change: tests are in a wasm32-wasip1 folder, and configs give a root folder to preopen as /. The runner also checks stdout and stderr when a config states them.

Most new upstream tests are for preview2 and preview3, which uwasi doesn't support. Everything passes on main.

Test Plan

  • npm run build and npm test pass.

Krzysztof Rodak added 2 commits October 7, 2026 15:39
Move the submodule to the head of prod/testsuite-base, where wasi-testsuite
now publishes its prebuilt binaries, and record that branch in
.gitmodules so that `git submodule update --remote` follows it.

The runner follows the new layout: each suite's preview1 binaries are in
a wasm32-wasip1 directory, and a test's config names a `root` directory
to preopen as the guest's "/", in place of `dirs`. It also checks stdout
and stderr when a config states them.
CI and contributors check out the recorded commit, so the setting only affected `git submodule update --remote`.
@krodak
krodak force-pushed the test/update-wasi-testsuite branch from 6ece7fa to ee7caf7 Compare October 7, 2026 13:39
@krodak
krodak merged commit 26af6eb into swiftwasm:main Oct 7, 2026
1 check passed
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