Jogamp
NewtVersionActivity: Remove 'gears' test; Version Info: Drop NativeWindow/Newt Versio...
[jogl.git] / make / scripts / crosstest-java-linux-armv7-rel.sh
CommitLineData
3037a4a0
SG
1export HOST_UID=sven
2export HOST_IP=192.168.0.52
62df9dd1 3#export HOST_IP=192.168.1.5
3037a4a0
SG
4export HOST_RSYNC_ROOT=PROJECTS/JOGL
5
6export TARGET_UID=jogamp
7export TARGET_IP=beagle01
8export TARGET_ROOT=projects-cross
3ef3ff25
SG
9#export TARGET_JAVA=/usr/bin/java
10export TARGET_JAVA=/opt-linux-armv7-eabi/jre6/bin/java
3037a4a0
SG
11
12export BUILD_DIR=../build-linux-armv7
13export ANT_PATH=/usr/share/ant
14
15#TSTCLASS=com.jogamp.nativewindow.NativeWindowVersion
16#TSTCLASS=com.jogamp.opengl.JoglVersion
62df9dd1 17#TSTCLASS=com.jogamp.newt.NewtVersion
3037a4a0
SG
18#TSTCLASS=com.jogamp.newt.opengl.GLWindow
19#TSTCLASS=com.jogamp.opengl.test.junit.jogl.offscreen.TestOffscreen01GLPBufferNEWT
20#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLSimple01NEWT
21#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLShaderState01NEWT
22#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLShaderState02NEWT
23#TSTCLASS=com.jogamp.opengl.test.junit.jogl.glsl.TestRulerNEWT01
3ef3ff25 24#TSTCLASS=com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo01
3037a4a0 25#TSTCLASS=com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo02
62df9dd1
SG
26#TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT
27TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es1.newt.TestGearsES1NEWT
3037a4a0
SG
28
29LOGFILE=`basename $0 .sh`.log
30
31# -Djogamp.debug.NativeLibrary.Lookup=true \
32# -Djogamp.debug.ProcAddressHelper=true \
33
f87f9893 34RSYNC_EXCLUDES="--exclude 'build-x86*/' --exclude 'build-linux-x*/' --exclude 'build-android*/' --exclude 'build-win*/' --exclude 'build-mac*/' \
e04ec766 35 --exclude 'classes/' --exclude 'src/' --exclude '.git/' --exclude 'jogl-java-src.zip' \
f87f9893
SG
36 --delete-excluded"
37
3037a4a0 38CP_BASE=../../gluegen/make/lib/junit.jar:$ANT_PATH/lib/ant.jar:$ANT_PATH/lib/ant-junit.jar:../../gluegen/make/$BUILD_DIR/gluegen.jar
f87f9893 39CP_JOGL_MOBILE=$BUILD_DIR/jar/jogl.all-mobile.jar:$BUILD_DIR/test/build/jogl.test.jar
3ef3ff25
SG
40
41# -Djogl.debug=all \
42# -Dnewt.debug=all \
43# -Djogl.debug.DebugGL \
3037a4a0
SG
44
45ssh $TARGET_UID@$TARGET_IP "\
f87f9893 46rsync -aAv --delete --delete-after $RSYNC_EXCLUDES $HOST_UID@$HOST_IP::$HOST_RSYNC_ROOT/gluegen $HOST_UID@$HOST_IP::$HOST_RSYNC_ROOT/jogl $TARGET_ROOT ; \
3037a4a0
SG
47cd $TARGET_ROOT/jogl/make ;
48export DISPLAY=:0.0 ;
49LD_LIBRARY_PATH=../../gluegen/make/$BUILD_DIR/obj:$BUILD_DIR/lib \
3ef3ff25
SG
50$TARGET_JAVA \
51 -server \
52 -Xmx256m \
3037a4a0 53 -Djava.library.path=../../gluegen/make/$BUILD_DIR/obj:$BUILD_DIR/lib \
f87f9893 54 -Djava.class.path=$CP_BASE:$CP_JOGL_MOBILE \
3037a4a0
SG
55 -Dnativewindow.x11.mt-bug=true \
56 $TSTCLASS $* \
57 2>&1 | tee $LOGFILE \
58"
59
60scp $TARGET_UID@$TARGET_IP:$TARGET_ROOT/jogl/make/$LOGFILE .
http://JogAmp.org git info: FAQ, tutorial and man pages.