Lines Matching refs:cmd
237 cmd: List[str] = []
239 cmd = [Constants.HDC_PATH, "shell"]
247 cmd.append(run_cmd)
249 cmd = [Constants.ARK_JS_VM_PATH,
256 cmd = ["taskset", "-a", Constants.TASKSET_MASK] + cmd
257 return cmd
275 cmd = [Constants.ES2ABC_PATH, "--output", abc_file, js_file]
276 logger.info("run cmd: %s", cmd)
277 ret = subprocess.run(cmd, check=False)
279 logger.error("ret = %s, %s generate abc file failed. cmd: %s", str(ret), js_file, cmd)
307 cmd = get_ark_js_cmd(using_abc_file)
309 logger.info("run cmd: %s", cmd)
318 ret = subprocess.run(cmd, stdout=outfile)
321 logger.error("%s execute abc file failed. cmd: %s", js_file_name, cmd)
332 logger.info("%s execute abc file successfully. cmd: %s case_test_data: %s",
333 js_file_name, cmd, case_test_data)
650 cmd: List[str] = []
652 cmd = [Constants.HDC_PATH, "shell"]
654 cmd += ["taskset", "-a", Constants.TASKSET_MASK]
656 cmd += [Constants.V_8_ENGINED_PATH, js_file_path]
658 cmd += [Constants.V_8_ENGINED_PATH, parameter, js_file_path]
659 return cmd
683 cmd = get_v_8_cmd(cmd_para, used_js_file)
684 logger.info("run cmd:%s", cmd)
690 ret = subprocess.run(cmd, stdout=outfile, check=False)
694 logger.error("execute cmd failed. cmd: %s", cmd)
701 logger.info("v 8 excute %s successfully. cmd: %s", js_file_path, cmd)
786 logger.info("run cmd: %s", hdc_cmd)
790 def hdc_run(cmd: List[str]) -> int:
792 hdc_cmd = [Constants.HDC_PATH, "shell"] + cmd