changeset 15410:5d494a1627e0

Ignore unit tests instead of expecting failures.
author Roland Schatz <roland.schatz@oracle.com>
date Mon, 28 Apr 2014 15:57:05 +0200
parents 976c6cb2bf69
children 421a5d2beefe
files graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NewStringEqualsTest.java graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NonEscapingNewObjWithArrayTest.java
diffstat 2 files changed, 16 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NewStringEqualsTest.java	Sun Apr 13 22:55:23 2014 +0200
+++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NewStringEqualsTest.java	Mon Apr 28 15:57:05 2014 +0200
@@ -23,8 +23,9 @@
 
 package com.oracle.graal.compiler.hsail.test.lambda;
 
-import com.oracle.graal.compiler.hsail.test.infra.GraalKernelTester;
-import org.junit.Test;
+import org.junit.*;
+
+import com.oracle.graal.compiler.hsail.test.infra.*;
 
 /**
  * Tests creating a String and calling .equals() on it.
@@ -60,12 +61,14 @@
     }
 
     // NYI emitForeignCall charAlignedDisjointArraycopy
-    @Test(expected = com.oracle.graal.graph.GraalInternalError.class)
+    @Ignore
+    @Test
     public void test() {
         testGeneratedHsail();
     }
 
-    @Test(expected = com.oracle.graal.graph.GraalInternalError.class)
+    @Ignore
+    @Test
     public void testUsingLambdaMethod() {
         testGeneratedHsailUsingLambdaMethod();
     }
--- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NonEscapingNewObjWithArrayTest.java	Sun Apr 13 22:55:23 2014 +0200
+++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NonEscapingNewObjWithArrayTest.java	Mon Apr 28 15:57:05 2014 +0200
@@ -23,9 +23,11 @@
 
 package com.oracle.graal.compiler.hsail.test.lambda;
 
-import com.oracle.graal.compiler.hsail.test.infra.GraalKernelTester;
-import org.junit.Test;
-import java.util.Arrays;
+import java.util.*;
+
+import org.junit.*;
+
+import com.oracle.graal.compiler.hsail.test.infra.*;
 
 /**
  * Tests non-escaping object creation and calling a method on it.
@@ -72,12 +74,14 @@
     }
 
     // NYI emitForeignCall floatArraycopy
-    @Test(expected = com.oracle.graal.graph.GraalInternalError.class)
+    @Ignore
+    @Test
     public void test() {
         testGeneratedHsail();
     }
 
-    @Test(expected = com.oracle.graal.graph.GraalInternalError.class)
+    @Ignore
+    @Test
     public void testUsingLambdaMethod() {
         testGeneratedHsailUsingLambdaMethod();
     }