• 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
14import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
15import("//arkcompiler/runtime_core/ark_config.gni")
16
17# ts2abc_unittest_action("DebugLogTest") {
18#   sources = [ "debuglog_test.cpp" ]
19# }
20
21# ts2abc_unittest_action("DebugModeTest") {
22#   sources = [ "debugmode_test.cpp" ]
23# }
24
25# ts2abc_unittest_action("StringArrTest") {
26#  sources = [ "stringarr_test.cpp" ]
27# }
28
29# ts2abc_unittest_action("FunctionsTest") {
30#  sources = [ "functions_test.cpp" ]
31# }
32
33ts2abc_unittest_action("TypeAdapterTest") {
34  sources = [ "type_adapter_test.cpp" ]
35}
36
37# group("unittest") {
38#   testonly = true
39#  deps = [
40#     ":DebugLogTestAction",
41#     ":DebugModeTestAction",
42#    ":FunctionsTestAction",
43#    ":StringArrTestAction",
44#   ]
45# }
46
47group("type_adapter_unit_tests") {
48  testonly = true
49  deps = [
50    ":TypeAdapterTest",
51    "$ark_root/assembler:libarkassembler_frontend_static",
52  ]
53}
54