Skip to content

test: Forcibly remove MAKEFLAGS in compiletest #48938

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 12, 2018

Conversation

alexcrichton
Copy link
Member

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

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]: rust-lang#48295 (comment)
@alexcrichton
Copy link
Member Author

r? @kennytm

@kennytm
Copy link
Member

kennytm commented Mar 11, 2018

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 11, 2018

📌 Commit 9a3128e has been approved by kennytm

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Mar 11, 2018
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Mar 12, 2018
…ennytm

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]: rust-lang#48295 (comment)
@alexcrichton
Copy link
Member Author

@bors: p=1

I think this may have happened again

@bors
Copy link
Collaborator

bors commented Mar 12, 2018

⌛ Testing commit 9a3128e with merge 4eea359...

bors added a commit that referenced this pull request Mar 12, 2018
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]: #48295 (comment)
@bors
Copy link
Collaborator

bors commented Mar 12, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: kennytm
Pushing 4eea359 to master...

@bors bors merged commit 9a3128e into rust-lang:master Mar 12, 2018
@kennytm kennytm mentioned this pull request Mar 12, 2018
@alexcrichton alexcrichton deleted the no-leak-makeflags branch March 19, 2018 17:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants