aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/test/TestAttempt.java
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2017-05-09 08:27:38 -0400
committerGravatar Kristina Chodorow <kchodorow@google.com>2017-05-09 10:54:57 -0400
commitae5c14ca942997d04f46cf076660ad9071c76839 (patch)
treeeb6d1c5dc592d05176c40e347b4626a3a6d17f2b /src/main/java/com/google/devtools/build/lib/rules/test/TestAttempt.java
parentf49f2be40936666f91eff452187be8d8e2ae7dcf (diff)
BEP: Also report the configuration in test
In multi-configuration builds, test can be run for different configurations as well. So we have to report the configuration for each test as well. Change-Id: I939cce7464823fbcd3c7161a50b41b94bbed8812 PiperOrigin-RevId: 155493397
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/test/TestAttempt.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/test/TestAttempt.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/test/TestAttempt.java b/src/main/java/com/google/devtools/build/lib/rules/test/TestAttempt.java
index 2bddc64e87..8b1fc0c1e7 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/test/TestAttempt.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/test/TestAttempt.java
@@ -113,7 +113,8 @@ public class TestAttempt implements BuildEvent {
testAction.getOwner().getLabel(),
testAction.getRunNumber(),
testAction.getShardNum(),
- attempt);
+ attempt,
+ testAction.getConfiguration().getEventId());
}
@Override
@@ -126,7 +127,8 @@ public class TestAttempt implements BuildEvent {
testAction.getOwner().getLabel(),
testAction.getRunNumber(),
testAction.getShardNum(),
- attempt + 1));
+ attempt + 1,
+ testAction.getConfiguration().getEventId()));
}
}