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

Side by Side Diff: test/mjsunit/wasm/embenchen/box2d.js

Issue 1724043002: Re-enable validation for asm->wasm embechen tests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | test/mjsunit/wasm/embenchen/copy.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Modified embenchen to direct to asm-wasm. 1 // Modified embenchen to direct to asm-wasm.
2 // Flags: --expose-wasm 2 // Flags: --expose-wasm
3 // TODO(mtrofin): Drop when verifier is fixed.
4 // Flags: --noturbo-verify-allocation
5 3
6 var EXPECTED_OUTPUT = 4 var EXPECTED_OUTPUT =
7 /frame averages: .+ \+- .+, range: .+ to .+ \n/; 5 /frame averages: .+ \+- .+, range: .+ to .+ \n/;
8 var Module = { 6 var Module = {
9 arguments: [1], 7 arguments: [1],
10 print: function(x) {Module.printBuffer += x + '\n';}, 8 print: function(x) {Module.printBuffer += x + '\n';},
11 preRun: [function() {Module.printBuffer = ''}], 9 preRun: [function() {Module.printBuffer = ''}],
12 postRun: [function() { 10 postRun: [function() {
13 assertTrue(EXPECTED_OUTPUT.test(Module.printBuffer)); 11 assertTrue(EXPECTED_OUTPUT.test(Module.printBuffer));
14 }], 12 }],
(...skipping 20304 matching lines...) Expand 10 before | Expand all | Expand 10 after
20319 } 20317 }
20320 20318
20321 // shouldRunNow refers to calling main(), not run(). 20319 // shouldRunNow refers to calling main(), not run().
20322 var shouldRunNow = true; 20320 var shouldRunNow = true;
20323 if (Module['noInitialRun']) { 20321 if (Module['noInitialRun']) {
20324 shouldRunNow = false; 20322 shouldRunNow = false;
20325 } 20323 }
20326 20324
20327 20325
20328 run([].concat(Module["arguments"])); 20326 run([].concat(Module["arguments"]));
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/wasm/embenchen/copy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698