File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
tests/integrations/dep-fail Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,14 @@ impl Default for DependencyBuilder {
385385 fn default ( ) -> Self {
386386 Self {
387387 crate_manifest_path : PathBuf :: from ( "Cargo.toml" ) ,
388- program : CommandBuilder :: cargo ( ) ,
388+ program : CommandBuilder {
389+ // We don't need any of the other flags that are useful by default
390+ // for running cargo in ui_tests. The dependency builder output
391+ // is never recorded into .stderr files, so colors, ordering
392+ // and verbosity is not important.
393+ args : vec ! [ "build" . into( ) ] ,
394+ ..CommandBuilder :: cargo ( )
395+ } ,
389396 build_std : None ,
390397 bless_lockfile : false ,
391398 }
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ Building dependencies ... FAILED
77tests/ui/basic_test.rs ... FAILED
88
99FAILED TEST: tests/ui/basic_test.rs
10- command: "$CMD" "build" "--color=never" "--quiet" "--jobs" "1" "-- target-dir" "$DIR/tests/integrations/dep-fail/target/ui/0" "--manifest-path" "tested_crate/Cargo.toml" "--message-format=json"
10+ command: "$CMD" "build" "--target-dir" "$DIR/tests/integrations/dep-fail/target/ui/0" "--manifest-path" "tested_crate/Cargo.toml" "--message-format=json"
1111
1212full stderr:
13+ Compiling tested_crate v0.1.0-dev ($DIR/tests/integrations/dep-fail/tested_crate)
1314error: could not compile `tested_crate` (lib) due to 1 previous error
1415
1516full stdout:
Original file line number Diff line number Diff line change 1+ # @normalize-stdout-test: " *Blocking waiting for file lock on package cache\n" -> ""
2+
13[package ]
24name = " compile_test"
35version = " 0.1.0"
You can’t perform that action at this time.
0 commit comments