File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/memory
com.oracle.truffle.tck.tests/src/com/oracle/truffle/tck/tests Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 44
44
import java .nio .charset .StandardCharsets ;
45
45
46
46
import org .junit .Assert ;
47
+ import org .junit .Assume ;
47
48
import org .junit .BeforeClass ;
48
49
import org .junit .Test ;
49
50
@@ -55,6 +56,11 @@ public class ByteArraySupportTest {
55
56
@ BeforeClass
56
57
public static void runWithWeakEncapsulationOnly () {
57
58
TruffleTestAssumptions .assumeWeakEncapsulation ();
59
+
60
+ // combination currently broken GR-68403
61
+ Assume .assumeFalse (TruffleTestAssumptions .isAOT () && TruffleTestAssumptions .isAarch64 ());
62
+
63
+ TruffleTestAssumptions .assumeNotAOT ();
58
64
}
59
65
60
66
@ Test
Original file line number Diff line number Diff line change @@ -119,6 +119,15 @@ public static boolean isExternalIsolate() {
119
119
return externalIsolate ;
120
120
}
121
121
122
+ public static boolean isLinux () {
123
+ return System .getProperty ("os.name" ).toLowerCase ().equals ("linux" );
124
+ }
125
+
126
+ public static boolean isAarch64 () {
127
+ String osArch = System .getProperty ("os.arch" ).toLowerCase ();
128
+ return osArch .equals ("aarch64" ) || osArch .equals ("arm64" ); // some JVMs use arm64
129
+ }
130
+
122
131
public static void assumeAOT () {
123
132
Assume .assumeTrue (aot );
124
133
}
You can’t perform that action at this time.
0 commit comments