1# Copyright (c) 2023 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_deopt_test") {
15  testonly = true
16  test_list = [
17    "arithmetic",
18    "async_deopt",
19    "comparison",
20    "createarraywithbuffer",
21    "dec",
22    "div",
23    "elements_kind",
24    "inc",
25    "live_out",
26    "mod",
27    "newobjrange",
28    "polymorphic_array",
29    "restore_vregs",
30  ]
31
32  if (is_mac) {
33    test_list -= [
34      "arithmetic",
35      "async_deopt",
36      "comparison",
37      "createarraywithbuffer",
38      "dec",
39      "div",
40      "elements_kind",
41      "inc",
42      "live_out",
43      "mod",
44      "newobjrange",
45      "polymorphic_array",
46      "restore_vregs",
47    ]
48  }
49  deps = []
50  foreach(test, test_list) {
51    deps += [ "${test}:${test}AotAction" ]
52  }
53}
54