From 3b3c58780ff74755d2763738fc8abc950e6b4202 Mon Sep 17 00:00:00 2001 From: Wade Walker Date: Tue, 25 Feb 2014 14:56:33 -0600 Subject: Fix new subBufferTest02FloatBuffer() test on Solaris. The new OpenCL isAvailable() didn't make it into this test due to a merge slipup. Change-Id: I049388908b8f2f2869cc018dbf6be86d1a8dcb9d --- test/com/jogamp/opencl/CLBufferTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/com/jogamp/opencl/CLBufferTest.java b/test/com/jogamp/opencl/CLBufferTest.java index 50820d4e..932266f6 100644 --- a/test/com/jogamp/opencl/CLBufferTest.java +++ b/test/com/jogamp/opencl/CLBufferTest.java @@ -306,6 +306,8 @@ public class CLBufferTest extends UITestCase { public void subBufferTest02FloatBuffer() { out.println(" - - - subBufferTest - - - "); + if(MiscUtils.isOpenCLUnavailable()) + return; CLPlatform platform = CLPlatform.getDefault(version(CL_1_1)); if(platform == null) { -- cgit v1.2.3