aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-09 18:57:50 +0100
committerSven Gothel <[email protected]>2012-01-09 18:57:50 +0100
commit96d07ce5f42107fe052080101e6af425c2bdec5b (patch)
tree899cc3c52d81386052eb97e4ea2669ba6b810217 /make/scripts
parent1e7d41372073d07a3662df4e646d63da4ebf2478 (diff)
Add JOGL SWT GLCanvas unit test
Diffstat (limited to 'make/scripts')
-rwxr-xr-xmake/scripts/tests.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index 9667fdcd2..fb9c4c410 100755
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -56,7 +56,7 @@ function jrun() {
#D_ARGS="-Dnewt.debug.MainThread"
#D_ARGS="-Djogl.debug=all -Dnativewindow.debug=all"
#D_ARGS="-Djogl.debug=all"
- D_ARGS="-Djogl.debug.GLCanvas -Djogl.debug.Animator -Djogl.debug.GLDrawable -Djogl.debug.GLContext -Djogl.debug.GLContext.TraceSwitch"
+ #D_ARGS="-Djogl.debug.GLCanvas -Djogl.debug.Animator -Djogl.debug.GLDrawable -Djogl.debug.GLContext -Djogl.debug.GLContext.TraceSwitch"
#D_ARGS="-Djogl.debug.GLContext -Djogl.debug.ExtensionAvailabilityCache"
#D_ARGS="-Djogl.debug.GLContext -Djogl.debug.GLProfile -Djogl.debug.GLDrawable"
#D_ARGS="-Djogl.debug.GLProfile"
@@ -125,9 +125,12 @@ function jrun() {
X_ARGS="-Djava.awt.headless=false"
else
export CLASSPATH=$JOGAMP_ALL_NOAWT_CLASSPATH
- echo CLASSPATH $CLASSPATH
X_ARGS="-Djava.awt.headless=true"
fi
+ if [ $swton -eq 1 ] ; then
+ export CLASSPATH=$CLASSPATH:$JOGL_SWT_CLASSPATH
+ fi
+ echo CLASSPATH $CLASSPATH
if [ $MOSX_MT -eq 1 ] ; then
X_ARGS="-XstartOnFirstThread $X_ARGS"
if [ $swton -eq 0 ] ; then
@@ -241,11 +244,13 @@ function testswt() {
#
#testswt com.jogamp.opengl.test.junit.jogl.swt.TestSWT01GLn $*
#testswt com.jogamp.opengl.test.junit.jogl.swt.TestSWT02GLn $*
+#testswt com.jogamp.opengl.test.junit.jogl.swt.TestSWTGLCanvas01GLn $*
+testawt com.jogamp.opengl.test.junit.jogl.swt.TestSWTGLCanvas01GLn $*
#
# newt.awt (testawt)
#
-testawt com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
+#testawt com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
#testawt com.jogamp.opengl.test.junit.jogl.demos.gl2.newt.TestGearsNewtAWTWrapper
#testawt com.jogamp.opengl.test.junit.newt.TestEventSourceNotAWTBug
#testawt com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot $*