diff --git a/build/compile_script/ark.py b/build/compile_script/ark.py index 53faada5da0d68c7e7e32805baa6ec6329143c2e..f27b10a6a4d5981c35d1134343bc94b05e8d2f41 100755 --- a/build/compile_script/ark.py +++ b/build/compile_script/ark.py @@ -322,7 +322,7 @@ class ArkPy: " --ark-tool=../../{1}/arkcompiler/ets_runtime/ark_js_vm" \ " --ark-frontend-binary=../../{2}/arkcompiler/ets_frontend/es2abc" \ " --merge-abc-binary=../../{2}/arkcompiler/ets_frontend/merge_abc" \ - " --ark-frontend=es2panda".format(args_to_test262_cmd, out_path, x64_out_path) + " --ark-frontend=es2panda".format(args_to_test262_cmd, out_path, x64_out_path, timeout) else: test262_cmd = "cd arkcompiler/ets_frontend && python3 test262/run_test262.py {0} --timeout {2}" \ " --libs-dir ../../prebuilts/clang/ohos/linux-x86_64/llvm/lib" \ @@ -730,6 +730,8 @@ class ArkPy: x64_out_path = 'out/x64.release' if 'debug' in out_path: x64_out_path = 'out/x64.debug' + if 'fastverify' in out_path: + x64_out_path = 'out/x64.fastverify' gn_args.append("so_dir_for_qemu=\"../../{0}/common/common/libc/\"".format(out_path)) gn_args.append("run_with_qemu=true".format(out_path)) if not os.path.exists(x64_out_path):