summaryrefslogtreecommitdiffstats
path: root/make/scripts/junit-linux-x86_64-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-x86_64-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-x86_64-console.sh')
-rwxr-xr-xmake/scripts/junit-linux-x86_64-console.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/make/scripts/junit-linux-x86_64-console.sh b/make/scripts/junit-linux-x86_64-console.sh
new file mode 100755
index 000000000..076c3a088
--- /dev/null
+++ b/make/scripts/junit-linux-x86_64-console.sh
@@ -0,0 +1,29 @@
+#! /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-x86_64-console.log
+rm -f $LOGF
+
+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-x86_64 \
+ -Djunit.run.arg0="--illegal-access=warn" \
+ $TARGET 2>&1 | tee -a $LOGF
+