Skip to content

Commit dfda391

Browse files
committed
Revert "test: skip mutable-global-sharing wpt on big-endian platforms"
This reverts commit 643faf0.
1 parent 643faf0 commit dfda391

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

test/wpt/status/wasm/jsapi.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
]
1313
}
1414
},
15-
"esm-integration/mutable-global-sharing.tentative.any.js": {
16-
"skip": "v128 SIMD globals broken on big-endian platforms due to a V8 bug"
17-
},
1815
"esm-integration/v128-tdz.tentative.any.js": {
1916
"skip": "v128 undefined Wasm bindings not yet supported in V8"
2017
},

test/wpt/test-wasm-jsapi.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,14 @@ if (supportsSimd) {
1818
const runner = new WPTRunner('wasm/jsapi');
1919
runner.setFlags(['--experimental-wasm-modules']);
2020

21+
// v128 SIMD globals are broken on s390x due to a V8 big-endian bug.
22+
if (process.arch === 's390x') {
23+
for (const spec of runner.specs) {
24+
if (spec.filename === 'esm-integration/mutable-global-sharing.tentative.any.js') {
25+
spec.skipReasons.push('v128 SIMD globals broken on s390x due to V8 big-endian bug');
26+
}
27+
}
28+
}
29+
2130
runner.runJsTests();
2231
}

0 commit comments

Comments
 (0)