Skip to content

Commit 50388fb

Browse files
Don't try to test crash protection on s390x
1 parent 65e43fb commit 50388fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/com/sun/jna/VMCrashProtectionTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
package com.sun.jna;
2525

2626
import junit.framework.TestCase;
27+
import org.junit.Assume;
2728

2829
public class VMCrashProtectionTest extends TestCase {
2930

@@ -37,6 +38,11 @@ protected void tearDown() {
3738
}
3839

3940
public void testAccessViolation() {
41+
if(Platform.ARCH.equals("s390x")) {
42+
System.out.println("Skipping VMCrashProtectionTest on s390x");
43+
return;
44+
}
45+
4046
if (!Native.isProtected())
4147
return;
4248

0 commit comments

Comments
 (0)