Stream: git-wasmtime

Topic: wasmtime / PR #8598 Move wast tests to their own test suite


view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 00:16):

alexcrichton requested elliottt for a review on PR #8598.

view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 00:16):

alexcrichton opened PR #8598 from alexcrichton:custom-wast-harness to bytecodealliance:main:

This commit moves testing of *.wast files out of the all test suite binary and into its own separate binary. The motivation for this is well-described in #4861 with one of the chief reasons being that if the test suite is run and then a new file is added re-running the test suite won't see the file.

The libtest-mimic crate provides an easy way of regaining most of the features of the libtest harness such as parallel test execution and filters, meaning that it's pretty easy to switch everything over. The only slightly-tricky bit was redoing the filter for whether a test is ignored or not, but most of the pieces were copied over from the previous build.rs logic.

Closes #4861

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 00:16):

alexcrichton requested wasmtime-default-reviewers for a review on PR #8598.

view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 00:16):

alexcrichton requested wasmtime-core-reviewers for a review on PR #8598.

view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 00:41):

alexcrichton updated PR #8598.

view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 20:58):

jameysharp submitted PR review:

Oh I am excited for this. Thank you for doing it!

view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 20:58):

jameysharp submitted PR review:

Oh I am excited for this. Thank you for doing it!

view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 20:58):

jameysharp created PR review comment:

If all tests are ignored on miri, can we just avoid constructing any trials in the first place?

view this post on Zulip Wasmtime GitHub notifications bot (May 12 2024 at 20:58):

jameysharp created PR review comment:

What happened to the indentation here? Anyway, can I suggest either using ["references", "tail-call", ...].contains(part) or match part { "references" | "tail-call" | ... }, with the starts_with cases separate?

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2024 at 15:41):

alexcrichton updated PR #8598.

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2024 at 15:42):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2024 at 15:42):

alexcrichton created PR review comment:

Looks like some hard tabs snuck in by accident and rustfmt gives up in comments-interleaved-in-if condition. In any case your suggestion is much better!

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2024 at 15:42):

alexcrichton has enabled auto merge for PR #8598.

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2024 at 16:21):

alexcrichton merged PR #8598.


Last updated: Nov 22 2024 at 16:03 UTC