@@ -29,11 +29,11 @@ fn profile_override_basic() {
29
29
. file ( "bar/src/lib.rs" , "" )
30
30
. build ( ) ;
31
31
32
- p. cargo ( "build -v" )
32
+ p. cargo ( "check -v" )
33
33
. with_stderr (
34
- "[COMPILING ] bar [..]
34
+ "[CHECKING ] bar [..]
35
35
[RUNNING] `rustc --crate-name bar [..] -C opt-level=3 [..]`
36
- [COMPILING ] foo [..]
36
+ [CHECKING ] foo [..]
37
37
[RUNNING] `rustc --crate-name foo [..] -C opt-level=1 [..]`
38
38
[FINISHED] dev [optimized + debuginfo] target(s) in [..]" ,
39
39
)
@@ -125,7 +125,7 @@ fn profile_override_bad_settings() {
125
125
. file ( "bar/src/lib.rs" , "" )
126
126
. build ( ) ;
127
127
128
- p. cargo ( "build " )
128
+ p. cargo ( "check " )
129
129
. with_status ( 101 )
130
130
. with_stderr_contains ( format ! ( "Caused by:\n {}" , expected) )
131
131
. run ( ) ;
@@ -257,7 +257,7 @@ fn profile_override_spec_multiple() {
257
257
. file ( "bar/src/lib.rs" , "" )
258
258
. build ( ) ;
259
259
260
- p. cargo ( "build -v" )
260
+ p. cargo ( "check -v" )
261
261
. with_status ( 101 )
262
262
. with_stderr_contains (
263
263
"\
@@ -323,7 +323,7 @@ fn profile_override_spec() {
323
323
. file ( "src/lib.rs" , "" )
324
324
. build ( ) ;
325
325
326
- p. cargo ( "build -v" )
326
+ p. cargo ( "check -v" )
327
327
. with_stderr_contains ( "[RUNNING] `rustc [..]dep1/src/lib.rs [..] -C codegen-units=1 [..]" )
328
328
. with_stderr_contains ( "[RUNNING] `rustc [..]dep2/src/lib.rs [..] -C codegen-units=2 [..]" )
329
329
. run ( ) ;
@@ -378,7 +378,7 @@ fn override_proc_macro() {
378
378
)
379
379
. build ( ) ;
380
380
381
- p. cargo ( "build -v" )
381
+ p. cargo ( "check -v" )
382
382
// Shared built for the proc-macro.
383
383
. with_stderr_contains ( "[RUNNING] `rustc [..]--crate-name shared [..]-C codegen-units=4[..]" )
384
384
// Shared built for the library.
@@ -414,10 +414,10 @@ fn no_warning_ws() {
414
414
. file ( "b/src/lib.rs" , "" )
415
415
. build ( ) ;
416
416
417
- p. cargo ( "build -p b" )
417
+ p. cargo ( "check -p b" )
418
418
. with_stderr (
419
419
"\
420
- [COMPILING ] b [..]
420
+ [CHECKING ] b [..]
421
421
[FINISHED] [..]
422
422
" ,
423
423
)
0 commit comments