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.
13import("//kernel/linux/build/test/kernel_ltp/kernel_interface_template.gni")
14
15_output_dir = "${root_out_dir}/tests/ltp_testcases/SyscallsTest"
16
17kernel_interface_bin("futex_cmp_requeue01") {
18  output_dir = "${_output_dir}"
19  sources = [
20    "//third_party/ltp/testcases/kernel/syscalls/futex/futex_cmp_requeue01.c",
21  ]
22}
23
24kernel_interface_bin("futex_cmp_requeue02") {
25  output_dir = "${_output_dir}"
26  sources = [
27    "//third_party/ltp/testcases/kernel/syscalls/futex/futex_cmp_requeue02.c",
28  ]
29}
30
31kernel_interface_bin("futex_wait01") {
32  output_dir = "${_output_dir}"
33  sources =
34      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait01.c" ]
35}
36
37kernel_interface_bin("futex_wait02") {
38  output_dir = "${_output_dir}"
39  sources =
40      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait02.c" ]
41}
42
43kernel_interface_bin("futex_wait03") {
44  output_dir = "${_output_dir}"
45  sources =
46      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait03.c" ]
47}
48
49kernel_interface_bin("futex_wait04") {
50  output_dir = "${_output_dir}"
51  sources =
52      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait04.c" ]
53}
54
55kernel_interface_bin("futex_wait05") {
56  output_dir = "${_output_dir}"
57  sources =
58      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait05.c" ]
59}
60
61kernel_interface_bin("futex_wait_bitset01") {
62  output_dir = "${_output_dir}"
63  sources = [
64    "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait_bitset01.c",
65  ]
66}
67
68kernel_interface_bin("futex_wake01") {
69  output_dir = "${_output_dir}"
70  sources =
71      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wake01.c" ]
72}
73
74kernel_interface_bin("futex_wake02") {
75  output_dir = "${_output_dir}"
76  sources =
77      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wake02.c" ]
78}
79
80kernel_interface_bin("futex_wake03") {
81  output_dir = "${_output_dir}"
82  sources =
83      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wake03.c" ]
84}
85
86kernel_interface_bin("futex_wake04") {
87  output_dir = "${_output_dir}"
88  sources =
89      [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wake04.c" ]
90}
91