aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/tests-osx-x64-java7OnJava6build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/tests-osx-x64-java7OnJava6build.sh')
-rwxr-xr-xmake/scripts/tests-osx-x64-java7OnJava6build.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/make/scripts/tests-osx-x64-java7OnJava6build.sh b/make/scripts/tests-osx-x64-java7OnJava6build.sh
new file mode 100755
index 000000000..e1b07202b
--- /dev/null
+++ b/make/scripts/tests-osx-x64-java7OnJava6build.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.7`
+PATH=$JAVA_HOME/bin:$PATH
+export JAVA_HOME PATH
+
+spath=`dirname $0`
+
+. $spath/tests.sh $JAVA_HOME/bin/java -d64 ../build-macosx $*
+