mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
test(build-std): download deps first
So that we can assert the full output of `cargo test` without wildcard
This commit is contained in:
parent
8ba3ec2895
commit
47c2095b1d
@ -379,6 +379,9 @@ fn test_proc_macro() {
|
|||||||
.file("src/lib.rs", "")
|
.file("src/lib.rs", "")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
// Download dependencies first,
|
||||||
|
// so we can compare `cargo test` output without any wildcard
|
||||||
|
p.cargo("fetch").build_std().run();
|
||||||
p.cargo("test --lib")
|
p.cargo("test --lib")
|
||||||
.env_remove(cargo_util::paths::dylib_path_envvar())
|
.env_remove(cargo_util::paths::dylib_path_envvar())
|
||||||
.build_std()
|
.build_std()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user