[llvm] [libc][bazel] Add bazel targets for libc/include/... tests. (PR #141150)

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 15:45:24 PDT 2025


================
@@ -0,0 +1,21 @@
+# This file is licensed under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+
+# Tests for LLVM libc public headers.
+
+load("//libc/test:libc_test_rules.bzl", "libc_test")
+
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"])
+
+libc_test(
----------------
vonosmas wrote:

I think you can add this target under `libc/test/include/BUILD.bazel` with the rest of the include tests - to be more consistent with CMake setup.

https://github.com/llvm/llvm-project/pull/141150


More information about the llvm-commits mailing list