From 3aa3816b42f94648f0f2b8cdf89f8a2d1494497b Mon Sep 17 00:00:00 2001 From: zhaozhibo Date: Thu, 13 Oct 2022 16:23:40 +0800 Subject: [PATCH] fix codeCheck warnings Signed-off-by: zhaozhibo --- build/compile_script/ark.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/compile_script/ark.py b/build/compile_script/ark.py index d9b68a7c..68331b48 100644 --- a/build/compile_script/ark.py +++ b/build/compile_script/ark.py @@ -153,7 +153,7 @@ def Get_templete(args_list): else: is_debug = "is_debug = false" all_part = (is_debug + "\n" + target_os + "\n" + target_cpu) - return [global_arche, global_mode, global_target, global_clean, USER_ARGS_TEMPLATE%(all_part), global_test] + return [global_arche, global_mode, global_target, global_clean, USER_ARGS_TEMPLATE % (all_part), global_test] def Build(template): @@ -197,7 +197,7 @@ def RunTest(template): test_dir = arch + "." + mode test262_code = '''cd ets_frontend python3 test262/run_test262.py --es2021 all --timeout 180000 --libs-dir ../out/%s:../prebuilts/clang/ohos/linux-x86_64/llvm/lib --ark-tool=../out/%s/ark/ark_js_runtime/ark_js_vm --ark-frontend-binary=../out/%s/clang_x64/ark/ark/es2abc --merge-abc-binary=../out/%s/clang_x64/ark/ark/merge_abc --ark-frontend=es2panda - '''%(test_dir, test_dir, test_dir, test_dir) + ''' % (test_dir, test_dir, test_dir, test_dir) if ("-test262" == test): print("=== come to test ===") return _Call(test262_code) -- Gitee