@@ -70,7 +70,8 @@ pub fn parse_config(args: Vec<String> ) -> Config {
7070 reqopt( "" , "run-lib-path" , "path to target shared libraries" , "PATH" ) ,
7171 reqopt( "" , "rustc-path" , "path to rustc to use for compiling" , "PATH" ) ,
7272 reqopt( "" , "rustdoc-path" , "path to rustdoc to use for compiling" , "PATH" ) ,
73- reqopt( "" , "python" , "path to python to use for doc tests" , "PATH" ) ,
73+ reqopt( "" , "lldb-python" , "path to python to use for doc tests" , "PATH" ) ,
74+ reqopt( "" , "docck-python" , "path to python to use for doc tests" , "PATH" ) ,
7475 optopt( "" , "valgrind-path" , "path to Valgrind executable for Valgrind tests" , "PROGRAM" ) ,
7576 optflag( "" , "force-valgrind" , "fail if Valgrind tests cannot be run under Valgrind" ) ,
7677 optopt( "" , "llvm-filecheck" , "path to LLVM's FileCheck binary" , "DIR" ) ,
@@ -140,7 +141,8 @@ pub fn parse_config(args: Vec<String> ) -> Config {
140141 run_lib_path : make_absolute ( opt_path ( matches, "run-lib-path" ) ) ,
141142 rustc_path : opt_path ( matches, "rustc-path" ) ,
142143 rustdoc_path : opt_path ( matches, "rustdoc-path" ) ,
143- python : matches. opt_str ( "python" ) . unwrap ( ) ,
144+ lldb_python : matches. opt_str ( "lldb-python" ) . unwrap ( ) ,
145+ docck_python : matches. opt_str ( "docck-python" ) . unwrap ( ) ,
144146 valgrind_path : matches. opt_str ( "valgrind-path" ) ,
145147 force_valgrind : matches. opt_present ( "force-valgrind" ) ,
146148 llvm_filecheck : matches. opt_str ( "llvm-filecheck" ) . map ( |s| PathBuf :: from ( & s) ) ,
0 commit comments