diff --git a/build/compile_script/ark.py b/build/compile_script/ark.py index b33729390d40299d348b1992bc9fa4f2ae5a5ecd..908027c65ce3236887b3460ce69b0699e4f70fc1 100755 --- a/build/compile_script/ark.py +++ b/build/compile_script/ark.py @@ -506,6 +506,11 @@ class ArkPy: if threads_value: args_to_test262_cmd.extend([threads_name, threads_value]) + custom_skip_name = "--extra-exclude-list" + custom_skip_value, arg_list = ArkPy.parse_option(arg_list, option_name=custom_skip_name, default_value=None) + if custom_skip_value: + args_to_test262_cmd.extend([custom_skip_name, custom_skip_value]) + enable_rm = [arg for arg in arg_list if "enable-rm" in arg] if enable_rm: args_to_test262_cmd.append("--enable-rm") @@ -705,8 +710,9 @@ class ArkPy: help_msg += "\033[32mCommand template:\033[0m\n{}\n\n".format( " python3 ark.py \033[92m[os_cpu].[mode] [gn_target] [option]\033[0m\n" " python3 ark.py \033[92m[os_cpu].[mode] [test262] [none or --aot] " \ - "[none or --pgo] [none or --litecg] [none, file or dir] [none or --threads=X] [option]\033[0m\n" - " python3 ark.py \033[92m[os_cpu].[mode] [test262] [none or --jit] [none or --threads=X]\033[0m\n" + "[none or --pgo] [none or --litecg] [none, file or dir] [--threads X] " + "[--extra-exclude-list EXTRA_EXCLUDE_LIST_NAME] [option]\033[0m\n" + " python3 ark.py \033[92m[os_cpu].[mode] [test262] [none or --jit] [--threads=X]\033[0m\n" " python3 ark.py \033[92m[os_cpu].[mode] [test262] [none or --baseline-jit] [none or --enable-rm] " \ "[none or --threads=X]\033[0m\n" " python3 ark.py \033[92m[os_cpu].[mode] [unittest] [option]\033[0m\n"