@@ -60,7 +60,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
6060 . optopt ( "" , "rust-demangler-path" , "path to rust-demangler to use in tests" , "PATH" )
6161 . reqopt ( "" , "lldb-python" , "path to python to use for doc tests" , "PATH" )
6262 . reqopt ( "" , "docck-python" , "path to python to use for doc tests" , "PATH" )
63- . reqopt ( "" , "jsondocck-path" , "path to jsondocck to use for doc tests" , "PATH" )
63+ . optopt ( "" , "jsondocck-path" , "path to jsondocck to use for doc tests" , "PATH" )
6464 . optopt ( "" , "valgrind-path" , "path to Valgrind executable for Valgrind tests" , "PROGRAM" )
6565 . optflag ( "" , "force-valgrind" , "fail if Valgrind tests cannot be run under Valgrind" )
6666 . optopt ( "" , "run-clang-based-tests-with" , "path to Clang executable" , "PATH" )
@@ -208,7 +208,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
208208 rust_demangler_path : matches. opt_str ( "rust-demangler-path" ) . map ( PathBuf :: from) ,
209209 lldb_python : matches. opt_str ( "lldb-python" ) . unwrap ( ) ,
210210 docck_python : matches. opt_str ( "docck-python" ) . unwrap ( ) ,
211- jsondocck_path : matches. opt_str ( "jsondocck-path" ) . unwrap ( ) ,
211+ jsondocck_path : matches. opt_str ( "jsondocck-path" ) ,
212212 valgrind_path : matches. opt_str ( "valgrind-path" ) ,
213213 force_valgrind : matches. opt_present ( "force-valgrind" ) ,
214214 run_clang_based_tests_with : matches. opt_str ( "run-clang-based-tests-with" ) ,
0 commit comments