29package com.jogamp.opengl.test.junit.jogl.acore;
31import java.io.IOException;
33import com.jogamp.opengl.GLProfile;
36import org.junit.FixMethodOrder;
37import org.junit.runners.MethodSorters;
39import com.jogamp.common.os.Platform;
52@FixMethodOrder(MethodSorters.NAME_ASCENDING)
54 static boolean mainRun =
false;
57 public
void test02TwoThreads() throws InterruptedException {
59 System.err.println(
"Disabled for auto unit test until further analysis - Windows/ATI driver crash");
62 runJOGLTasks(2,
false);
66 public
void test02FourThreads() throws InterruptedException {
68 System.err.println(
"Disabled for auto unit test until further analysis - Windows/ATI driver crash");
71 runJOGLTasks(4,
false);
75 public
void test16SixteenThreads() throws InterruptedException {
77 System.err.println(
"Disabled for auto unit test until further analysis - Windows/ATI driver crash");
80 if( Platform.getCPUFamily() != Platform.CPUFamily.ARM &&
81 Platform.getOSType() != Platform.OSType.WINDOWS ) {
82 runJOGLTasks(16,
false);
84 runJOGLTasks( 6,
false);
88 public static void main(
final String args[])
throws IOException {
90 for(
int i=0; i<args.length; i++) {
91 if(args[i].equals(
"-normalRun")) {
93 }
else if(args[i].equals(
"-time")) {
96 duration = Integer.parseInt(args[i]);
97 }
catch (
final Exception ex) { ex.printStackTrace(); }
101 org.junit.runner.JUnitCore.
main(tstname);
Concurrent and lock-free initialization and rendering using exclusive NEWT Display EDT instances,...
Concurrent and lock-free initialization and rendering using exclusive NEWT Display EDT instances.
static void main(final String args[])