Skip to content

Commit 903df9d

Browse files
committed
avoid running Richards in AArch64
testRichardsInParallelInMultipleContexts
1 parent 25e94ef commit 903df9d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

graalpython/com.oracle.graal.python.test.integration/src/com/oracle/graal/python/test/integration/PythonTests.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2024, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2025, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.
@@ -259,4 +259,12 @@ public static Source getScriptSource(String name) {
259259
throw new RuntimeException(e);
260260
}
261261
}
262+
263+
public static boolean isMacOS() {
264+
return System.getProperty("os.name").toLowerCase().contains("mac");
265+
}
266+
267+
public static boolean isAArch64() {
268+
return System.getProperty("os.arch").toLowerCase().contains("aarch64");
269+
}
262270
}

graalpython/com.oracle.graal.python.test.integration/src/com/oracle/graal/python/test/integration/engine/SharedEngineMultithreadingBenchmarkTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
public class SharedEngineMultithreadingBenchmarkTest extends SharedEngineMultithreadingTestBase {
5555
@BeforeClass
5656
public static void setUpClass() {
57-
Assume.assumeFalse(System.getProperty("os.name").toLowerCase().contains("mac"));
57+
Assume.assumeFalse(isMacOS() || isAArch64());
5858
}
5959

6060
@Test

0 commit comments

Comments
 (0)