File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
src/tools/compiletest/src/runtest Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -401,15 +401,13 @@ impl TestCx<'_> {
401
401
// Switch LLDB into "Rust mode".
402
402
let rust_pp_module_abs_path = self . config . src_root . join ( "src/etc" ) ;
403
403
404
- if self . props . debug_pretty_printers {
405
- script_str. push_str ( & format ! (
406
- "command script import {}/lldb_lookup.py\n " ,
407
- rust_pp_module_abs_path
408
- ) ) ;
409
- File :: open ( rust_pp_module_abs_path. join ( "lldb_commands" ) )
410
- . and_then ( |mut file| file. read_to_string ( & mut script_str) )
411
- . expect ( "Failed to read lldb_commands" ) ;
412
- }
404
+ script_str. push_str ( & format ! (
405
+ "command script import {}/lldb_lookup.py\n " ,
406
+ rust_pp_module_abs_path
407
+ ) ) ;
408
+ File :: open ( rust_pp_module_abs_path. join ( "lldb_commands" ) )
409
+ . and_then ( |mut file| file. read_to_string ( & mut script_str) )
410
+ . expect ( "Failed to read lldb_commands" ) ;
413
411
414
412
// Set breakpoints on every line that contains the string "#break"
415
413
let source_file_name = self . testpaths . file . file_name ( ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments