Lines Matching full:args
49 parser.add_argument('--aot-args', metavar='args', help='pass to aot compiler args')
50 parser.add_argument('--jsvm-args', metavar='args', help='pass to jsvm args')
51 parser.add_argument('-i', '--info', action='store_true', help='add log level of info to args')
88 def __init__(self, args): argument
89 self.args = args
100 if args.builtin:
103 if args.step == 'hap':
105 if args.arm64:
108 if args.product:
109 self.product = match_list_name(PRODUCT_LIST, args.product)
111 if args.step:
112 self.step = args.step
113 if args.clean:
193 self.libs_dir = libs_dir[self.arm64][args.debug]
194 self.compiler = f'{product_dir}/{bins_dir[0][args.debug]}/ets_runtime/ark_aot_compiler'
195 self.jsvm = f'{product_dir}/{bins_dir[self.arm64][args.debug]}/ets_runtime/ark_js_vm'
203 if args.pgo:
205 …elf.aot_args = (f'{self.aot_args} --enable-pgo-profiler=true --pgo-hotness-threshold={args.pgo_th}'
207 if args.aot_args:
208 self.aot_args = f'{self.aot_args} {args.aot_args}'
209 if args.jsvm_args:
210 self.jsvm_args = f'{self.jsvm_args} {args.jsvm_args}'
211 if args.info:
215 self.runnerd = 'gdb --args'
224 if args.env:
227 if args.npm:
234 ret = run_command(cmd, self.args.timeout)
323 if (not self.args.tool) or (self.args.tool == 'aot'):
330 ret = self.run_cmd(cmd_map[self.args.tool])
384 files = self.find_file(self.args.name, [self.hap_abc, '.hap'])
403 if not self.args.all:
404 files = self.find_file(self.args.name, self.types[self.step])
408 print(f'input path no test case: {self.args.name}')
413 if not os.path.isdir(self.args.name):
414 print(f'input path not exists or is file: {self.args.name}')
416 files = self.find_file(self.args.name, self.types[self.step])
428 print(f'input path no test case: {self.args.name}')
444 args = parse_args()
445 arktest = ArkTest(args)