aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <k.chodorow@gmail.com>2015-07-27 14:05:48 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-07-27 16:34:10 +0000
commit608052d3cd0484a3603673c346a3f1ced80a5a9e (patch)
treee5264e6d54bed1d3025f3d25a2fe5503c05abce2 /src/main/protobuf
parent3ee2dc456c0cc47eec0e54d3c1a747597b7b8c45 (diff)
Include test information in target fields
-- Change-Id: I8b896e6d4234b5a92d769a16cff70704f1fc9d40 Reviewed-on: https://bazel-review.googlesource.com/1700 MOS_MIGRATED_REVID=99176169
Diffstat (limited to 'src/main/protobuf')
-rw-r--r--src/main/protobuf/dash.proto26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/main/protobuf/dash.proto b/src/main/protobuf/dash.proto
index c4c394485f..cdae20dde7 100644
--- a/src/main/protobuf/dash.proto
+++ b/src/main/protobuf/dash.proto
@@ -19,6 +19,14 @@ package dash;
option java_package = "com.google.devtools.build.lib.bazel.dash";
option java_outer_classname = "DashProtos";
+message Log {
+ // Local path to the log.
+ optional string path = 1;
+ optional bytes contents = 2;
+ // Log is truncated after 1MB.
+ optional bool truncated = 3;
+}
+
message BuildData {
optional string build_id = 1;
optional string command_name = 2;
@@ -43,17 +51,13 @@ message BuildData {
repeated EnvironmentVar client_env = 5;
message Target {
- optional string label = 1;
- optional string rule_kind = 2;
+ optional string label = 1;
+ optional string rule_kind = 2;
+ message TestData {
+ optional bool passed = 1;
+ optional Log log = 2;
+ }
+ optional TestData test_data = 3;
}
repeated Target targets = 6;
-
- message TestData {
- optional string label = 2;
- optional bool passed = 3;
- optional bytes log = 4;
- // Log is truncated after 1MB.
- optional bool truncated = 5;
- }
- repeated TestData test_data = 7;
}