Skip to content

Commit

Permalink
test(freshness): Add [EXE] to also pass on msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
choznerol committed Jun 29, 2024
1 parent 281d123 commit 46f04e8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/testsuite/freshness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ fn changing_profiles_caches_targets() {
.with_stderr_data(str![[r#"
[COMPILING] foo v0.0.1 ([ROOT]/foo)
[FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
[RUNNING] unittests src/lib.rs (target/debug/deps/foo-[HASH])
[RUNNING] unittests src/lib.rs (target/debug/deps/foo-[HASH][EXE])
[DOCTEST] foo
"#]])
Expand Down Expand Up @@ -405,7 +405,7 @@ ftest off
[COMPILING] dep_crate v0.0.1 ([ROOT]/foo/dep_crate)
[COMPILING] a v0.0.1 ([ROOT]/foo/a)
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
[RUNNING] `[ROOT]/foo/./target/debug/a`
[RUNNING] `[ROOT]/foo/./target/debug/a[EXE]`
"#]])
.run();
Expand Down Expand Up @@ -693,8 +693,8 @@ fn no_rebuild_transitive_target_deps() {
[COMPILING] b v0.0.1 ([ROOT]/foo/b)
[COMPILING] foo v0.0.1 ([ROOT]/foo)
[FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
[EXECUTABLE] unittests src/lib.rs (target/debug/deps/foo-[HASH])
[EXECUTABLE] tests/foo.rs (target/debug/deps/foo-[HASH])
[EXECUTABLE] unittests src/lib.rs (target/debug/deps/foo-[HASH][EXE])
[EXECUTABLE] tests/foo.rs (target/debug/deps/foo-[HASH][EXE])
"#]])
.run();
Expand Down Expand Up @@ -1278,7 +1278,7 @@ fn reuse_workspace_lib() {
[COMPILING] baz v0.1.1 ([ROOT]/foo/baz)
[RUNNING] `rustc --crate-name baz [..]
[FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
[EXECUTABLE] `[ROOT]/foo/target/debug/deps/baz-[HASH]`
[EXECUTABLE] `[ROOT]/foo/target/debug/deps/baz-[HASH][EXE]`
"#]])
.run();
Expand Down Expand Up @@ -1567,7 +1567,7 @@ fn reuse_panic_build_dep_test() {
[RUNNING] `[ROOT]/foo/target/debug/build/foo-[HASH]/build-script-build`
[RUNNING] `rustc --crate-name foo [..] src/lib.rs [..]--test[..]
[FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
[EXECUTABLE] `[ROOT]/foo/target/debug/deps/foo-[HASH]`
[EXECUTABLE] `[ROOT]/foo/target/debug/deps/foo-[HASH][EXE]`
"#]])
.run();
Expand Down Expand Up @@ -2745,7 +2745,7 @@ fn linking_interrupted() {
[RUNNING] `rustc --crate-name foo [..]
[RUNNING] `rustc --crate-name t1 [..]
[FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
[RUNNING] `[ROOT]/foo/target/debug/deps/t1-[HASH]`
[RUNNING] `[ROOT]/foo/target/debug/deps/t1-[HASH][EXE]`
"#]])
.run();
Expand Down

0 comments on commit 46f04e8

Please sign in to comment.