diff options
author | Sven Gothel <[email protected]> | 2011-07-23 07:50:02 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-07-23 07:50:02 +0200 |
commit | 6a321a9fb50ceb3bde38c5199f95c8f849090496 (patch) | |
tree | e43cf16c045512103c334a6dc78067c362a3e4c3 /make/scripts/crosstest-junit-linux-armv7-rel.sh | |
parent | 6b9e53f00def34ec478eae3c5bb75e9784707b04 (diff) |
Add single cross test scripts
Diffstat (limited to 'make/scripts/crosstest-junit-linux-armv7-rel.sh')
-rw-r--r-- | make/scripts/crosstest-junit-linux-armv7-rel.sh | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/make/scripts/crosstest-junit-linux-armv7-rel.sh b/make/scripts/crosstest-junit-linux-armv7-rel.sh new file mode 100644 index 0000000..4c71b5d --- /dev/null +++ b/make/scripts/crosstest-junit-linux-armv7-rel.sh @@ -0,0 +1,35 @@ +export HOST_UID=sven +export HOST_IP=192.168.0.52 +export HOST_RSYNC_ROOT=PROJECTS/JOGL + +export TARGET_UID=jogamp +export TARGET_IP=beagle01 +export TARGET_ROOT=projects-cross + +export BUILD_DIR=../build-linux-armv7 + +TSTCLASS=com.jogamp.gluegen.test.junit.generation.Test1p2ProcAddressEmitter + +LOGFILE=`basename $0 .sh`.log + +ssh $TARGET_UID@$TARGET_IP "\ +rsync -aAv --delete --delete-after --exclude 'build*/' $HOST_UID@$HOST_IP::$HOST_RSYNC_ROOT/gluegen $TARGET_ROOT ; \ +cd $TARGET_ROOT/gluegen/make ; +LD_LIBRARY_PATH=$BUILD_DIR/obj:$BUILD_DIR/test/build/natives \ +java \ + -Djava.library.path=$BUILD_DIR/obj:$BUILD_DIR/test/build/natives \ + -Djava.class.path=lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:$BUILD_DIR/gluegen.jar:$BUILD_DIR/test/build/gluegen-test.jar \ + -Djogamp.debug.JNILibLoader=true \ + -Djogamp.debug.NativeLibrary=true \ + -Djogamp.debug.NativeLibrary.Lookup=true \ + -Djogamp.debug.ProcAddressHelper=true \ + org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner \ + $TSTCLASS \ + filtertrace=true haltOnError=false haltOnFailure=false showoutput=true outputtoformatters=true logfailedtests=true logtestlistenerevents=true \ + formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter \ + formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,TEST-result.xml \ + 2>&1 | tee $LOGFILE \ +" + +scp $TARGET_UID@$TARGET_IP:$TARGET_ROOT/gluegen/make/$LOGFILE . +scp $TARGET_UID@$TARGET_IP:$TARGET_ROOT/gluegen/make/TEST-result.xml . |