• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("../../js_runtime_config.gni")
15
16group("ark_jit_ts_test") {
17  testonly = true
18  test_list = [
19    "bytecode_to_cir_with_insufficient_profile_009",
20    "bytecode_to_cir_with_insufficient_profile_010",
21    "lower_jscode_0001",
22    "lower_jscode_0002",
23    "arguments",
24    "builtin_constructor",
25    "create_arguments",
26    "deopt",
27    "function_reuse",
28    "icnotfound",
29    "intern_string_strict_equal_1",
30    "intern_string_strict_equal_2",
31    "isin",
32    "try_catch_empty",
33    "try_catch_throw",
34    "try_catch_throw2",
35    "ldobjbyname",
36    "lazy_deopt_1",
37    "lazy_deopt_2",
38    "lazy_deopt_3",
39    "lazy_deopt_4",
40    "lazy_deopt_5",
41    "lazy_deopt_6",
42    "lazy_deopt_7",
43    "lazy_deopt_8",
44    "lazy_deopt_9",
45    "lazy_deopt_10",
46    "lazy_deopt_11",
47    "lazy_deopt_12",
48    "lazy_deopt_13",
49    "lazy_deopt_14",
50    "lazy_deopt_15",
51    "lazy_deopt_17",
52    "lazy_deopt_18",
53    "lazy_deopt_19",
54    "lazy_deopt_20",
55    "lazy_deopt_21",
56    "lazy_deopt_22",
57    "lazy_deopt_23",
58    "lazy_deopt_24",
59    "lazy_deopt_25",
60    "lazy_deopt_26",
61    "lazy_deopt_27",
62    "lazy_deopt_module_var",
63    "for_loop",
64    "for_of",
65    "typed_array",
66    "while_loop",
67    "exception",
68    "data_view",
69    "pgo_ldobjbyvalue_string",
70    "pgo_ldobjbyvalue_symbol",
71    "pgo_stobjbyvalue",
72    "construct_with_normal_function",
73    "addition_assignment",
74    "catch_with_osr",
75    "jit_test_0001",
76    "jit_test_0002",
77    "wide_call_range_pref_imm16v8",
78    "string_length",
79    "ts_inline",
80    "proxy_fast_call",
81    "fuzz_exception",
82    "utf16key",
83    "throw_error",
84    "compiler_inline",
85    "uint32_array",
86    "inc",
87    "uncheck_float64_to_int32",
88    "retype_convert_test",
89    "stack_overflow",
90    "module",
91    "mega_ic_test",
92    "mega_ic_test_timeout",
93    "ldobjbyvalue_mono_opt",
94    "ldobjbyvalue_mono_proto",
95    "ldobjbyvalue_mono_proto_getter",
96    "ldobjbyvalue_deopt_string_check",
97    "ldobjbyvalue_deopt_key_check",
98    "newobj_check",
99    "boolean_number_ic",
100    "boolean_new_boolean_poly",
101    "boolean_change_proto_ic",
102    "neg_int_min",
103    "hole_in_array",
104    "definefunc",
105    "jnez",
106    "constructor",
107    "intrinsic_test",
108    "intrinsic_test2",
109    "ldobjbyvalue_load_element",
110    "negative_zero",
111  ]
112
113  # Until we support barriers for HeapConstant table
114  if (defined(ets_runtime_enable_cmc_gc) && ets_runtime_enable_cmc_gc) {
115    test_list -= [
116      "boolean_new_boolean_poly",
117      "boolean_change_proto_ic",
118      "intrinsic_test",
119      "lazy_deopt_1",
120      "lazy_deopt_2",
121      "lazy_deopt_3",
122      "lazy_deopt_4",
123      "lazy_deopt_5",
124      "lazy_deopt_6",
125      "lazy_deopt_7",
126      "lazy_deopt_8",
127      "lazy_deopt_9",
128      "lazy_deopt_10",
129      "lazy_deopt_11",
130      "lazy_deopt_12",
131      "lazy_deopt_13",
132      "lazy_deopt_14",
133      "lazy_deopt_15",
134      "lazy_deopt_17",
135      "lazy_deopt_18",
136      "lazy_deopt_19",
137      "lazy_deopt_20",
138      "lazy_deopt_21",
139      "lazy_deopt_22",
140      "lazy_deopt_23",
141      "lazy_deopt_24",
142      "lazy_deopt_25",
143      "lazy_deopt_26",
144      "lazy_deopt_27",
145      "ldobjbyvalue_deopt_string_check",
146      "ldobjbyvalue_mono_proto",
147      "ldobjbyvalue_deopt_key_check",
148      "ldobjbyvalue_mono_opt",
149      "ldobjbyvalue_mono_proto_getter",
150      "newobj_check",
151    ]
152  }
153
154  deps = [ "pgo_roottype_test:pgo_roottype_test" ]
155  foreach(test, test_list) {
156    deps += [ "${test}:${test}JitAction" ]
157  }
158}
159
160group("ark_jit_test") {
161  testonly = true
162  deps = [ ":ark_jit_ts_test" ]
163
164  if (is_mac) {
165    deps -= [ ":ark_jit_ts_test" ]
166  }
167}
168