aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/shell/bazel/BUILD')
-rw-r--r--src/test/shell/bazel/BUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD
index 62f0c55e90..8203e3d36c 100644
--- a/src/test/shell/bazel/BUILD
+++ b/src/test/shell/bazel/BUILD
@@ -481,6 +481,23 @@ sh_test(
data = [":test-deps"],
)
+genquery(
+ name = "srcs_list",
+ expression = "kind(\"source file\", deps(//:srcs))",
+ scope = ["//:srcs"],
+)
+
+sh_test(
+ name = "srcs_test",
+ size = "small",
+ srcs = ["srcs_test.sh"],
+ data = [
+ ":srcs_list",
+ "@local_bazel_source_list//:sources",
+ ],
+ tags = ["no_windows"],
+)
+
test_suite(
name = "all_tests",
visibility = ["//visibility:public"],