diff options
author | Klaus Aehlig <aehlig@google.com> | 2017-06-27 15:36:27 +0200 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-06-28 10:16:52 +0200 |
commit | 10da46674f9b686d7bd40216cc3bcc5737fa12a0 (patch) | |
tree | 7820c9781b13f7c20afe35d128d9449443f759b3 /src/main/java/com/google/devtools/build/lib/buildeventstream/proto | |
parent | 7998f70960f0a4a76f24c015421092910c774003 (diff) |
BEP: also report test sizes
The size of a test is a relevant property of a test target. Report it.
Change-Id: Ia529a11f4a6920bca7d233e3493640d319cca5ae
PiperOrigin-RevId: 160268370
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/buildeventstream/proto')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto | 13 |
1 files changed, 13 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 b3649abcaa..2dd862b837 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 @@ -355,6 +355,16 @@ message OutputGroup { repeated BuildEventId.NamedSetOfFilesId file_sets = 3; } +// Enumeration type characterizing the size of a test, as specified by the +// test rule. +enum TestSize { + UNKNOWN = 0; + SMALL = 1; + MEDIUM = 2; + LARGE = 3; + ENORMOUS = 4; +} + // Payload of the event indicating the completion of a target. The target is // specified in the id. If the target failed the root causes are provided as // children events. @@ -365,6 +375,9 @@ message TargetComplete { // "generated file") where the completion is reported. string target_kind = 5; + // The size of the test, if the target is a test target. Unset otherwise. + TestSize test_size = 6; + // The output files are arranged by their output group. If an output file // is part of multiple output groups, it appears once in each output // group. |