@@ -61,8 +61,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
6161 . reqopt ( "" , "rustc-path" , "path to rustc to use for compiling" , "PATH" )
6262 . optopt ( "" , "rustdoc-path" , "path to rustdoc to use for compiling" , "PATH" )
6363 . optopt ( "" , "rust-demangler-path" , "path to rust-demangler to use in tests" , "PATH" )
64- . reqopt ( "" , "lldb-python" , "path to python to use for doc tests" , "PATH" )
65- . reqopt ( "" , "docck-python" , "path to python to use for doc tests" , "PATH" )
64+ . reqopt ( "" , "python" , "path to python to use for doc tests" , "PATH" )
6665 . optopt ( "" , "jsondocck-path" , "path to jsondocck to use for doc tests" , "PATH" )
6766 . optopt ( "" , "valgrind-path" , "path to Valgrind executable for Valgrind tests" , "PROGRAM" )
6867 . optflag ( "" , "force-valgrind" , "fail if Valgrind tests cannot be run under Valgrind" )
@@ -222,8 +221,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
222221 rustc_path : opt_path ( matches, "rustc-path" ) ,
223222 rustdoc_path : matches. opt_str ( "rustdoc-path" ) . map ( PathBuf :: from) ,
224223 rust_demangler_path : matches. opt_str ( "rust-demangler-path" ) . map ( PathBuf :: from) ,
225- lldb_python : matches. opt_str ( "lldb-python" ) . unwrap ( ) ,
226- docck_python : matches. opt_str ( "docck-python" ) . unwrap ( ) ,
224+ python : matches. opt_str ( "python" ) . unwrap ( ) ,
227225 jsondocck_path : matches. opt_str ( "jsondocck-path" ) ,
228226 valgrind_path : matches. opt_str ( "valgrind-path" ) ,
229227 force_valgrind : matches. opt_present ( "force-valgrind" ) ,
0 commit comments