Debian Codegraph @

utils/bazel/llvm-project-overlay/libc/test/src/strings/BUILD.bazel

raw
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 strings.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 = "bcopy_test",
15 srcs = ["bcopy_test.cpp"],
16 deps = [
17 "//libc:__support_cpp_span",
18 "//libc:bcopy",
19 "//libc/test/UnitTest:memory_matcher",
20 "//libc/test/src/string:memory_check_utils",
21 ],
22 )
23
24 libc_test(
25 name = "bcmp_test",
26 srcs = ["bcmp_test.cpp"],
27 deps = [
28 "//libc:bcmp",
29 "//libc/test/UnitTest:test_logger",
30 "//libc/test/src/string:memory_check_utils",
31 ],
32 )
33
34 libc_test(
35 name = "bzero_test",
36 srcs = ["bzero_test.cpp"],
37 deps = [
38 "//libc:bzero",
39 "//libc/test/src/string:memory_check_utils",
40 ],
41 )