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 14group("ark_jit_ts_test") { 15 testonly = true 16 test_list = [ 17 "arguments", 18 "create_arguments", 19 "function_reuse", 20 "try_catch_empty", 21 "ldobjbyname", 22 "for_loop", 23 "typed_array", 24 "while_loop", 25 "exception", 26 "data_view", 27 28 "construct_with_normal_function", 29 "addition_assignment", 30 "catch_with_osr", 31 "jit_test_0001", 32 "string_length", 33 "ts_inline", 34 "proxy_fast_call", 35 "fuzz_exception", 36 "utf16key", 37 "throw_error", 38 "compiler_inline", 39 "uint32_array", 40 "inc", 41 ] 42 43 deps = [ "pgo_roottype_test:pgo_roottype_test" ] 44 foreach(test, test_list) { 45 deps += [ "${test}:${test}JitAction" ] 46 } 47} 48 49group("ark_jit_test") { 50 testonly = true 51 deps = [ ":ark_jit_ts_test" ] 52 53 if (is_mac) { 54 deps -= [ ":ark_jit_ts_test" ] 55 } 56} 57