13298bea7Sopenharmony_ci# Copyright (C) 2022 Huawei Device Co., Ltd. 23298bea7Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 33298bea7Sopenharmony_ci# you may not use this file except in compliance with the License. 43298bea7Sopenharmony_ci# You may obtain a copy of the License at 53298bea7Sopenharmony_ci# 63298bea7Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 73298bea7Sopenharmony_ci# 83298bea7Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 93298bea7Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 103298bea7Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 113298bea7Sopenharmony_ci# See the License for the specific language governing permissions and 123298bea7Sopenharmony_ci# limitations under the License. 133298bea7Sopenharmony_ciimport("//kernel/linux/build/test/kernel_ltp/kernel_interface_template.gni") 143298bea7Sopenharmony_ci 153298bea7Sopenharmony_ci_output_dir = "${root_out_dir}/tests/ltp_testcases/SyscallsTest" 163298bea7Sopenharmony_ci 173298bea7Sopenharmony_cikernel_interface_bin("futex_cmp_requeue01") { 183298bea7Sopenharmony_ci output_dir = "${_output_dir}" 193298bea7Sopenharmony_ci sources = [ 203298bea7Sopenharmony_ci "//third_party/ltp/testcases/kernel/syscalls/futex/futex_cmp_requeue01.c", 213298bea7Sopenharmony_ci ] 223298bea7Sopenharmony_ci} 233298bea7Sopenharmony_ci 243298bea7Sopenharmony_cikernel_interface_bin("futex_cmp_requeue02") { 253298bea7Sopenharmony_ci output_dir = "${_output_dir}" 263298bea7Sopenharmony_ci sources = [ 273298bea7Sopenharmony_ci "//third_party/ltp/testcases/kernel/syscalls/futex/futex_cmp_requeue02.c", 283298bea7Sopenharmony_ci ] 293298bea7Sopenharmony_ci} 303298bea7Sopenharmony_ci 313298bea7Sopenharmony_cikernel_interface_bin("futex_wait01") { 323298bea7Sopenharmony_ci output_dir = "${_output_dir}" 333298bea7Sopenharmony_ci sources = 343298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait01.c" ] 353298bea7Sopenharmony_ci} 363298bea7Sopenharmony_ci 373298bea7Sopenharmony_cikernel_interface_bin("futex_wait02") { 383298bea7Sopenharmony_ci output_dir = "${_output_dir}" 393298bea7Sopenharmony_ci sources = 403298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait02.c" ] 413298bea7Sopenharmony_ci} 423298bea7Sopenharmony_ci 433298bea7Sopenharmony_cikernel_interface_bin("futex_wait03") { 443298bea7Sopenharmony_ci output_dir = "${_output_dir}" 453298bea7Sopenharmony_ci sources = 463298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait03.c" ] 473298bea7Sopenharmony_ci} 483298bea7Sopenharmony_ci 493298bea7Sopenharmony_cikernel_interface_bin("futex_wait04") { 503298bea7Sopenharmony_ci output_dir = "${_output_dir}" 513298bea7Sopenharmony_ci sources = 523298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait04.c" ] 533298bea7Sopenharmony_ci} 543298bea7Sopenharmony_ci 553298bea7Sopenharmony_cikernel_interface_bin("futex_wait05") { 563298bea7Sopenharmony_ci output_dir = "${_output_dir}" 573298bea7Sopenharmony_ci sources = 583298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait05.c" ] 593298bea7Sopenharmony_ci} 603298bea7Sopenharmony_ci 613298bea7Sopenharmony_cikernel_interface_bin("futex_wait_bitset01") { 623298bea7Sopenharmony_ci output_dir = "${_output_dir}" 633298bea7Sopenharmony_ci sources = [ 643298bea7Sopenharmony_ci "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wait_bitset01.c", 653298bea7Sopenharmony_ci ] 663298bea7Sopenharmony_ci} 673298bea7Sopenharmony_ci 683298bea7Sopenharmony_cikernel_interface_bin("futex_wake01") { 693298bea7Sopenharmony_ci output_dir = "${_output_dir}" 703298bea7Sopenharmony_ci sources = 713298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wake01.c" ] 723298bea7Sopenharmony_ci} 733298bea7Sopenharmony_ci 743298bea7Sopenharmony_cikernel_interface_bin("futex_wake02") { 753298bea7Sopenharmony_ci output_dir = "${_output_dir}" 763298bea7Sopenharmony_ci sources = 773298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wake02.c" ] 783298bea7Sopenharmony_ci} 793298bea7Sopenharmony_ci 803298bea7Sopenharmony_cikernel_interface_bin("futex_wake03") { 813298bea7Sopenharmony_ci output_dir = "${_output_dir}" 823298bea7Sopenharmony_ci sources = 833298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wake03.c" ] 843298bea7Sopenharmony_ci} 853298bea7Sopenharmony_ci 863298bea7Sopenharmony_cikernel_interface_bin("futex_wake04") { 873298bea7Sopenharmony_ci output_dir = "${_output_dir}" 883298bea7Sopenharmony_ci sources = 893298bea7Sopenharmony_ci [ "//third_party/ltp/testcases/kernel/syscalls/futex/futex_wake04.c" ] 903298bea7Sopenharmony_ci} 91