diff options
author | Sven Gothel <[email protected]> | 2014-05-10 01:32:15 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-05-10 01:32:15 +0200 |
commit | a503ff720300362e68fd2868f2e87d731492bc46 (patch) | |
tree | 405cb544a6e639d44a0566f6b0df4faf3ae36b60 /test/com/jogamp/opencl/CLProgramTest.java | |
parent | f0620f1ae26a5cbdf55c9671de12f460fde179c4 (diff) |
Bug 978: Promote whether a test shall fail due to unavailable CL driver in base UITest class.
Diffstat (limited to 'test/com/jogamp/opencl/CLProgramTest.java')
-rw-r--r-- | test/com/jogamp/opencl/CLProgramTest.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/com/jogamp/opencl/CLProgramTest.java b/test/com/jogamp/opencl/CLProgramTest.java index 7a56a939..cf74f4f2 100644 --- a/test/com/jogamp/opencl/CLProgramTest.java +++ b/test/com/jogamp/opencl/CLProgramTest.java @@ -79,8 +79,6 @@ public class CLProgramTest extends UITestCase { public void rebuildProgramTest() throws IOException { out.println(" - - - CLProgramTest; rebuild program test - - - "); - if(MiscUtils.isOpenCLUnavailable()) - return; CLContext context = CLContext.create(); CLProgram program = context.createProgram(getClass().getResourceAsStream("testkernels.cl")); @@ -124,8 +122,6 @@ public class CLProgramTest extends UITestCase { public void programBinariesTest() throws IOException { out.println(" - - - CLProgramTest; down-/upload binaries test - - - "); - if(MiscUtils.isOpenCLUnavailable()) - return; CLContext context = CLContext.create(); CLProgram program = context.createProgram(getClass().getResourceAsStream("testkernels.cl")) @@ -207,8 +203,6 @@ public class CLProgramTest extends UITestCase { @Test public void builderTest() throws IOException, ClassNotFoundException, InterruptedException { out.println(" - - - CLProgramTest; program builder test - - - "); - if(MiscUtils.isOpenCLUnavailable()) - return; CLContext context = CLContext.create(); CLProgram program = context.createProgram(getClass().getResourceAsStream("testkernels.cl")); @@ -290,10 +284,6 @@ public class CLProgramTest extends UITestCase { @Test public void kernelTest() { - - if(MiscUtils.isOpenCLUnavailable()) - return; - String source = "__attribute__((reqd_work_group_size(1, 1, 1))) kernel void foo(float a, int b, short c) { }\n"; CLContext context = CLContext.create(); @@ -342,9 +332,6 @@ public class CLProgramTest extends UITestCase { @Test public void createAllKernelsTest() { - if(MiscUtils.isOpenCLUnavailable()) - return; - String source = "kernel void foo(int a) { }\n"+ "kernel void bar(float b) { }\n"; |