def run(file_name, func_name): program_text = open(file_name,'r').read() user_mod = load_module(splitext(basename(file_name))[0],file_name) user_func = getattr(user_mod,func_name) input_dict = run_DART(program_text,user_func) results = run_Daikon(program_text,user_func,input_dict) print_results(results)
def run(file_name, func_name): program_text = open(file_name, 'r').read() user_mod = load_module(splitext(basename(file_name))[0], file_name) user_func = getattr(user_mod, func_name) input_dict = run_DART(program_text, user_func) results = run_Daikon(program_text, user_func, input_dict) print print print_results(results)
def run(program_text, func, input_list): return run_Daikon(program_text,func,input_list)
def run(program_text, func, input_list): return run_Daikon(program_text, func, input_list)