From a503ff720300362e68fd2868f2e87d731492bc46 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 10 May 2014 01:32:15 +0200 Subject: Bug 978: Promote whether a test shall fail due to unavailable CL driver in base UITest class. --- test/com/jogamp/opencl/CLImageTest.java | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'test/com/jogamp/opencl/CLImageTest.java') diff --git a/test/com/jogamp/opencl/CLImageTest.java b/test/com/jogamp/opencl/CLImageTest.java index 26e53ed2..5f5c0503 100644 --- a/test/com/jogamp/opencl/CLImageTest.java +++ b/test/com/jogamp/opencl/CLImageTest.java @@ -84,9 +84,6 @@ public class CLImageTest extends UITestCase { @Test public void supportedImageFormatsTest() { - if(MiscUtils.isOpenCLUnavailable()) - return; - CLDevice device = getCompatibleDevice(); if(device == null) { out.println("WARNING: can not test image api."); @@ -109,10 +106,6 @@ public class CLImageTest extends UITestCase { @Test public void image2dCopyTest() throws IOException { - - if(MiscUtils.isOpenCLUnavailable()) - return; - CLDevice device = getCompatibleDevice(); if(device == null) { out.println("WARNING: can not test image api."); @@ -148,10 +141,6 @@ public class CLImageTest extends UITestCase { @Test public void image2dKernelCopyTest() throws IOException { - - if(MiscUtils.isOpenCLUnavailable()) - return; - CLDevice device = getCompatibleDevice(); if(device == null) { out.println("WARNING: can not test image api."); -- cgit v1.2.3