summaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-06 20:06:23 +0100
committerSven Gothel <[email protected]>2019-12-06 20:06:23 +0100
commitb992423477ea1a76fb28946e28959a3feea97680 (patch)
treea06ecbf21153ff81182a0b040e739485cbf6f943 /make/scripts
parentabde7e96c8ea8f36b48e99ed62029bf0e178a8fa (diff)
Bug 1411 - Unit Test Subset for DRM/GBM JOGL(EGL) and NEWT
First step disables all AWT and SWT unit tests.
Diffstat (limited to 'make/scripts')
-rwxr-xr-xmake/scripts/junit-linux-armv6hf-headless.sh31
-rwxr-xr-xmake/scripts/junit-linux-x86_64-headless.sh26
2 files changed, 57 insertions, 0 deletions
diff --git a/make/scripts/junit-linux-armv6hf-headless.sh b/make/scripts/junit-linux-armv6hf-headless.sh
new file mode 100755
index 000000000..3561d5b82
--- /dev/null
+++ b/make/scripts/junit-linux-armv6hf-headless.sh
@@ -0,0 +1,31 @@
+#! /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-headless.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"
+
+# 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 \
+ junit.run 2>&1 | tee -a $LOGF
+
diff --git a/make/scripts/junit-linux-x86_64-headless.sh b/make/scripts/junit-linux-x86_64-headless.sh
new file mode 100755
index 000000000..561043c49
--- /dev/null
+++ b/make/scripts/junit-linux-x86_64-headless.sh
@@ -0,0 +1,26 @@
+#! /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-headless.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"
+
+# BUILD_ARCHIVE=true \
+ant \
+ -Dsetup.noAWT=true \
+ -Dsetup.noSWT=true \
+ -Drootrel.build=build-x86_64 \
+ -Djunit.run.arg0="--illegal-access=warn" \
+ junit.run 2>&1 | tee -a $LOGF
+