aboutsummaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl
diff options
context:
space:
mode:
Diffstat (limited to 'test/com/jogamp/opencl')
-rw-r--r--test/com/jogamp/opencl/CLCommandQueueTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/com/jogamp/opencl/CLCommandQueueTest.java b/test/com/jogamp/opencl/CLCommandQueueTest.java
index f5438d40..57689818 100644
--- a/test/com/jogamp/opencl/CLCommandQueueTest.java
+++ b/test/com/jogamp/opencl/CLCommandQueueTest.java
@@ -59,8 +59,9 @@ import static com.jogamp.opencl.CLCommandQueue.Mode.*;
*/
public class CLCommandQueueTest {
+ @SuppressWarnings("deprecation")
@Rule
- public MethodRule methodTimeout= new Timeout(20000);
+ public MethodRule methodTimeout= (MethodRule) new Timeout(20000);
@Test
public void enumsTest() {
@@ -499,7 +500,9 @@ public class CLCommandQueueTest {
checkIfEqual(clBufferC.buffer, clBufferD.buffer, elements);
out.println("results are valid");
- }finally{
+ } catch (Throwable t ) {
+ t.printStackTrace();
+ } finally {
context.release();
}