From fa7735906397788d6b7386551011d3793d2f588b Mon Sep 17 00:00:00 2001 From: hufeng Date: Fri, 5 Aug 2022 15:48:03 +0800 Subject: [PATCH] Fix dependencies module abc generation failure Description: Using the arg's frontend tool instead of the default. Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I5KXS7 Signed-off-by: hufeng Change-Id: I3cf650d55da81d53b21430804ecec0c5d530a3f7 --- test262/run_sunspider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test262/run_sunspider.py b/test262/run_sunspider.py index 806504521f..86faf8c41b 100755 --- a/test262/run_sunspider.py +++ b/test262/run_sunspider.py @@ -217,7 +217,7 @@ class ArkProgram(): cmd_args = [] output_file = os.path.splitext(os.path.join(BASE_OUT_DIR, os.path.split(dependency)[1]))[0] output_abc = f"{output_file}.abc" - frontend_tool = ARK_FRONTEND_BINARY_LIST[1] + frontend_tool = self.ark_frontend_binary cmd_args = [frontend_tool, dependency, '--output', output_abc, '--module'] proc = subprocess.Popen(cmd_args) proc.wait() -- Gitee