File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -116,11 +116,13 @@ impl TestCase {
116116 opts : & Opts ,
117117 test_opts : & TestOpts ,
118118 ) -> Result < Option < Vec < PathBuf > > , TestError > {
119- let ( chip_dir, mut process_stderr_paths) = self . setup_case (
120- & opts. output_dir ,
121- & test_opts. current_bin_path ,
122- test_opts. command . as_deref ( ) ,
123- ) ?;
119+ let ( chip_dir, mut process_stderr_paths) = self
120+ . setup_case (
121+ & opts. output_dir ,
122+ & test_opts. current_bin_path ,
123+ test_opts. command . as_deref ( ) ,
124+ )
125+ . with_context ( || anyhow ! ( "when setting up case for {}" , self . name( ) ) ) ?;
124126 // Run `cargo check`, capturing stderr to a log file
125127 let cargo_check_err_file = path_helper_base ( & chip_dir, & [ "cargo-check.err.log" ] ) ;
126128 let output = Command :: new ( "cargo" )
You can’t perform that action at this time.
0 commit comments