Skip to content

In cargo test's help, add that examples are built#6619

Merged
bors merged 1 commit into
rust-lang:masterfrom
dwijnand:cargo-test-help
Feb 4, 2019
Merged

In cargo test's help, add that examples are built#6619
bors merged 1 commit into
rust-lang:masterfrom
dwijnand:cargo-test-help

Conversation

@dwijnand

@dwijnand dwijnand commented Feb 3, 2019

Copy link
Copy Markdown
Contributor

Also clarify that --lib runs the library's unit tests.

Closes #5387

@rust-highfive

Copy link
Copy Markdown

r? @alexcrichton

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

Comment thread src/bin/cargo/commands/test.rs Outdated
Also clarify that --lib runs the library's unit tests.
@dwijnand dwijnand changed the title In cargo test's help, add that examples are run In cargo test's help, add that examples are built Feb 4, 2019
@ehuss

ehuss commented Feb 4, 2019

Copy link
Copy Markdown
Contributor

Thanks!

@bors r+

@bors

bors commented Feb 4, 2019

Copy link
Copy Markdown
Contributor

📌 Commit c8422ce has been approved by ehuss

@bors

bors commented Feb 4, 2019

Copy link
Copy Markdown
Contributor

⌛ Testing commit c8422ce with merge d7426e5...

bors added a commit that referenced this pull request Feb 4, 2019
In cargo test's help, add that examples are built

Also clarify that --lib runs the library's unit tests.

Closes #5387
@bors

bors commented Feb 4, 2019

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-travis, status-appveyor
Approved by: ehuss
Pushing d7426e5 to master...

@bors bors merged commit c8422ce into rust-lang:master Feb 4, 2019
@dwijnand dwijnand deleted the cargo-test-help branch February 4, 2019 17:05
bors added a commit to rust-lang/rust that referenced this pull request Feb 10, 2019
Bump cargo to 865cb70

Merged PRs:

* Replace util::without_prefix with Path::strip_prefix rust-lang/cargo#6620
* keep track of crates that are whitelisted to be used even if yanked rust-lang/cargo#6611
* Fix default DYLD_FALLBACK_LIBRARY_PATH on MacOS. rust-lang/cargo#6625
* Bail when trying to run "test --doc --no-run" rust-lang/cargo#6628
* In cargo test's help, add that examples are built rust-lang/cargo#6619
* Extract & re-use filter_targets in cargo_compile rust-lang/cargo#6621
* Test cleanup: remove unnecessary with_status(0) rust-lang/cargo#6630
* Fix run's help message rust-lang/cargo#6631
* Some updates to bash completion. rust-lang/cargo#6644
* Introduce Source::download_now rust-lang/cargo#6637
* Switch from unused_imports to deprecated to test unfixable warnings rust-lang/cargo#6649
bors added a commit to rust-lang/rust that referenced this pull request Feb 11, 2019
Bump cargo to 865cb70

Merged PRs:

* Replace util::without_prefix with Path::strip_prefix rust-lang/cargo#6620
* keep track of crates that are whitelisted to be used even if yanked rust-lang/cargo#6611
* Fix default DYLD_FALLBACK_LIBRARY_PATH on MacOS. rust-lang/cargo#6625
* Bail when trying to run "test --doc --no-run" rust-lang/cargo#6628
* In cargo test's help, add that examples are built rust-lang/cargo#6619
* Extract & re-use filter_targets in cargo_compile rust-lang/cargo#6621
* Test cleanup: remove unnecessary with_status(0) rust-lang/cargo#6630
* Fix run's help message rust-lang/cargo#6631
* Some updates to bash completion. rust-lang/cargo#6644
* Introduce Source::download_now rust-lang/cargo#6637
* Switch from unused_imports to deprecated to test unfixable warnings rust-lang/cargo#6649
@ehuss ehuss added this to the 1.34.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a --no-examples switch to cargo test

5 participants