]> git.lizzy.rs Git - rust.git/commit
test: Attempt to fix nightly-linux
authorAlex Crichton <alex@alexcrichton.com>
Wed, 18 Jun 2014 15:47:44 +0000 (08:47 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 18 Jun 2014 20:50:45 +0000 (13:50 -0700)
commit91c7687f03fd01c61fc7594e6ff8f3cc0f6363a4
tree7c5fa4b230bec5e9747c146f7c20257303e435b6
parent410d70b5af30a4e5d566b981c9bf1b10b12b796b
test: Attempt to fix nightly-linux

The nightly builds on linux have been failing over the past few days due to a
malformed LD_LIBRARY_PATH. It appears that the underlying cause is that one of
the tests, dep-info-custom, recursively invokes make but the RUSTC variable
passed down has the string "$LD_LIBRARY_PATH". This is intended to read the
host's original LD_LIBRARY_PATH, but it appears that the makefile is eagerly
expanding the "$L" to nothing, causing the original host's LD_LIBRARY_PATH to be
ignored.

This fix removes passing the string "$LD_LIBRARY_PATH" and rather expands it
eagerly to ensure that escaping doesn't happen at a later stage. I'm still not
entirely sure why the makefile is interpreting the dollar as a variable, but
this seems to fix the issue.
src/test/run-make/tools.mk