Fwd: test_gamma on osx

Nils Loodin nils.loodin at oracle.com
Fri May 11 11:08:37 UTC 2012


I cannot get test_gamma to work at all without this patch. I have tested it on three different macs.
DYLD_LIBRARY_PATY seems directly copied from LD_LIBRARY_PATH on linux, and references a lot of dirs not present on osx.

Will you consider this for inclusion?

The lines were added, as David Holmes points out, with the bug 7125793: MAC: test_gamma should always work.
This was a larger patch that affects lots of different files however, and this removes just part of that.

Regards,
Nils Loodin

diff --git a/make/bsd/makefiles/buildtree.make b/make/bsd/makefiles/buildtree.make
--- a/make/bsd/makefiles/buildtree.make
+++ b/make/bsd/makefiles/buildtree.make
@@ -471,11 +471,6 @@
	echo "unset LD_LIBRARY_PATH_32"; \
	echo "unset LD_LIBRARY_PATH_64"; \
	echo ""; \
-	echo "if [ \"$(OS_VENDOR)\" = \"Darwin\" ]; then "; \
-	echo "  DYLD_LIBRARY_PATH=.:$${DYLD_LIBRARY_PATH:+$$DYLD_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/native_threads:\$${JAVA_HOME}/jre/lib:$${DYLD_LIBRARY_PATH:+$$DYLD_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/${LIBARCH}/native_threads:\$${JAVA_HOME}/jre/lib/${LIBARCH}:${GCC_LIB}"; \
-	echo "  export DYLD_LIBRARY_PATH"; \
-	echo "fi"; \
-	echo ""; \
	echo "# Use the gamma launcher and JAVA_HOME to run the test"; \
	echo ""; \
	echo "./\$${GAMMA_PROG} $(TESTFLAGS) Queens < /dev/null"; \

> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20120511/ef3433b1/attachment.html>


More information about the build-dev mailing list