diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto | 3 | ||||
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java | 1 |
2 files changed, 4 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 653ea55bcf..ea50943675 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 @@ -465,6 +465,9 @@ message TestSummary { // Path to logs of failed runs; repeated File failed = 4; + + // Total number of cached test actions + int32 total_num_cached = 6; } // Event indicating the end of a build. diff --git a/src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java b/src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java index 93f1b3acff..6f6900c961 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java @@ -470,6 +470,7 @@ public class TestSummary implements Comparable<TestSummary>, BuildEvent { BuildEventStreamProtos.TestSummary.Builder summaryBuilder = BuildEventStreamProtos.TestSummary.newBuilder() .setOverallStatus(BuildEventStreamerUtils.bepStatus(status)) + .setTotalNumCached(getNumCached()) .setTotalRunCount(totalRuns()); for (Path path : getFailedLogs()) { summaryBuilder.addFailed( |