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

Specify units for test timeout environment variables #68097

Merged
merged 1 commit into from
Jan 13, 2020

Conversation

MikailBag
Copy link
Contributor

I think it is not obvious (I got it from reading libtest sources), so it is worth mentioning in docs.

@rust-highfive
Copy link
Collaborator

r? @shepmaster

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 10, 2020
Copy link
Member

@shepmaster shepmaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the realm of being clear, instead of "Clarify test timeout evironment variables", let's say

Specify units for test timeout environment variables

(note typo fix as well)

src/libtest/cli.rs Outdated Show resolved Hide resolved
src/libtest/cli.rs Outdated Show resolved Hide resolved
@shepmaster
Copy link
Member

(I got it from reading libtest sources)

Care to link to the appropriate place so we can verify you read the code correctly? 👼

@MikailBag
Copy link
Contributor Author

Sure. Here is code that parses env vars:

pub fn from_env_var(env_var_name: &str) -> Option<Self> {

@MikailBag MikailBag changed the title Clarify test timeout evironment variables Specify units for test timeout environment variables Jan 10, 2020
@shepmaster
Copy link
Member

Thanks!

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jan 12, 2020

📌 Commit 91e9531 has been approved by shepmaster

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 12, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jan 12, 2020
Specify units for test timeout environment variables

I think it is not obvious (I got it from reading libtest sources), so it is worth mentioning in docs.
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jan 13, 2020
Specify units for test timeout environment variables

I think it is not obvious (I got it from reading libtest sources), so it is worth mentioning in docs.
bors added a commit that referenced this pull request Jan 13, 2020
Rollup of 8 pull requests

Successful merges:

 - #67313 (Document more use cases of dataflow)
 - #67959 (rustdoc: improve stability mark arrows)
 - #68097 (Specify units for test timeout environment variables)
 - #68135 (restore some rustc_parse visibilities for rustfmt)
 - #68145 (Expose `context::CheckLintNameResult`)
 - #68156 (Fix crate paths in comments)
 - #68157 (Clean up E0186 explanation)
 - #68161 (Fix system call docs for time::Instant)

Failed merges:

r? @ghost
@bors bors merged commit 91e9531 into rust-lang:master Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.

4 participants