diff options
author | Sven Gothel <[email protected]> | 2013-11-06 18:32:35 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-11-06 18:32:35 +0100 |
commit | aeae8452115b10c3d54a9836159a8a7d8b5520f8 (patch) | |
tree | af83c8dd4e81770f276482f1ca489e20e365b78b /src/test/com/jogamp/opengl | |
parent | 10fee84d50d1085d977aab413dd446834798e009 (diff) |
TestPerf001GLWindowInit03NEWT: Don't run !reuse Display - Crash on Windows/ATI driver ..
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLWindowInit03NEWT.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLWindowInit03NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLWindowInit03NEWT.java index ce93b2615..4915cffa6 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLWindowInit03NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLWindowInit03NEWT.java @@ -149,6 +149,10 @@ public class TestPerf001GLWindowInit03NEWT extends UITestCase { @Test public void test01NopGLWindowNoReuse() throws InterruptedException, InvocationTargetException { + if(!mainRun) { + System.err.println("Disabled for auto unit test until further analysis - Windows/ATI driver crash"); + return; + } test(new GLCapabilities(null), false /*useGears*/, width, height , frameCount, false /* reuseDevice */); } @Test @@ -157,12 +161,13 @@ public class TestPerf001GLWindowInit03NEWT extends UITestCase { } static long duration = 0; // ms - static boolean wait = false; + static boolean wait = false, mainRun = false; static int width = 800, height = 600, frameCount = 25; volatile int initCount = 0; public static void main(String[] args) { + mainRun = true; boolean useGears = false, manual=false; boolean waitMain = false; |