Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Issue 2259693002: [wasm] binary and test for hosts' integration tests (Closed)

Created:
4 years, 4 months ago by Mircea Trofin
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] binary and test for hosts' integration tests Ensure wasm binaries intended to be used in hosts of v8, such as chromium, are up to date. See https://codereview.chromium.org/2255673003/ BUG=v8:5072 Committed: https://crrev.com/93b7251f7482246e9f57ae118295452f4b38dd75 Cr-Commit-Position: refs/heads/master@{#38694}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
A test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js View 1 chunk +18 lines, -0 lines 2 comments Download
A test/mjsunit/wasm/incrementer.wasm View Binary file 0 comments Download

Messages

Total messages: 21 (12 generated)
Mircea Trofin
4 years, 4 months ago (2016-08-18 02:17:39 UTC) #5
bradnelson
lgtm assuming not https://codereview.chromium.org/2259693002/diff/1/test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js File test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js (right): https://codereview.chromium.org/2259693002/diff/1/test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js#newcode10 test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js:10: load('test/mjsunit/mjsunit.js'); This doesn't blow up?
4 years, 4 months ago (2016-08-18 03:14:45 UTC) #9
Mircea Trofin
https://codereview.chromium.org/2259693002/diff/1/test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js File test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js (right): https://codereview.chromium.org/2259693002/diff/1/test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js#newcode10 test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js:10: load('test/mjsunit/mjsunit.js'); On 2016/08/18 03:14:45, bradnelson wrote: > This doesn't ...
4 years, 4 months ago (2016-08-18 03:15:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2259693002/1
4 years, 4 months ago (2016-08-18 03:16:12 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-18 03:18:02 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/93b7251f7482246e9f57ae118295452f4b38dd75 Cr-Commit-Position: refs/heads/master@{#38694}
4 years, 4 months ago (2016-08-18 03:18:26 UTC) #16
bradn
Meant including mjsunit twice, as would presumably happen when run with the usual runner script. ...
4 years, 4 months ago (2016-08-18 03:18:55 UTC) #18
Michael Starzinger
Not a huge fan of having binary files in the repository. Is the plan to ...
4 years, 4 months ago (2016-08-18 07:44:14 UTC) #20
Mircea Trofin
4 years, 4 months ago (2016-08-18 15:08:41 UTC) #21
Message was sent while issue was closed.
On 2016/08/18 07:44:14, Michael Starzinger wrote:
> Not a huge fan of having binary files in the repository. Is the plan to add
more
> .wasm files in the near term?

No preference here for checking in binaries either, just couldn't come up with a
better alternative to the following problem, and needed to make progress - we
can evolve this to a better place if we find a more suitable alternative.

Here's the problem: we want to write integration tests for wasm features that
require changes to chrome, like the compiled module serialization feature. The
wasm format is still in flux. Options considered were:

1) Let chrome tests use a wasm building API (like the one in mjsunit). Problem
is, if we make changes to the APIs, we detect the chrome breakage when we update
Chrome with the latest v8.
2) Check in binaries to chrome. If we change the format, we break chrome just as
above.
3) Current option. If we change the wasm format, we must regen the wasm file to
make the v8 test pass. That CL, then, makes it all or nothing on the chrome
side, seamlessly bringing in the change.

Happy to hear other options!

Thanks,
Mircea.

Powered by Google App Engine
This is Rietveld 408576698