1#! /bin/sh 2 3THISDIR=`pwd` 4 5ROOT_REL=build-linux-armv6hf 6 7export LD_LIBRARY_PATH=$THISDIR/PVRTrace/:$LD_LIBRARY_PATH 8 9#XTRA_FLAGS="-Dnewt.test.Screen.disableScreenMode -Djogl.debug.DebugGL -Djogl.debug.TraceGL -Djogl.debug.GLContext.TraceSwitch " 10#XTRA_FLAGS="-Dnewt.test.Screen.disableScreenMode -Djogl.debug.DebugGL -Djogl.debug.TraceGL" 11#XTRA_FLAGS="-Dnewt.test.Screen.disableScreenMode -Djogl.debug.DebugGL" 12#XTRA_FLAGS="-Dnewt.test.Screen.disableScreenMode -Djogl.debug.EGL -Dnativewindow.debug.GraphicsConfiguration -Djogl.debug.GLDrawable" 13#XTRA_FLAGS="-Dnewt.debug.Screen" 14#XTRA_FLAGS="-Dnativewindow.debug.GraphicsConfiguration -Dnativewindow.debug.NativeWindow" 15#XTRA_FLAGS="-Dnewt.debug.Window -Djogl.debug.EGL -Djogl.debug.GLContext -Djogl.debug.GLDrawable" 16#XTRA_FLAGS="-Djogl.debug.GLContext -Djogl.debug.GLProfile -Djogl.debug.GLDrawable" 17#XTRA_FLAGS="-Djogl.debug.EGL" 18#XTRA_FLAGS="-Djogl.debug.GraphicsConfiguration" 19#XTRA_FLAGS="-Djogl.debug.GLContext -Djogl.debug.GLDrawable" 20#XTRA_FLAGS="-Djogl.debug.TraceGL" 21#XTRA_FLAGS="-Djogl.debug.DebugGL -Djogl.debug.TraceGL" 22 23# OK (Panda, Omap4) 24# 25#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile01NEWT 26#TSTCLASS=com.jogamp.opengl.test.junit.jogl.util.TestGLReadBufferUtilTextureIOWrite01NEWT 27#TSTCLASS=com.jogamp.opengl.test.junit.jogl.util.TestGLReadBufferUtilTextureIOWrite02NEWT 28#TSTCLASS=com.jogamp.opengl.test.junit.graph.TestRegionRendererNEWT01 # (Tegra regressions) 29#TSTCLASS=com.jogamp.opengl.test.junit.graph.TestTextRendererNEWT01 # (Tegra regressions) 30#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestGLDebug00NEWT 31#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestGLDebug01NEWT 32#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestGPUMemSec01NEWT 33TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestGLDrawable01NEWT 34#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestInitConcurrentNEWT 35#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestFBODrawableNEWT 36#TSTCLASS=com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES1NEWT 37 38# Some Regressions (Panda, Omap4) 39# 40#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextListNEWT2 41#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextListNEWT 42 43#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestMainVersionGLWindowNEWT 44#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestMapBufferRead01NEWT 45#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestNVSwapGroupNEWT 46#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES1NEWT 47#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT 48#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT2 49#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestShutdownCompleteNEWT 50#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestShutdownSharedNEWT 51#TSTCLASS=com.jogamp.opengl.test.junit.jogl.caps.TestTranslucencyNEWT 52#TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es1.newt.TestGearsES1NEWT 53#TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es1.newt.TestRedSquareES1NEWT 54#TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestElektronenMultipliziererNEWT 55#TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT 56#TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestRedSquareES2NEWT 57#TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube 58#TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.gl2.newt.TestGearsNEWT 59#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestFBOMRTNEWT01 60#TSTCLASS=com.jogamp.opengl.test.junit.jogl.acore.TestFBOMix2DemosES2NEWT 61#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLShaderState01NEWT 62#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLShaderState02NEWT 63#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLSimple01NEWT 64#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestRulerNEWT01 65#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT 66#TSTCLASS=com.jogamp.opengl.test.junit.jogl.offscreen.TestOffscreen01GLPBufferNEWT 67#TSTCLASS=com.jogamp.opengl.test.junit.jogl.offscreen.TestOffscreen02BitmapNEWT 68#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle01NEWT 69#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle02NEWT 70#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestGLWindows00NEWT 71#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestGLWindows01NEWT 72#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestGLWindows02NEWTAnimated 73#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestRemoteGLWindows01NEWT 74#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestRemoteWindow01NEWT 75#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestScreenMode00NEWT 76#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestScreenMode00bNEWT 77#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestScreenMode01NEWT 78#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestScreenMode01bNEWT 79#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestScreenMode02NEWT 80#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestWindowClosingProtocol02NEWT 81#TSTCLASS=com.jogamp.opengl.test.junit.newt.TestWindows01NEWT 82#TSTCLASS=com.jogamp.opengl.test.junit.newt.parenting.TestParenting01NEWT 83#TSTCLASS=com.jogamp.opengl.test.junit.newt.parenting.TestParenting02NEWT 84 85 mkdir -p $THISDIR/projects-cross 86 87 rsync -av --delete --delete-after --delete-excluded \ 88 --exclude 'build-x86*/' --exclude 'build-linux-x*/' --exclude 'build-android*/' --exclude 'build-win*/' --exclude 'build-mac*/' \ 89 --exclude 'classes/' --exclude 'src/' --exclude '.git/' --exclude '*-java-src.zip' \ 90 --exclude 'make/lib/external/' \ 91 jogamp@jogamp02::PROJECTS/JOGL/gluegen jogamp@jogamp02::PROJECTS/JOGL/jogl $THISDIR/projects-cross 92 93 cd $THISDIR/projects-cross/jogl/make 94 95 cp -a $THISDIR/pvrtrace.cfg . 96 97function junit_run() { 98 java \ 99 -cp ../../gluegen/make/lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:../../gluegen/$ROOT_REL/gluegen-rt.jar:../$ROOT_REL/jar/jogl-all-noawt.jar:../$ROOT_REL/jar/jogl-test.jar\ 100 -Djava.awt.headless=true\ 101 $XTRA_FLAGS \ 102 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner \ 103 $TSTCLASS \ 104 filtertrace=true \ 105 haltOnError=false \ 106 haltOnFailure=false \ 107 showoutput=true \ 108 outputtoformatters=true \ 109 logfailedtests=true \ 110 logtestlistenerevents=true \ 111 formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter \ 112 formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,$THISDIR/targetcommand.xml 113} 114 115function main_run() { 116 java \ 117 -cp ../../gluegen/make/lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:../../gluegen/$ROOT_REL/gluegen-rt.jar:../$ROOT_REL/jar/jogl-all-noawt.jar:../$ROOT_REL/jar/jogl-test.jar\ 118 -Djava.awt.headless=true\ 119 $XTRA_FLAGS \ 120 $TSTCLASS \ 121 $* 122} 123 124# junit_run 2>&1 | tee $THISDIR/targetcommand.log 125 126main_run $* 2>&1 | tee $THISDIR/targetcommand.log 127 128cp -a trace-*.pvrt $THISDIR/ 129 130