]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #48938 - alexcrichton:no-leak-makeflags, r=kennytm
authorbors <bors@rust-lang.org>
Mon, 12 Mar 2018 05:28:13 +0000 (05:28 +0000)
committerbors <bors@rust-lang.org>
Mon, 12 Mar 2018 05:28:13 +0000 (05:28 +0000)
test: Forcibly remove MAKEFLAGS in compiletest

When executing run-make tests we run a risk of leaking the `MAKEFLAGS`
environment variable if `./x.py` itself was called from `make` (aka `make check
-j3` as the OSX bots do). We may then leak accidentally fds into the child
process and trick it into thinking it's got a jobserver!

Hopefully addresses [this] spurious failure

[this]: https://github.com/rust-lang/rust/pull/48295#issuecomment-372134717


Trivial merge