Skip to content

Commit be49610

Browse files
authored
chore: temporary disable std/math.release.wat check in aarch64 osx (#2856)
1 parent 64cba2e commit be49610

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/compiler.js

+5
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ async function runTest(basename) {
199199
// If a fixture/generated file is missing, false will be compared to a
200200
// string. If both are missing, nothing happens below (as it should).
201201
if (actual !== expected) {
202+
if (filename == "std/math.release.wat" && os.version().startsWith("Darwin Kernel") && os.arch() == "arm64") {
203+
// FIXME: in arm64 macos, binaryen will optimize math.ts with different output.
204+
compareFixture.end(SKIPPED);
205+
return;
206+
}
202207
compareFixture.end(FAILURE);
203208
return prepareResult(FAILURE, "fixture mismatch");
204209
}

0 commit comments

Comments
 (0)