aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/buildeventstream
diff options
context:
space:
mode:
authorGravatar aehlig <aehlig@google.com>2017-12-06 02:59:45 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-06 03:01:52 -0800
commitff4f52295029f9d7f9840f3d8f68093a6c51a384 (patch)
tree7f31f46487bb7963c5b70f323d139670cc96aa1c /src/main/java/com/google/devtools/build/lib/buildeventstream
parent67566e5ed617469ac0b4fdaf18631ae701df92af (diff)
BEP: In the TestResult meta data, allow reporting remote cache hits
Extend the optional meta data that TestResults may report by a flag indicating that the test was taken from a remote cache. Also, allow reporting the precise exit code of the test action. PiperOrigin-RevId: 178075896
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/buildeventstream')
-rw-r--r--src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto
index 8a2b05bb42..6e449d6551 100644
--- a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto
+++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto
@@ -514,6 +514,12 @@ message TestResult {
// "remote")
string strategy = 2;
+ // True, if the reported attempt was a cache hit in a remote cache.
+ bool cached_remotely = 6;
+
+ // The exit code of the test action.
+ int32 exit_code = 7;
+
// The hostname of the machine where the test action was executed (in case
// of remote execution), if known.
string hostname = 3;