feat: add musl libc-test conformance suite, rename posix-* to os-test-*#56
Merged
NathanFlurry merged 1 commit intomainfrom Mar 28, 2026
Merged
feat: add musl libc-test conformance suite, rename posix-* to os-test-*#56NathanFlurry merged 1 commit intomainfrom
NathanFlurry merged 1 commit intomainfrom
Conversation
…est-* Rename existing POSIX conformance infrastructure to os-test-* to reflect the actual test suite name (Sortix os-test). Add musl libc-test as a second conformance suite that tests kernel-level behavior (file locking, stat edge cases, socket operations) rather than just libc function correctness. - Rename posix-conformance → os-test-conformance across all files - Rename posix-exclusion-schema → conformance-exclusion-schema (shared) - Add import, build, test, validate, and report infrastructure for libc-test - 75 libc-test programs compile for WASM, 69 pass (92.0%) - 6 exclusions: 4 wasm-limitation (dlopen/TLS), 1 wasi-gap (statvfs), 1 implementation-gap (strptime)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
posix-exclusion-schema.ts→conformance-exclusion-schema.ts, used by both suiteslibc-test results
New files
scripts/import-libc-test.ts— fetch from Bytecode Alliance mirrornative/wasmvm/c/Makefile—libc-testandlibc-test-nativetargetspackages/wasmvm/test/libc-test-conformance.test.ts— test runnerpackages/wasmvm/test/libc-test-exclusions.json— 6 exclusionsscripts/generate-libc-test-report.ts/validate-libc-test-exclusions.ts.github/workflows/libc-test-conformance.ymldocs/libc-test-conformance-report.mdx(auto-generated)Test plan
🤖 Generated with Claude Code