diff options
Diffstat (limited to 'make/scripts')
-rwxr-xr-x | make/scripts/tests-linux-aarch64.sh | 11 | ||||
-rwxr-xr-x | make/scripts/tests-rpi4b-aarch64.sh | 13 | ||||
-rwxr-xr-x | make/scripts/tests-win.bat | 3 | ||||
-rwxr-xr-x | make/scripts/tests-x64.sh | 5 | ||||
-rw-r--r-- | make/scripts/tests.sh | 15 |
5 files changed, 37 insertions, 10 deletions
diff --git a/make/scripts/tests-linux-aarch64.sh b/make/scripts/tests-linux-aarch64.sh index f1b4de19d..1e8947d06 100755 --- a/make/scripts/tests-linux-aarch64.sh +++ b/make/scripts/tests-linux-aarch64.sh @@ -1,8 +1,13 @@ #! /bin/bash -spath=`dirname $0` +SDIR=`dirname $0` -. $spath/tests.sh `which java` -DummyArg ../build-linux-aarch64 $* -#. $spath/tests.sh /usr/lib/jvm/java-11-openjdk-arm64/bin/java -DummyArg ../build-linux-aarch64 $* +#JAVA_CMD=/opt-linux-arm64/zulu19.32.13-ca-jdk19.0.2-linux_aarch64/bin/java +#JAVA_CMD=/usr/lib/jvm/java-11-openjdk-arm64/bin/java +JAVA_CMD=`which java` + +# D_ARGS="-Dnewt.ws.mmwidth=150 -Dnewt.ws.mmheight=90" + +. $SDIR/tests.sh $JAVA_CMD -DummyArg ../build-linux-aarch64 $* diff --git a/make/scripts/tests-rpi4b-aarch64.sh b/make/scripts/tests-rpi4b-aarch64.sh new file mode 100755 index 000000000..101d6e445 --- /dev/null +++ b/make/scripts/tests-rpi4b-aarch64.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +SDIR=`dirname $0` + +#JAVA_CMD=/opt-linux-arm64/zulu19.32.13-ca-jdk19.0.2-linux_aarch64/bin/java +#JAVA_CMD=/usr/lib/jvm/java-11-openjdk-arm64/bin/java +JAVA_CMD=`which java` + +D_ARGS="-Dnewt.ws.mmwidth=150 -Dnewt.ws.mmheight=90" + +. $SDIR/tests.sh $JAVA_CMD -DummyArg ../build-linux-aarch64 $* + + diff --git a/make/scripts/tests-win.bat b/make/scripts/tests-win.bat index 1a68ad186..7b2c84102 100755 --- a/make/scripts/tests-win.bat +++ b/make/scripts/tests-win.bat @@ -21,7 +21,7 @@ REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestLa REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestElektronenMultipliziererNEWT %* REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.demos.gl3.newt.TestGeomShader01TextureGL3NEWT %* -scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieSimple %* +REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieSimple %* REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube %* REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.demos.es2.TexCubeES2 %* @@ -218,6 +218,7 @@ REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.offscreen.TestOffscre REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.offscreen.TestOffscreen02BitmapNEWT REM scripts\java-win.bat com.jogamp.opengl.test.junit.graph.TestRegionRendererNEWT01 +scripts\java-win.bat com.jogamp.opengl.test.junit.graph.PerfTextRendererNEWT00 %* REM scripts\java-win.bat com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT01 REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLShaderState02NEWT REM scripts\java-win.bat com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLShaderState02NEWT diff --git a/make/scripts/tests-x64.sh b/make/scripts/tests-x64.sh index 5da1c4c20..1da3b12f0 100755 --- a/make/scripts/tests-x64.sh +++ b/make/scripts/tests-x64.sh @@ -21,5 +21,8 @@ fi export SWT_CLASSPATH=`pwd`/lib/swt/gtk-linux-x86_64/swt.jar #export SWT_CLASSPATH=/usr/local/projects/JOGL/SWT/swt-4.3.0/gtk-linux-x86_64/swt-debug.jar -. $SDIR/tests.sh `which java` -DummyArg ../build-x86_64 $* +#JAVA_CMD=/opt-linux-x86_64/zulu19.32.13-ca-jdk19.0.2-linux_x64/bin/java +JAVA_CMD=`which java` + +. $SDIR/tests.sh $JAVA_CMD -DummyArg ../build-x86_64 $* diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index 019ea0977..3e696e928 100644 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -406,7 +406,10 @@ function jrun() { fi # StartFlightRecording: delay=10s, # FlightRecorderOptions: stackdepth=2048 - # X_ARGS="-XX:StartFlightRecording=dumponexit=true,filename=java-run.jfr -XX:FlightRecorderOptions=stackdepth=2048,threadbuffersize=16k $X_ARGS" + # Enable remote connection to jmc: jcmd <PID> ManagementAgent.start jmxremote.authenticate=false jmxremote.ssl=false jmxremote.port=7091 + # X_ARGS="-XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints $X_ARGS" + # X_ARGS="-XX:FlightRecorderOptions=stackdepth=2048,threadbuffersize=16k $X_ARGS" + # X_ARGS="-XX:StartFlightRecording=delay=10s,dumponexit=true,filename=java-run.jfr $X_ARGS" if [ $USE_BUILDDIR -eq 1 ] ; then export USE_CLASSPATH=.:$GLUEGEN_BUILDDIR/classes:$GLUEGEN_BUILDDIR/test/build/classes:$JOAL_BUILDDIR/classes:$JOGL_BUILDDIR/nativewindow/classes:$JOGL_BUILDDIR/jogl/classes:$JOGL_BUILDDIR/newt/classes:$JOGL_BUILDDIR/oculusvr/classes:$JOGL_BUILDDIR/test/build/classes:$JUNIT_JAR:$ANT_JARS @@ -843,6 +846,7 @@ function testawtswt() { #testawt com.jogamp.opengl.test.junit.newt.TestListenerCom01AWT +#testnoawt com.jogamp.opengl.test.junit.jogl.caps.TestIdentOfCapabilitiesNEWT $* #testawt com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES1AWT $* #testnoawt com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES1NEWT $* #testnoawt com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES2NEWT $* @@ -953,10 +957,10 @@ function testawtswt() { #testnoawt com.jogamp.opengl.test.junit.graph.TestFontsNEWT00 $* #testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWTBugXXXX $* -#testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT00 $* +#testnoawt com.jogamp.opengl.test.junit.graph.PerfTextRendererNEWT00 $* #testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT01 $* #testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT10 $* -#testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT20 $* +testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT20 $* #testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo $* #testnoawt com.jogamp.opengl.test.junit.graph.demos.GPURegionNewtDemo $* #testnoawt com.jogamp.opengl.test.junit.graph.demos.UIShapeDemo01 $* @@ -991,10 +995,11 @@ function testawtswt() { # Linux DRM/GBM # -#testmobile com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT00 $* -testnoawt com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT00 $* +#testmobile com.jogamp.opengl.test.junit.graph.PerfTextRendererNEWT00 $* +#testnoawt com.jogamp.opengl.test.junit.graph.PerfTextRendererNEWT00 $* #testmobile com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo $* #testmobile com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo $* +#testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo $* #testmobile com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube $* #testmobile com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieSimple $* #testmobile com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT $* |