summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-05-13 22:17:34 +0200
committerSven Gothel <[email protected]>2012-05-13 22:17:34 +0200
commit212cd096e2c1d92b565cf60dd4c3714f59a07d9e (patch)
treeaa58b8d86d22c4b77e88c560cf0580294aa1dde0
parent259135870a857bfa3743bf1aa8ae424ced46212d (diff)
TestGLContextSurfaceLockNEWT: Add GLWindow destroy @ test end
-rwxr-xr-xmake/scripts/tests.sh2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLContextSurfaceLockNEWT.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index 3f178ec96..c9615dd8b 100755
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -230,7 +230,7 @@ testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestGLContextSurfaceLockNEWT $
#testnoawt com.jogamp.opengl.test.junit.jogl.demos.gl2.newt.TestGearsNEWT $*
#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es1.newt.TestGearsES1NEWT $*
#testawt com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT $*
-testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT $*
+#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT $*
#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es1.newt.TestRedSquareES1NEWT $*
#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestRedSquareES2NEWT $*
#testnoawt com.jogamp.opengl.test.junit.newt.TestWindows01NEWT $*
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLContextSurfaceLockNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLContextSurfaceLockNEWT.java
index 4b019d9be..78988c0e5 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLContextSurfaceLockNEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLContextSurfaceLockNEWT.java
@@ -195,6 +195,8 @@ public class TestGLContextSurfaceLockNEWT extends UITestCase {
Thread.sleep(100);
i++;
}
+
+ glWindow.destroy();
}
@Test