aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2017-01-10 13:59:21 +0000
committerGravatar Marcel Hlopko <hlopko@google.com>2017-01-10 14:32:06 +0000
commit8e95f0cba344630dec216f32f9fc0577ae4e66de (patch)
tree112955a0540ef75323180972cc1fc6543d21a04e /src/main/java
parent9a13899b1492738f8d1a9118cebc9ef9d90c6b34 (diff)
Remove some dead code from StandaloneTestStrategy.
-- PiperOrigin-RevId: 144074221 MOS_MIGRATED_REVID=144074221
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java b/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java
index 6bf9e9b181..815e65e8a1 100644
--- a/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java
+++ b/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java
@@ -159,19 +159,6 @@ public class StandaloneTestStrategy extends TestStrategy {
// Add the test log to the output
dataBuilder.addFailedLogs(testLog.toString());
dataBuilder.addTestTimes(data.getTestTimes(0));
-
- // Publish an event, recreate a TestResultData with the good log file.
- TestResultData.Builder builder = TestResultData.newBuilder();
- builder.setStatus(data.getStatus());
- builder.setFailedStatus(data.getFailedStatus());
- builder.setCachable(data.getCachable());
- builder.addFailedLogs(testLog.toString());
- builder.setTestPassed(false);
- builder.addTestTimes(data.getTestTimes(0));
- builder.setRunDurationMillis(data.getRunDurationMillis());
- if (data.hasTestCase()) {
- builder.setTestCase(data.getTestCase());
- }
processTestOutput(executor, outErr, new TestResult(action, data, false), testLog);
}