File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,31 @@ fn basic() {
121
121
122
122
"# ] ] )
123
123
. run ( ) ;
124
- p. cargo ( "run" ) . build_std ( ) . target_host ( ) . run ( ) ;
125
- p. cargo ( "test" ) . build_std ( ) . target_host ( ) . run ( ) ;
124
+ p. cargo ( "run" )
125
+ . build_std ( )
126
+ . target_host ( )
127
+ . with_stderr_data ( str![ [ r#"
128
+ [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
129
+ [RUNNING] `target/[HOST_TARGET]/debug/foo`
130
+
131
+ "# ] ] )
132
+ . run ( ) ;
133
+ p. cargo ( "test" )
134
+ . build_std ( )
135
+ . target_host ( )
136
+ . with_stderr_data ( str![ [ r#"
137
+ [COMPILING] rustc-std-workspace-std [..]
138
+ ...
139
+ [COMPILING] test v0.0.0 ([..])
140
+ [COMPILING] foo v0.0.1 ([ROOT]/foo)
141
+ [FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
142
+ [RUNNING] unittests src/lib.rs (target/[HOST_TARGET]/debug/deps/foo-[HASH])
143
+ [RUNNING] unittests src/main.rs (target/[HOST_TARGET]/debug/deps/foo-[HASH])
144
+ [RUNNING] tests/smoke.rs (target/[HOST_TARGET]/debug/deps/smoke-[HASH])
145
+ [DOCTEST] foo
146
+
147
+ "# ] ] )
148
+ . run ( ) ;
126
149
127
150
// Check for hack that removes dylibs.
128
151
let deps_dir = Path :: new ( "target" )
You can’t perform that action at this time.
0 commit comments