• 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_runtime/test/test_helper.gni")
15
16test_list = [
17  "check_import",
18  "class_inheritance",
19  "class_mem_func",
20  "class_mem_var",
21  "class_name",
22  "closure",
23  "global_func",
24  "global_var",
25  "import_export",
26  "print_string",
27]
28
29host_quickfix_test_action("multi_patch") {
30  extra_patches = [
31    "patch1",
32    "patch2",
33  ]
34  entry_point = "--entry-point=base"
35}
36
37foreach(testcase, test_list) {
38  host_quickfix_test_action("${testcase}") {
39    extra_patches = []
40    entry_point = "--entry-point=base"
41  }
42}
43
44group("ark_quickfix_test") {
45  testonly = true
46
47  deps = []
48  foreach(testcase, test_list) {
49    deps += [ ":${testcase}QuickfixAction" ]
50  }
51
52  deps += [ ":multi_patchQuickfixAction" ]
53}
54