Skip to content

Specify units for test timeout environment variables - #68097

Merged
bors merged 1 commit into
rust-lang:masterfrom
MikailBag:master
Jan 13, 2020
Merged

Specify units for test timeout environment variables#68097
bors merged 1 commit into
rust-lang:masterfrom
MikailBag:master

Conversation

@MikailBag

Copy link
Copy Markdown
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
Copy Markdown
Contributor

r? @shepmaster

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

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

@shepmastershepmaster left a comment

Copy link
Copy Markdown
Member

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)

Comment threadsrc/libtest/cli.rs Outdated
Comment threadsrc/libtest/cli.rs Outdated
@shepmaster

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

Sure. Here is code that parses env vars:

pubfnfrom_env_var(env_var_name:&str) -> Option<Self>{

@MikailBagMikailBag changed the title Clarify test timeout evironment variablesSpecify units for test timeout environment variablesJan 10, 2020
@shepmaster

Copy link
Copy Markdown
Member

Thanks!

@bors r+ rollup

@bors

bors commented Jan 12, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 91e9531 has been approved by shepmaster

@borsbors 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.
@JohnTitorJohnTitor mentioned this pull request Jan 13, 2020
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:masterJan 13, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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

@MikailBag@rust-highfive@shepmaster@bors