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

Lines changed: 5 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy