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 {
116
116
opts : & Opts ,
117
117
test_opts : & TestOpts ,
118
118
) -> 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( ) ) ) ?;
124
126
// Run `cargo check`, capturing stderr to a log file
125
127
let cargo_check_err_file = path_helper_base ( & chip_dir, & [ "cargo-check.err.log" ] ) ;
126
128
let output = Command :: new ( "cargo" )
You can’t perform that action at this time.
0 commit comments