spec icon indicating copy to clipboard operation
spec copied to clipboard

Use node-canary to run interpreter-generated JS tests

Open sbc100 opened this issue 1 year ago • 6 comments

sbc100 avatar Oct 11 '24 23:10 sbc100

Don't we need an opt-out mechanism to be able to land tests that node/V8 doesn't currently pass?

backes avatar Oct 14 '24 10:10 backes

Don't we need an opt-out mechanism to be able to land tests that node/V8 doesn't currently pass?

Yes, good point. The comment I'm replacing here seems to suggest that just commenting this line out with a TODO is one way to skip these days when working on such a proposal.

Perhaps we should separate the "run tests in interp" and "run tests under node/v8" so that its easy to comment out just the later?

sbc100 avatar Oct 14 '24 22:10 sbc100

Yeah, I see that it's quite some work, but I think long-term we really need to be able to skip individual tests. Otherwise we always have the risk of introducing bigger problems like https://github.com/WebAssembly/spec/issues/1828.

Splitting is at least a step in the right direction, but would not have prevented https://github.com/WebAssembly/spec/issues/1828.

backes avatar Oct 15 '24 10:10 backes

@backes:

Splitting is at least a step in the right direction

Not sure I see how. AFAICS, it does not bring us any closer. I mean, I'm not opposed, but I don't think it makes a difference one way or the other, other than complicating the test runner in different ways.

In any case, I think neither should block the current PR, which still is a net improvement.

rossberg avatar Oct 15 '24 10:10 rossberg

It seems like ref_null.wast is failing under node, @backes do you know if this is know failure of current v8 against the wasm-3.0 spec tests?

sbc100 avatar Oct 16 '24 22:10 sbc100

Apparently there is a fix in v8 that landed just this morning that might be fix this, so I guess we are already running into the issue of needing to selectively disable tests. I'll give this PR another try once a new node-canary is published.

sbc100 avatar Oct 16 '24 23:10 sbc100

@sbc100, this PR is stale. What's the status?

rossberg avatar Sep 11 '25 05:09 rossberg

Closing as inactive.

sbc100 avatar Sep 11 '25 18:09 sbc100