aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools
diff options
context:
space:
mode:
authorGravatar aehlig <aehlig@google.com>2017-07-06 12:16:31 -0400
committerGravatar John Cater <jcater@google.com>2017-07-07 07:07:32 -0400
commitff0a36668a37d634ce0312f21780669ba9ee346c (patch)
tree53d4e92de5825ca7b4929cc67f2045e43837adca /src/main/java/com/google/devtools
parent3feea74d8b594d4e061478264468e21d90e95625 (diff)
Make build_event_stream_test more robust
...by makeing it independent of the test executor; in particular, do not rely on the wrapper to create the test.xml files if the test fails to do so, and do not assume a particular name (e.g., remote execution might decide to call the files "remote_1.xml"). Also, make the constructor of VisibilityErrorEvent public, to allow extensions of bazel to generate visibility errors as well. RELNOTES: None PiperOrigin-RevId: 161087809
Diffstat (limited to 'src/main/java/com/google/devtools')
-rw-r--r--src/main/java/com/google/devtools/build/lib/bazel/rules/VisibilityErrorEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/VisibilityErrorEvent.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/VisibilityErrorEvent.java
index a2c51a8a0f..5842a8e186 100644
--- a/src/main/java/com/google/devtools/build/lib/bazel/rules/VisibilityErrorEvent.java
+++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/VisibilityErrorEvent.java
@@ -30,7 +30,7 @@ public class VisibilityErrorEvent implements BuildEventWithConfiguration {
Label label;
String errorMessage;
- VisibilityErrorEvent(BuildConfiguration configuration, Label label, String errorMessage) {
+ public VisibilityErrorEvent(BuildConfiguration configuration, Label label, String errorMessage) {
this.configuration = configuration;
this.label = label;
this.errorMessage = errorMessage;