File tree 1 file changed +2
-2
lines changed
src/tools/compiletest/src/runtest
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ impl TestCx<'_> {
24
24
let pm = self . pass_mode ( ) ;
25
25
let should_run = self . should_run ( pm) ;
26
26
let emit_metadata = self . should_emit_metadata ( pm) ;
27
- let proc_res = self . compile_test ( should_run, emit_metadata) ;
27
+ let mut proc_res = self . compile_test ( should_run, emit_metadata) ;
28
28
self . check_if_test_should_compile ( self . props . fail_mode , pm, & proc_res) ;
29
29
if matches ! ( proc_res. truncated, Truncated :: Yes )
30
30
&& !self . props . dont_check_compiler_stdout
@@ -128,7 +128,7 @@ impl TestCx<'_> {
128
128
}
129
129
130
130
let output_to_check = if let WillExecute :: Yes = should_run {
131
- let proc_res = self . exec_compiled_test ( ) ;
131
+ proc_res = self . exec_compiled_test ( ) ;
132
132
let run_output_errors = if self . props . check_run_results {
133
133
self . load_compare_outputs ( & proc_res, TestOutput :: Run , explicit)
134
134
} else {
You can’t perform that action at this time.
0 commit comments