Lines Matching refs:args
111 def execute_shell_script(script_path, args):
112 command = ['bash', script_path] + args
137 def configure_environment(args, code_v, tools_type):
139 if args.swift_tools_path:
140 swift_tools_path = args.swift_tools_path
142 if args.Ninja_ReleaseAssert:
143 ninja_releaseAssert = args.Ninja_ReleaseAssert
145 f"--ts-tools-path {args.code_path}\n" \
151 args = os.O_RDWR | os.O_CREAT
152 file_descriptor = os.open('toolspath.txt', args, stat.S_IRUSR | stat.S_IWUSR)
158 args = os.O_RDWR | os.O_CREAT | os.O_APPEND
159 file_descriptor = os.open(file_path, args, stat.S_IRUSR | stat.S_IWUSR)
262 def main(args):
265 prepare_workload_code(args.code_path)
266 print("run_interpreter: " + str(args.run_interpreter))
268 if args.tools_type:
269 tools_type = args.tools_type
271 if args.boundary_value:
272 boundary_value = args.boundary_value
274 if args.run_count:
275 run_count = args.run_count
277 if args.code_v:
278 code_v = args.code_v
279 if args.run_aot:
282 configure_environment(args, code_v, tools_type)
287 if args.run_interpreter:
295 if args.report:
297 report(int(args.boundary_value))
299 print('args.boundary_value value should be a number')