Skip to content

Update testsuite - #1738

Merged
sbc100 merged 1 commit into
mainfrom
update_testsuite
Oct 18, 2021
Merged

sbc100 merged 1 commit into
mainfrom
update_testsuite

Conversation

@sbc100

@sbc100 sbc100 commented Oct 15, 2021 •

Copy link
Copy Markdown
Member

bulk-memory-operations and reference-types were completely
removed from the upstream testsuite becuase there were
merged into the upstream spec:

WebAssembly/testsuite#44

In order to land this I had to disable several spec tests
under wasm2c because it lacks support for mutli-table and
reference types. I filed #1737 to track this.

@sbc100
sbc100 requested review from kripken and ngzhian October 15, 2021 01:28

@ngzhian ngzhian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to mark a test as FAILING rather than deleting it? Seems like we might accidentally forget to add those tests back in.

Comment thread src/c-writer.cc
for (const ElemSegment* elem_segment : module_->elem_segments) {
if (elem_segment->kind == SegmentKind::Passive) {
continue;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it might conflict with #1721 (same file altered, diff is extremely close and might overlap) so we should coordinate with @shravanrn

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is very minor. It should be pretty trivial to replicate (or deal with any merge conflicts).

@sbc100

sbc100 commented Oct 15, 2021

Copy link
Copy Markdown
Member Author

Is there a way to mark a test as FAILING rather than deleting it? Seems like we might accidentally forget to add those tests back in.

Not that I know of no.

@sbc100

sbc100 commented Oct 15, 2021

Copy link
Copy Markdown
Member Author

Is there a way to mark a test as FAILING rather than deleting it? Seems like we might accidentally forget to add those tests back in.

Not that I know of no.

Thats why I open a bug and listed all the tests I was forced to delete.

@ngzhian ngzhian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM since we have that bug, and also the conflict is minor. (btw any plans to keep up to date with multi table and ref types?)

@ngzhian

ngzhian commented Oct 15, 2021

Copy link
Copy Markdown
Member

Is there a way to mark a test as FAILING rather than deleting it? Seems like we might accidentally forget to add those tests back in.

Not that I know of no.

Thats why I open a bug and listed all the tests I was forced to delete.

Dk if this feature will be useful, but yea that tracking bug works, thanks!

@sbc100

sbc100 commented Oct 15, 2021

Copy link
Copy Markdown
Member Author

Is there a way to mark a test as FAILING rather than deleting it? Seems like we might accidentally forget to add those tests back in.

Not that I know of no.

Thats why I open a bug and listed all the tests I was forced to delete.

Dk if this feature will be useful, but yea that tracking bug works, thanks!

Actually I forgot to run ./test/update-spec-tests.py during this change so its not ready to land yet.

Also ./test/update-spec-tests.py recreates all the removed tests so its pretty clear which ones are missing and easy to re-create them once we add these features to wasm2c.

@sbc100 sbc100 changed the title Update testsuite [WIP] Update testsuite Oct 18, 2021
bulk-memory-operations and reference-types were completely
removed from the upstream testsuite becuase there were
merged into the upstream spec:

WebAssembly/testsuite#44

In order to land this I had to disable several spec tests
under wasm2c because it lacks support for mutli-table and
reference types.  I files
#1737 to track this.
@sbc100 sbc100 changed the title [WIP] Update testsuite Update testsuite Oct 18, 2021
@sbc100
sbc100 merged commit 61be173 into main Oct 18, 2021
@sbc100
sbc100 deleted the update_testsuite branch October 18, 2021 18:55
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.

3 participants