summaryrefslogtreecommitdiffstats
path: root/make/scripts
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
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')
-rwxr-xr-xmake/scripts/junit-linux-armv6hf-console.sh (renamed from make/scripts/junit-linux-armv6hf-headless.sh)7
-rwxr-xr-xmake/scripts/junit-linux-x86_64-console.sh (renamed from make/scripts/junit-linux-x86_64-headless.sh)7
2 files changed, 10 insertions, 4 deletions
diff --git a/make/scripts/junit-linux-armv6hf-headless.sh b/make/scripts/junit-linux-armv6hf-console.sh
index 3561d5b82..e9379e9f9 100755
--- a/make/scripts/junit-linux-armv6hf-headless.sh
+++ b/make/scripts/junit-linux-armv6hf-console.sh
@@ -6,7 +6,7 @@ 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
+LOGF=junit.jogl.all.linux-armv6hf-console.log
rm -f $LOGF
export GLUEGEN_CPPTASKS_FILE="../../gluegen/make/lib/gluegen-cpptasks-linux-armv6hf.xml"
@@ -18,6 +18,9 @@ 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 \
@@ -27,5 +30,5 @@ ant \
-Dsetup.addNativeKD=true \
-Dsetup.addNativeOpenMAX=true \
-Dsetup.addNativeBroadcom=true \
- junit.run 2>&1 | tee -a $LOGF
+ $TARGET 2>&1 | tee -a $LOGF
diff --git a/make/scripts/junit-linux-x86_64-headless.sh b/make/scripts/junit-linux-x86_64-console.sh
index 561043c49..076c3a088 100755
--- a/make/scripts/junit-linux-x86_64-headless.sh
+++ b/make/scripts/junit-linux-x86_64-console.sh
@@ -6,7 +6,7 @@ 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
+LOGF=junit.jogl.all.linux-x86_64-console.log
rm -f $LOGF
export SOURCE_LEVEL=1.8
@@ -16,11 +16,14 @@ 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" \
- junit.run 2>&1 | tee -a $LOGF
+ $TARGET 2>&1 | tee -a $LOGF