Commit bfbabce1 authored by Andreas Haas's avatar Andreas Haas Committed by Commit Bot

Revert "[wasm] Update spec tests"

This CL landed on top of another CL which I want to revert.

This reverts commit 27b0d6a9.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> [wasm] Update spec tests
> 
> Update the spec tests in v8 to the most recent version.
> 
> R=​rossberg@chromium.org
> CC=titzer@chromium.org
> 
> Change-Id: Ib4e809c20150502b131a2c0b68fdb2ede1d5f85f
> Reviewed-on: https://chromium-review.googlesource.com/552155
> Commit-Queue: Andreas Haas <ahaas@chromium.org>
> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
> Reviewed-by: Andreas Rossberg <rossberg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#46346}

TBR=mstarzinger@chromium.org,rossberg@chromium.org,ahaas@chromium.org

Change-Id: I82e4a2887bcb867d3572b78c36a20adc05df0903
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/558040Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46352}
parent 547c5d32
...@@ -40,7 +40,7 @@ deps = { ...@@ -40,7 +40,7 @@ deps = {
"v8/tools/clang": "v8/tools/clang":
Var("chromium_url") + "/chromium/src/tools/clang.git" + "@" + "2023fc2e8eac6c8a6c83786460deb566db1f813d", Var("chromium_url") + "/chromium/src/tools/clang.git" + "@" + "2023fc2e8eac6c8a6c83786460deb566db1f813d",
"v8/test/wasm-js": "v8/test/wasm-js":
Var("chromium_url") + "/external/github.com/WebAssembly/spec.git" + "@" + "aadd3a340c78e53078a7bb6c17cc30f105c2960c", Var("chromium_url") + "/external/github.com/WebAssembly/spec.git" + "@" + "c4774b47d326e4114f96232f1389a555639d7348",
} }
deps_os = { deps_os = {
......
...@@ -54,11 +54,6 @@ var assertSame; ...@@ -54,11 +54,6 @@ var assertSame;
// and the properties of non-Array objects). // and the properties of non-Array objects).
var assertEquals; var assertEquals;
// Expected and found values are not identical primitive values or functions
// or similarly structured objects (checking internal properties
// of, e.g., Number and Date objects, the elements of arrays
// and the properties of non-Array objects).
var assertNotEquals;
// The difference between expected and found value is within certain tolerance. // The difference between expected and found value is within certain tolerance.
var assertEqualsDelta; var assertEqualsDelta;
...@@ -350,12 +345,6 @@ var failWithMessage; ...@@ -350,12 +345,6 @@ var failWithMessage;
} }
}; };
assertNotEquals = function assertNotEquals(expected, found, name_opt) {
if (deepEquals(found, expected)) {
fail("not equals to " + PrettyPrint(expected), found, name_opt);
}
};
assertEqualsDelta = assertEqualsDelta =
function assertEqualsDelta(expected, found, delta, name_opt) { function assertEqualsDelta(expected, found, delta, name_opt) {
......
...@@ -15,9 +15,7 @@ const known_failures = { ...@@ -15,9 +15,7 @@ const known_failures = {
"'WebAssembly.Table.prototype.set' method": "'WebAssembly.Table.prototype.set' method":
'https://bugs.chromium.org/p/v8/issues/detail?id=5507', 'https://bugs.chromium.org/p/v8/issues/detail?id=5507',
"'WebAssembly.Instance.prototype.exports' accessor property": "'WebAssembly.Instance.prototype.exports' accessor property":
'https://bugs.chromium.org/p/v8/issues/detail?id=5507', 'https://bugs.chromium.org/p/v8/issues/detail?id=5507'
"'WebAssembly.Memory.prototype.grow' method":
'https://bugs.chromium.org/p/v8/issues/detail?id=6546'
}; };
let failures = []; let failures = [];
...@@ -63,7 +61,6 @@ function promise_test(func, description) { ...@@ -63,7 +61,6 @@ function promise_test(func, description) {
} }
let assert_equals = assertEquals; let assert_equals = assertEquals;
let assert_not_equals = assertNotEquals;
let assert_true = assertEquals.bind(null, true); let assert_true = assertEquals.bind(null, true);
let assert_false = assertEquals.bind(null, false); let assert_false = assertEquals.bind(null, false);
......
fd32148c2fedcce0828d9ef94b8081a84ff35fa9 6f42a1e559ccf6187f0bddfde47951895d88b327
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment