| 1 |
# This file is licensed under the Apache License v2.0 with LLVM Exceptions. |
| 2 |
# See https://llvm.org/LICENSE.txt for license information. |
| 3 |
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 4 |
|
| 5 |
# Tests for LLVM libc socket.h functions. |
| 6 |
|
| 7 |
load("//libc/test:libc_test_rules.bzl", "libc_test") |
| 8 |
|
| 9 |
package(default_visibility = ["//visibility:public"]) |
| 10 |
|
| 11 |
licenses(["notice"]) |
| 12 |
|
| 13 |
libc_test( |
| 14 |
name = "getrlimit_setrlimit_test", |
| 15 |
srcs = ["getrlimit_setrlimit_test.cpp"], |
| 16 |
deps = [ |
| 17 |
"//libc:__support_cpp_string_view", |
| 18 |
"//libc:close", |
| 19 |
"//libc:getrlimit", |
| 20 |
"//libc:open", |
| 21 |
"//libc:setrlimit", |
| 22 |
"//libc:unlink", |
| 23 |
], |
| 24 |
) |