aboutsummaryrefslogtreecommitdiffstats
path: root/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-02-21 19:23:52 +0100
committerSven Gothel <[email protected]>2020-02-21 19:23:52 +0100
commitff780fc11602fb79a7ce1dcf879fdaeb865b9fa8 (patch)
tree564828be0d590538cdd3434505f14aa88233f0aa /src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
parentf4f92cdc0eb89c62070a865601527097e6d5cc72 (diff)
Bug 1398: Refine test case: Make classpath and libpath runtime configurable + show JOGL version
Diffstat (limited to 'src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java')
-rw-r--r--src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java b/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
index 65b3d3f59..b887e7428 100644
--- a/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
+++ b/src/test-native/bug1398/Bug1398macOSContextOpsOnMainThread.java
@@ -85,6 +85,13 @@ public class Bug1398macOSContextOpsOnMainThread extends JFrame implements GLEven
}
});
animator.start();
+
+ try {
+ Thread.sleep(1000);
+ } catch (Exception e) {}
+
+ animator.stop();
+ System.exit(0);
}
/**