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 "newobjrange_nodeopt", 29 "polymorphic_array", 30 "restore_vregs", 31 ] 32 33 if (is_mac) { 34 test_list -= [ 35 "arithmetic", 36 "async_deopt", 37 "comparison", 38 "createarraywithbuffer", 39 "dec", 40 "div", 41 "elements_kind", 42 "inc", 43 "live_out", 44 "mod", 45 "newobjrange", 46 "newobjrange_nodeopt", 47 "polymorphic_array", 48 "restore_vregs", 49 ] 50 } 51 deps = [] 52 foreach(test, test_list) { 53 deps += [ "${test}:${test}AotAction" ] 54 } 55} 56 57group("ark_deopt_to_baseline_test") { 58 testonly = true 59 test_list = [ "deopt_to_baseline" ] 60 61 if (is_mac) { 62 test_list -= [ "deopt_to_baseline" ] 63 } 64 deps = [] 65 foreach(test, test_list) { 66 deps += [ "${test}:${test}BaselineJitAction" ] 67 } 68} 69