summaryrefslogtreecommitdiffstats
path: root/make/scripts/junit-linux-armv6hf-console.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-09 07:40:14 +0100
committerSven Gothel <[email protected]>2019-12-09 07:40:14 +0100
commitc5fabde01babfdd07c72347ff17ac0705b8c6c5a (patch)
treeeea0d6354309a71e056f6681c72e760dce1b8bd4 /make/scripts/junit-linux-armv6hf-console.sh
parent61eb1825663701fd50023328f6f3e8e8b24272b9 (diff)
Bug 1411 DRM/GBM JOGL: Fix 'junit.run.console' unit test target, use it in respective (renamed) scripts.
Added junit.run.console target in build.xml build-test.xml - Moves all results.test artifact moving from current directory into test-zip-archive target, reducing duplication. - junit.run.console: Added proper dependencies etc Renamed scripts to match junit.run.console: junit-linux-x86_64-headless.sh -> junit-linux-x86_64-console.sh junit-linux-armv6hf-headless.sh -> junit-linux-armv6hf-console.sh
Diffstat (limited to 'make/scripts/junit-linux-armv6hf-console.sh')
-rwxr-xr-xmake/scripts/junit-linux-armv6hf-console.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/make/scripts/junit-linux-armv6hf-console.sh b/make/scripts/junit-linux-armv6hf-console.sh
new file mode 100755
index 000000000..e9379e9f9
--- /dev/null
+++ b/make/scripts/junit-linux-armv6hf-console.sh
@@ -0,0 +1,34 @@
+#! /bin/sh
+
+SDIR=`dirname $0`
+
+if [ -e $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then
+ . $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh
+fi
+
+LOGF=junit.jogl.all.linux-armv6hf-console.log
+rm -f $LOGF
+
+export GLUEGEN_CPPTASKS_FILE="../../gluegen/make/lib/gluegen-cpptasks-linux-armv6hf.xml"
+
+export SOURCE_LEVEL=1.8
+export TARGET_LEVEL=1.8
+export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar
+
+#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet"
+
+#TARGET=junit.run
+TARGET=junit.run.console
+
+# BUILD_ARCHIVE=true \
+ant \
+ -Dsetup.noAWT=true \
+ -Dsetup.noSWT=true \
+ -Drootrel.build=build-linux-armv6hf \
+ -Djunit.run.arg0="--illegal-access=warn" \
+ -Dsetup.addNativeKD=true \
+ -Dsetup.addNativeOpenMAX=true \
+ -Dsetup.addNativeBroadcom=true \
+ $TARGET 2>&1 | tee -a $LOGF
+