# HG changeset patch # User Doug Simon # Date 1382003338 -7200 # Node ID 458676bcc4e0030130f3643ed7eb04267a32e6ed # Parent 2a833e0d4e0aa82042e42fd1eb5952a5f4cd6944 marked HSAIL tests that rely on unimplemented features diff -r 2a833e0d4e0a -r 458676bcc4e0 graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/FloatSqrtTest.java --- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/FloatSqrtTest.java Thu Oct 17 11:48:31 2013 +0200 +++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/FloatSqrtTest.java Thu Oct 17 11:48:58 2013 +0200 @@ -24,8 +24,12 @@ package com.oracle.graal.compiler.hsail.test; import java.util.*; + import org.junit.*; -import com.oracle.graal.compiler.hsail.test.infra.GraalKernelTester; + +import com.oracle.graal.compiler.hsail.*; +import com.oracle.graal.compiler.hsail.test.infra.*; +import com.oracle.graal.graph.*; /** * Tests floating point square root. @@ -54,7 +58,10 @@ dispatchMethodKernel(64, input, output); } - @Test + /** + * Requires {@link HSAILLIRGenerator#emitDirectCall} to be implemented. + */ + @Test(expected = GraalInternalError.class) public void test() { testGeneratedHsail(); } diff -r 2a833e0d4e0a -r 458676bcc4e0 graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StaticNBodySpillTest.java --- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StaticNBodySpillTest.java Thu Oct 17 11:48:31 2013 +0200 +++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StaticNBodySpillTest.java Thu Oct 17 11:48:58 2013 +0200 @@ -27,7 +27,9 @@ import org.junit.*; -import com.oracle.graal.compiler.hsail.test.infra.GraalKernelTester; +import com.oracle.graal.compiler.hsail.*; +import com.oracle.graal.compiler.hsail.test.infra.*; +import com.oracle.graal.graph.*; /** * This version of NBody causes Graal to generate register spilling code. @@ -96,9 +98,11 @@ } // Marked to only run on hardware until simulator spill bug is fixed. - @Test + /** + * Requires {@link HSAILLIRGenerator#emitDirectCall} to be implemented. + */ + @Test(expected = GraalInternalError.class) public void test() { testGeneratedHsail(); } - } diff -r 2a833e0d4e0a -r 458676bcc4e0 graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StaticNBodyTest.java --- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StaticNBodyTest.java Thu Oct 17 11:48:31 2013 +0200 +++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StaticNBodyTest.java Thu Oct 17 11:48:58 2013 +0200 @@ -26,7 +26,10 @@ import java.util.*; import org.junit.*; -import com.oracle.graal.compiler.hsail.test.infra.GraalKernelTester; + +import com.oracle.graal.compiler.hsail.*; +import com.oracle.graal.compiler.hsail.test.infra.*; +import com.oracle.graal.graph.*; /** * Unit test of NBody demo app. @@ -94,7 +97,10 @@ dispatchMethodKernel(bodies, inxyz, outxyz, invxyz, outvxyz); } - @Test + /** + * Requires {@link HSAILLIRGenerator#emitDirectCall} to be implemented. + */ + @Test(expected = GraalInternalError.class) public void test() { testGeneratedHsail(); } diff -r 2a833e0d4e0a -r 458676bcc4e0 graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StringContainsTest.java --- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StringContainsTest.java Thu Oct 17 11:48:31 2013 +0200 +++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StringContainsTest.java Thu Oct 17 11:48:58 2013 +0200 @@ -24,6 +24,9 @@ package com.oracle.graal.compiler.hsail.test; import com.oracle.graal.compiler.hsail.test.infra.GraalKernelTester; +import com.oracle.graal.graph.*; +import com.oracle.graal.hotspot.hsail.*; + import org.junit.Test; /** @@ -56,7 +59,10 @@ dispatchMethodKernel(NUM, base); } - @Test + /** + * Requires {@link HSAILHotSpotForeignCallsProvider#lookupForeignCall} to be implemented. + */ + @Test(expected = GraalInternalError.class) public void test() { testGeneratedHsail(); } diff -r 2a833e0d4e0a -r 458676bcc4e0 graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StringIndexOfTest.java --- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StringIndexOfTest.java Thu Oct 17 11:48:31 2013 +0200 +++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StringIndexOfTest.java Thu Oct 17 11:48:58 2013 +0200 @@ -24,6 +24,9 @@ package com.oracle.graal.compiler.hsail.test; import com.oracle.graal.compiler.hsail.test.infra.GraalKernelTester; +import com.oracle.graal.graph.*; +import com.oracle.graal.hotspot.hsail.*; + import org.junit.Test; /** @@ -56,7 +59,10 @@ dispatchMethodKernel(NUM, base); } - @Test + /** + * Requires {@link HSAILHotSpotForeignCallsProvider#lookupForeignCall} to be implemented. + */ + @Test(expected = GraalInternalError.class) public void test() { testGeneratedHsail(); }