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 "lower_jscode_0001", 18 "lower_jscode_0002", 19 "arguments", 20 "create_arguments", 21 "deopt", 22 "function_reuse", 23 "icnotfound", 24 "intern_string_strict_equal_1", 25 "intern_string_strict_equal_2", 26 "isin", 27 "try_catch_empty", 28 "ldobjbyname", 29 "for_loop", 30 "for_of", 31 "typed_array", 32 "while_loop", 33 "exception", 34 "data_view", 35 "pgo_ldobjbyvalue_string", 36 "pgo_ldobjbyvalue_symbol", 37 "pgo_stobjbyvalue", 38 "construct_with_normal_function", 39 "addition_assignment", 40 "catch_with_osr", 41 "jit_test_0001", 42 "jit_test_0002", 43 "wide_call_range_pref_imm16v8", 44 "string_length", 45 "ts_inline", 46 "proxy_fast_call", 47 "fuzz_exception", 48 "utf16key", 49 "throw_error", 50 "compiler_inline", 51 "uint32_array", 52 "inc", 53 "uncheck_float64_to_int32", 54 "retype_convert_test", 55 "stack_overflow", 56 "mega_ic_test", 57 ] 58 59 deps = [ "pgo_roottype_test:pgo_roottype_test" ] 60 foreach(test, test_list) { 61 deps += [ "${test}:${test}JitAction" ] 62 } 63} 64 65group("ark_jit_test") { 66 testonly = true 67 deps = [ ":ark_jit_ts_test" ] 68 69 if (is_mac) { 70 deps -= [ ":ark_jit_ts_test" ] 71 } 72} 73