Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Rollup of 13 pull requests #21582

Merged
merged 33 commits into from
Jan 25, 2015
Merged

Rollup of 13 pull requests #21582

merged 33 commits into from
Jan 25, 2015

Conversation

quantheory and others added 30 commits January 15, 2015 13:49
… directory's name, and remove the directory after a successful test.
Also makes errorck.py and tidy.py compatible with Python 3.
While trying to experiment with changes for some other issues, I noticed that the test for rust-lang#15149 was failing because I have `/tmp` mounted as `noexec` on my Linux box, and that test tries to run out of a temporary directory. This may not be the most common case, but it's not rare by any means, because executing from a world-writable directory is a security problem. (For this reason, some kernel options/mods such as grsecurity also can prevent this on Linux.) I instead copy the executable to a directory created in the build tree, following the example of the `process-spawn-with-unicode-params` test.

After I made that change, I noticed that I'd made a mistake, but the test was still passing, because the "parent" process was not actually checking the status of the "child" process, meaning that the assertion in the child could never cause the overall test to fail. (I don't know if this has always been the case, or if it has something to do with either Windows or a change in the semantics of `spawn`.) So I fixed the test so that it would fail correctly, then fixed my original mistake so that it would pass again.

The one big problem with this is that I haven't set up any machines of my own so that I can build on Windows, which is the platform this test was targeted at in the first place! That might take a while to address on my end. So I need someone else to check this on Windows.
…=alexcrichton

Fix for `error: functions used as tests must have signature fn() -> ()` and `error: functions used as benches must have signature `fn(&mut Bencher) -> ()` in case of explicit return type declaration.
Fixes rust-lang#19759 

I'm not going to bother to do more than this, as it'll end up getting re-done as part of the reference work, but at least it's correct now.
Also makes `errorck.py` and `tidy.py` compatible with Python 3.
@rust-highfive
Copy link
Collaborator

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@flaper87
Copy link
Contributor Author

r? @huonw

@rust-highfive rust-highfive assigned huonw and unassigned brson Jan 24, 2015
@huonw
Copy link
Member

huonw commented Jan 24, 2015

@bors: r+ 38cb4 p=1

@bors
Copy link
Contributor

bors commented Jan 24, 2015

🙀 You have the wrong number! Please try again with 8d40f0f.

@huonw
Copy link
Member

huonw commented Jan 24, 2015

@bors: r+ 8d40f0 p=1

@bors
Copy link
Contributor

bors commented Jan 24, 2015

⌛ Testing commit 8d40f0f with merge 23bb8ad...

@bors
Copy link
Contributor

bors commented Jan 24, 2015

💔 Test failed - auto-mac-64-opt

@huonw
Copy link
Member

huonw commented Jan 24, 2015

@bors: r+ 577c p=1

@bors
Copy link
Contributor

bors commented Jan 24, 2015

⌛ Testing commit 577c464 with merge 51f5b64...

@bors
Copy link
Contributor

bors commented Jan 24, 2015

💔 Test failed - auto-win-64-nopt-t

@brson
Copy link
Contributor

brson commented Jan 25, 2015

@bors: r+ 7e83e46 p=1

@bors
Copy link
Contributor

bors commented Jan 25, 2015

⌛ Testing commit 7e83e46 with merge 102ab57...

bors added a commit that referenced this pull request Jan 25, 2015
@bors bors merged commit 7e83e46 into rust-lang:master Jan 25, 2015
@flaper87 flaper87 deleted the rollup branch January 25, 2015 22:37
@brson
Copy link
Contributor

brson commented Jan 26, 2015

👍 rollups rule

@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.