mirror of
https://github.com/rust-lang/cargo
synced 2024-10-13 19:22:33 +00:00
fix tests
This commit is contained in:
parent
4969b1924f
commit
a6c1459f37
|
@ -1209,8 +1209,8 @@ fn test_bench_no_run() {
|
||||||
"\
|
"\
|
||||||
[COMPILING] foo v0.0.1 ([..])
|
[COMPILING] foo v0.0.1 ([..])
|
||||||
[FINISHED] bench [optimized] target(s) in [..]
|
[FINISHED] bench [optimized] target(s) in [..]
|
||||||
[EXECUTABLE] [..] (target/release/deps/foo-[..][EXE])
|
[EXECUTABLE] unittests (target/release/deps/foo-[..][EXE])
|
||||||
[EXECUTABLE] [..] (target/release/deps/bbaz-[..][EXE])
|
[EXECUTABLE] unittests (target/release/deps/bbaz-[..][EXE])
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
|
|
|
@ -2074,7 +2074,7 @@ fn minimal_download() {
|
||||||
[COMPILING] dev_dep v1.0.0
|
[COMPILING] dev_dep v1.0.0
|
||||||
[COMPILING] foo v0.1.0 [..]
|
[COMPILING] foo v0.1.0 [..]
|
||||||
[FINISHED] [..]
|
[FINISHED] [..]
|
||||||
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE])
|
[EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
|
|
|
@ -596,8 +596,8 @@ fn no_rebuild_transitive_target_deps() {
|
||||||
[COMPILING] b v0.0.1 ([..])
|
[COMPILING] b v0.0.1 ([..])
|
||||||
[COMPILING] foo v0.0.1 ([..])
|
[COMPILING] foo v0.0.1 ([..])
|
||||||
[FINISHED] test [unoptimized + debuginfo] target(s) in [..]
|
[FINISHED] test [unoptimized + debuginfo] target(s) in [..]
|
||||||
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE])
|
[EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
|
||||||
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE])
|
[EXECUTABLE] tests/foo.rs (target/debug/deps/foo-[..][EXE])
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
|
|
|
@ -63,7 +63,7 @@ fn deduplicate_messages_basic() {
|
||||||
warning: `foo` (lib) generated 1 warning
|
warning: `foo` (lib) generated 1 warning
|
||||||
warning: `foo` (lib test) generated 1 warning (1 duplicate)
|
warning: `foo` (lib test) generated 1 warning (1 duplicate)
|
||||||
[FINISHED] [..]
|
[FINISHED] [..]
|
||||||
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE])
|
[EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
|
||||||
",
|
",
|
||||||
rustc_message
|
rustc_message
|
||||||
);
|
);
|
||||||
|
@ -107,7 +107,7 @@ warning: `foo` (lib) generated 1 warning
|
||||||
{}\
|
{}\
|
||||||
warning: `foo` (lib test) generated 2 warnings (1 duplicate)
|
warning: `foo` (lib test) generated 2 warnings (1 duplicate)
|
||||||
[FINISHED] [..]
|
[FINISHED] [..]
|
||||||
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE])
|
[EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
|
||||||
",
|
",
|
||||||
lib_output, lib_test_output
|
lib_output, lib_test_output
|
||||||
);
|
);
|
||||||
|
|
|
@ -1346,7 +1346,7 @@ fn test_no_run() {
|
||||||
"\
|
"\
|
||||||
[COMPILING] foo v0.0.1 ([CWD])
|
[COMPILING] foo v0.0.1 ([CWD])
|
||||||
[FINISHED] test [unoptimized + debuginfo] target(s) in [..]
|
[FINISHED] test [unoptimized + debuginfo] target(s) in [..]
|
||||||
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE])
|
[EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
|
||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
|
|
Loading…
Reference in a new issue