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 @@ -119,8 +119,31 @@ fn basic() {
119119
120120"# ] ] )
121121 . run ( ) ;
122- p. cargo ( "run" ) . build_std ( ) . target_host ( ) . run ( ) ;
123- p. cargo ( "test" ) . build_std ( ) . target_host ( ) . run ( ) ;
122+ p. cargo ( "run" )
123+ . build_std ( )
124+ . target_host ( )
125+ . with_stderr_data ( str![ [ r#"
126+ [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
127+ [RUNNING] `target/[HOST_TARGET]/debug/foo`
128+
129+ "# ] ] )
130+ . run ( ) ;
131+ p. cargo ( "test" )
132+ . build_std ( )
133+ . target_host ( )
134+ . with_stderr_data ( str![ [ r#"
135+ [COMPILING] rustc-std-workspace-std [..]
136+ ...
137+ [COMPILING] test v0.0.0 ([..])
138+ [COMPILING] foo v0.0.1 ([ROOT]/foo)
139+ [FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
140+ [RUNNING] unittests src/lib.rs (target/[HOST_TARGET]/debug/deps/foo-[HASH])
141+ [RUNNING] unittests src/main.rs (target/[HOST_TARGET]/debug/deps/foo-[HASH])
142+ [RUNNING] tests/smoke.rs (target/[HOST_TARGET]/debug/deps/smoke-[HASH])
143+ [DOCTEST] foo
144+
145+ "# ] ] )
146+ . run ( ) ;
124147
125148 // Check for hack that removes dylibs.
126149 let deps_dir = Path :: new ( "target" )
You can’t perform that action at this time.
0 commit comments