summaryrefslogtreecommitdiffstats
path: root/make/scripts/tests-x64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/tests-x64.sh')
-rwxr-xr-xmake/scripts/tests-x64.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/make/scripts/tests-x64.sh b/make/scripts/tests-x64.sh
index 48c71c5d1..1816f59f9 100755
--- a/make/scripts/tests-x64.sh
+++ b/make/scripts/tests-x64.sh
@@ -1,7 +1,10 @@
#! /bin/bash
-spath=`dirname $0`
+SDIR=`dirname $0`
-. $spath/tests.sh /opt-linux-x86_64/j2se6/bin/java ../build-x86_64 $*
+if [ -e $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then
+ . $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh
+fi
+. $SDIR/tests.sh `which java` ../build-x86_64 $*