@@ -61,8 +61,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
61
61
. reqopt ( "" , "rustc-path" , "path to rustc to use for compiling" , "PATH" )
62
62
. optopt ( "" , "rustdoc-path" , "path to rustdoc to use for compiling" , "PATH" )
63
63
. 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" )
66
65
. optopt ( "" , "jsondocck-path" , "path to jsondocck to use for doc tests" , "PATH" )
67
66
. optopt ( "" , "valgrind-path" , "path to Valgrind executable for Valgrind tests" , "PROGRAM" )
68
67
. optflag ( "" , "force-valgrind" , "fail if Valgrind tests cannot be run under Valgrind" )
@@ -222,8 +221,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
222
221
rustc_path : opt_path ( matches, "rustc-path" ) ,
223
222
rustdoc_path : matches. opt_str ( "rustdoc-path" ) . map ( PathBuf :: from) ,
224
223
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 ( ) ,
227
225
jsondocck_path : matches. opt_str ( "jsondocck-path" ) ,
228
226
valgrind_path : matches. opt_str ( "valgrind-path" ) ,
229
227
force_valgrind : matches. opt_present ( "force-valgrind" ) ,
0 commit comments