@@ -70,7 +70,8 @@ pub fn parse_config(args: Vec<String> ) -> Config {
70
70
reqopt( "" , "run-lib-path" , "path to target shared libraries" , "PATH" ) ,
71
71
reqopt( "" , "rustc-path" , "path to rustc to use for compiling" , "PATH" ) ,
72
72
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" ) ,
74
75
optopt( "" , "valgrind-path" , "path to Valgrind executable for Valgrind tests" , "PROGRAM" ) ,
75
76
optflag( "" , "force-valgrind" , "fail if Valgrind tests cannot be run under Valgrind" ) ,
76
77
optopt( "" , "llvm-filecheck" , "path to LLVM's FileCheck binary" , "DIR" ) ,
@@ -140,7 +141,8 @@ pub fn parse_config(args: Vec<String> ) -> Config {
140
141
run_lib_path : make_absolute ( opt_path ( matches, "run-lib-path" ) ) ,
141
142
rustc_path : opt_path ( matches, "rustc-path" ) ,
142
143
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 ( ) ,
144
146
valgrind_path : matches. opt_str ( "valgrind-path" ) ,
145
147
force_valgrind : matches. opt_present ( "force-valgrind" ) ,
146
148
llvm_filecheck : matches. opt_str ( "llvm-filecheck" ) . map ( |s| PathBuf :: from ( & s) ) ,
0 commit comments