Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Update JS test harnesses to match changes to interpreter harness #86

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

eqrion
Copy link
Contributor

@eqrion eqrion commented Mar 27, 2020

script/js.ml changed and started emitting different JS harness code.
This commit updates sync_index.js and async_index.js to match.

script/js.ml changed and started emitting different JS harness code.
This commit updates sync_index.js and async_index.js to match.
@binji binji requested a review from gahaas March 27, 2020 22:26
@eqrion
Copy link
Contributor Author

eqrion commented Apr 2, 2020

Thanks for the review! Is there something blocking this from landing? CI looks like an unrelated failure.

@rossberg
Copy link
Member

rossberg commented Apr 3, 2020

Sorry, nothing blocking. But I'm not always aware who has commit rights. ;) Landing it.

@rossberg rossberg merged commit c0f30ca into WebAssembly:master Apr 3, 2020
@eqrion
Copy link
Contributor Author

eqrion commented Apr 3, 2020

Sorry, nothing blocking. But I'm not always aware who has commit rights. ;) Landing it.

Not a problem, thanks!

@eqrion eqrion deleted the fix-harness branch April 3, 2020 16:47
rossberg pushed a commit that referenced this pull request May 14, 2020
* Fix expected trap messages.

The spec interpreter says "element segment dropped", rather than
"elements segment dropped".

* Fix "zero len, but dst offset out of bounds" test.

Fix this test to test what it's comment says it's testing.

* Add more tests for zero-length operations.

* Update the Overview text to reflect the zero-length at-the-end semantics.
rossberg pushed a commit that referenced this pull request May 14, 2020
Change the test generators to use `ref.func` and remove `passive`.

At some point we'll want to remove the generators, but for let's try to
maintain them.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants