aboutsummaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/CLProgramTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/com/jogamp/opencl/CLProgramTest.java')
-rw-r--r--test/com/jogamp/opencl/CLProgramTest.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/com/jogamp/opencl/CLProgramTest.java b/test/com/jogamp/opencl/CLProgramTest.java
index b25230f8..fd98e78e 100644
--- a/test/com/jogamp/opencl/CLProgramTest.java
+++ b/test/com/jogamp/opencl/CLProgramTest.java
@@ -189,7 +189,7 @@ public class CLProgramTest {
.withDefine("ENABLE_FOOBAR");
out.println(builder);
-
+
// async build test
{
final CountDownLatch countdown = new CountDownLatch(1);
@@ -233,7 +233,7 @@ public class CLProgramTest {
program = programConfig.build();
assertTrue(program.isExecutable());
-
+
// cloneing
assertEquals(builder, builder.clone());
@@ -277,5 +277,13 @@ public class CLProgramTest {
}
+// @Test
+ public void loadTest() throws IOException, ClassNotFoundException, InterruptedException {
+ for(int i = 0; i < 100; i++) {
+ rebuildProgramTest();
+ builderTest();
+ programBinariesTest();
+ }
+ }
}