@@ -726,18 +726,18 @@ fn run_debuginfo_lldb_test(config: &Config, props: &TestProps, testfile: &Path)
726
726
-> ProcRes {
727
727
// Prepare the lldb_batchmode which executes the debugger script
728
728
let lldb_script_path = rust_src_root. join ( "src/etc/lldb_batchmode.py" ) ;
729
- cmd2proces ( config,
730
- test_executable,
731
- Command :: new ( & config. python )
732
- . arg ( & lldb_script_path)
733
- . arg ( test_executable)
734
- . arg ( debugger_script)
735
- . env ( "PYTHONPATH" ,
736
- config. lldb_python_dir . as_ref ( ) . unwrap ( ) ) )
729
+ cmd2procres ( config,
730
+ test_executable,
731
+ Command :: new ( & config. python )
732
+ . arg ( & lldb_script_path)
733
+ . arg ( test_executable)
734
+ . arg ( debugger_script)
735
+ . env ( "PYTHONPATH" ,
736
+ config. lldb_python_dir . as_ref ( ) . unwrap ( ) ) )
737
737
}
738
738
}
739
739
740
- fn cmd2proces ( config : & Config , test_executable : & Path , cmd : & mut Command )
740
+ fn cmd2procres ( config : & Config , test_executable : & Path , cmd : & mut Command )
741
741
-> ProcRes {
742
742
let ( status, out, err) = match cmd. output ( ) {
743
743
Ok ( Output { status, stdout, stderr } ) => {
@@ -1828,12 +1828,12 @@ fn run_rustdoc_test(config: &Config, props: &TestProps, testfile: &Path) {
1828
1828
}
1829
1829
let root = find_rust_src_root ( config) . unwrap ( ) ;
1830
1830
1831
- let res = cmd2proces ( config,
1832
- testfile,
1833
- Command :: new ( & config. python )
1834
- . arg ( root. join ( "src/etc/htmldocck.py" ) )
1835
- . arg ( out_dir)
1836
- . arg ( testfile) ) ;
1831
+ let res = cmd2procres ( config,
1832
+ testfile,
1833
+ Command :: new ( & config. python )
1834
+ . arg ( root. join ( "src/etc/htmldocck.py" ) )
1835
+ . arg ( out_dir)
1836
+ . arg ( testfile) ) ;
1837
1837
if !res. status . success ( ) {
1838
1838
fatal_proc_rec ( "htmldocck failed!" , & res) ;
1839
1839
}
0 commit comments