summaryrefslogtreecommitdiffstats
path: root/make/scripts/tests-osx-x64-java6.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-24 09:48:11 +0200
committerSven Gothel <[email protected]>2013-06-24 09:48:11 +0200
commitf857d3f86be221fb5f8488a8419c4cac8d65fc89 (patch)
treed9b09a1f098a3a456f8e851680ae1e05548914a1 /make/scripts/tests-osx-x64-java6.sh
parent00f82fde560306891823a1273baf50264dca3d05 (diff)
scripts: osx make/test java7/6 fixes
Diffstat (limited to 'make/scripts/tests-osx-x64-java6.sh')
-rwxr-xr-xmake/scripts/tests-osx-x64-java6.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/make/scripts/tests-osx-x64-java6.sh b/make/scripts/tests-osx-x64-java6.sh
new file mode 100755
index 000000000..fe2d2c4ec
--- /dev/null
+++ b/make/scripts/tests-osx-x64-java6.sh
@@ -0,0 +1,12 @@
+#! /bin/bash
+
+export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
+
+JAVA_HOME=`/usr/libexec/java_home -version 1.6`
+PATH=$JAVA_HOME/bin:$PATH
+export JAVA_HOME PATH
+
+spath=`dirname $0`
+
+. $spath/tests.sh /usr/bin/java -d64 ../build-macosx $*
+