Kristina Chodorow has submitted this change and it was merged.
Change subject: Tag all the six java test targets that shouldn't run on
Windows
......................................................................
Tag all the six java test targets that shouldn't run on Windows
Now, we can use:
bazel query 'tests(//src/test/java/...) - attr(tags, no_windows,
tests(//src/test/java/...))'
to find all the tests passing on Windows.
---
M src/test/java/com/google/devtools/build/lib/BUILD
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/test/java/com/google/devtools/build/lib/BUILD
b/src/test/java/com/google/devtools/build/lib/BUILD
index af217e0..42b06d7 100644
--- a/src/test/java/com/google/devtools/build/lib/BUILD
+++ b/src/test/java/com/google/devtools/build/lib/BUILD
@@ -118,7 +118,10 @@
],
),
data = glob(["vfs/*.zip"]),
- tags = ["foundations"],
+ tags = [
+ "foundations",
+ "no_windows",
+ ],
test_class = "com.google.devtools.build.lib.AllTests",
deps = [
":foundations_testutil",
@@ -448,7 +451,10 @@
"analysis/*.java",
]),
shard_count = 2,
- tags = ["analysis"],
+ tags = [
+ "analysis",
+ "no_windows",
+ ],
test_class = "com.google.devtools.build.lib.AllTests",
deps = [
":actions_testutil",
@@ -646,7 +652,10 @@
":shell/killmyself",
],
flaky = True,
- tags = ["shell"],
+ tags = [
+ "no_windows",
+ "shell",
+ ],
test_class = "com.google.devtools.build.lib.AllTests",
deps = [
":foundations_testutil",
@@ -669,7 +678,10 @@
srcs = glob([
"server/*.java",
]),
- tags = ["server"],
+ tags = [
+ "no_windows",
+ "server",
+ ],
test_class = "com.google.devtools.build.lib.AllTests",
deps = [
":foundations_testutil",
@@ -954,6 +966,7 @@
name = "sandbox-tests",
srcs = glob(["sandbox/*.java"]),
data = [":embedded_scripts"],
+ tags = ["no_windows"],
test_class = "com.google.devtools.build.lib.AllTests",
deps = [
":actions_testutil",
@@ -981,6 +994,7 @@
name = "standalone-tests",
srcs = glob(["standalone/*.java"]),
data = [":embedded_scripts"],
+ tags = ["no_windows"],
test_class = "com.google.devtools.build.lib.AllTests",
deps = [
":actions_testutil",
Gerrit-MessageType: merged
Gerrit-Change-Id: I5c7f05fbf9718bc335e19fd17916a14c286bedbf
Gerrit-PatchSet: 2
Gerrit-Project: bazel
Gerrit-Branch: master
Gerrit-Owner: Yun Peng <
pcl...@google.com>