alexcrichton requested wasmtime-fuzz-reviewers for a review on PR #9627.
alexcrichton opened PR #9627 from alexcrichton:refactor-wasmtime-test
to bytecodealliance:main
:
Start tests with a blank slate of features instead of with the default set of features enables (ensures each test explicitly specifies required features)
Reuse test features from
wasmtime_wast_util
to avoid duplicating listings of features. Also shares logic for "should this compiler fail this test because of unsupported features".Move logic in
tests/wast.rs
to apply test configuration to aConfig
to a new location that can be shared across suites.Add a new feature for
simd
and flag tests that need it with the feature.This is done in preparation for adding a new compiler strategy of Pulley to be able to flag tests as passing for pulley or not.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested pchickey for a review on PR #9627.
alexcrichton requested wasmtime-core-reviewers for a review on PR #9627.
alexcrichton requested wasmtime-default-reviewers for a review on PR #9627.
abrown created PR review comment:
Maybe this should be
#[should_panic]
? I get that this keeps the original behavior but more just wondering: if we check for panics and then it stops panicking then we know more quickly which Winch tests can be enabled.
abrown submitted PR review:
This improvement looks good!
github-actions[bot] commented on PR #9627:
Subscribe to Label Action
cc @fitzgen
<details>
This issue or pull request has been labeled: "fuzzing"Thus the following users have been cc'd because of the following labels:
- fitzgen: fuzzing
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
alexcrichton updated PR #9627.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Good point! Works well :+1:
alexcrichton has enabled auto merge for PR #9627.
alexcrichton merged PR #9627.
Last updated: Nov 22 2024 at 17:03 UTC