From 8c97fe059aba8ec937bb9fbdee5a6a73099428b6 Mon Sep 17 00:00:00 2001 From: bergamot14 Date: Tue, 30 Jul 2024 22:08:46 +0300 Subject: [PATCH] Update ark.py Description: Testing: all tests passed Issue: Signed-off-by: Tokmakov Alexander Change-Id: If66539df644d724f916c5869ee98f63c77ef4958 --- build/compile_script/ark.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/compile_script/ark.py b/build/compile_script/ark.py index 53faada5..f27b10a6 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): -- Gitee