• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 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
14group("ark_typeinfer_test") {
15  testonly = true
16
17  test_list = [
18    "add2dyn",
19    "assertTypeRules",
20    "binarysearch",
21    "bitwise_op",
22    "builtins",
23    "callarg0dyn",
24    "callarg1dyn",
25    "callargs2dyn",
26    "callargs3dyn",
27    "callirangedyn",
28    "callithisrange",
29    "callprimitivebuiltin",
30    "class",
31    "classwithproperty",
32    "createemptyarray",
33    "createemptyobject",
34    "createobjecthavingmethod",
35    "defineasyncfunc",
36    "defineclasswithbuffer",
37    "definefunctiondyn",
38    "definegeneratorfunc",
39    "div2dyn",
40    "getiterator",
41    "infergetterfunc",
42    "interface",
43    "ldboolean",
44    "ldglobalvar",
45    "ldinfinity",
46    "ldnan",
47    "ldnull",
48    "ldobjbyindex",
49    "ldobjbyname",
50    "ldobjbyvalue",
51    "ldsuperproperty",
52    "ldundefined",
53    "lex_env_var",
54    "lex_env_var_class",
55    "lex_env_var_duplication",
56    "lex_env_var_multiple",
57    "logic_op",
58    "loopbeginphi",
59    "mod2dyn",
60    "mul2dyn",
61    "newobjdynrange",
62    "parainfer",
63    "parainfer_class",
64    "phiwithloop",
65    "phiwithnumber",
66    "stconsttoglobalrecord",
67    "stglobalvar",
68    "stlettoglobalrecord",
69    "sub2dyn",
70    "supercall",
71    "superclass",
72    "throwdyn_1",
73    "throwdyn_2",
74    "tryldglobalbyname",
75    "trystglobalbyname",
76    "tsarraytobuiltin",
77    "typeof",
78    "variable_after_loops",
79    "workload1",
80  ]
81
82  deps = []
83  foreach(test, test_list) {
84    deps += [ "${test}:${test}Es2abcAotTypeInferAction" ]
85  }
86
87  deps += [ "module_test:ark_typeinfer_module_test" ]
88  deps += [ "es2abc_feature:ark_typeinfer_es2abc_feature_test" ]
89}
90