Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasi: skips fd_readdir until fixed upstream #1098

Merged
merged 3 commits into from
Feb 5, 2023
Merged

Conversation

codefromthecrypt
Copy link
Contributor

The current fd_readdir test is invalid as it requires dot and dot-dot entries, which both aren't required by POSIX nor returned by go. Once this is addressed upstream, we can remove the skip.

See WebAssembly/wasi-testsuite#52
See #1036

The current fd_readdir test is invalid as it requires dot and dot-dot
entries, which both aren't required by POSIX nor returned by go. Once
this is addressed upstream, we can remove the skip.

See WebAssembly/wasi-testsuite#52
See #1036

Signed-off-by: Adrian Cole <[email protected]>
Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt
Copy link
Contributor Author

the testsuite repo is overlapping the wazero mount so not finding the exclude. I'll move it to the testsuite fork..

Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt
Copy link
Contributor Author

ok finally works! technically, we aren't losing any coverage because we have a lot of tests around fd_readdir including various cookie positions, due to the work in support of PDFium.

Suite: WASI Rust tests
  Total: 11
  Passed:  7
  Failed:  3
  Skipped: 1

@codefromthecrypt
Copy link
Contributor Author

codefromthecrypt commented Feb 5, 2023

specifically, we have stat and entries tests for zig, clang, rust and go (GOOS=js) in our normal test tree, plus the zig integration tests, and when tinygo implements readdir we'll have those as well.

@codefromthecrypt codefromthecrypt merged commit 1421e10 into main Feb 5, 2023
@codefromthecrypt codefromthecrypt deleted the skip-readdir branch February 5, 2023 08:17
@codefromthecrypt
Copy link
Contributor Author

so, we are down to 3 legit failures from wasi-testsuite, now. We promised to pass all or have a very good reason for why not, so I think we're on track for this commitment by next version.

evacchi pushed a commit to evacchi/wasi-testsuite that referenced this pull request Aug 22, 2023
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