aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java b/src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java
index 50033984fa..ee24048b07 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java
@@ -93,8 +93,10 @@ public class TestSummaryPrinter {
TestSummary summary,
AnsiTerminalPrinter terminalPrinter,
boolean verboseSummary, boolean printFailedTestCases) {
+ BlazeTestStatus status = summary.getStatus();
// Skip output for tests that failed to build.
- if (summary.getStatus() == BlazeTestStatus.FAILED_TO_BUILD) {
+ if (status == BlazeTestStatus.FAILED_TO_BUILD
+ || status == BlazeTestStatus.BLAZE_HALTED_BEFORE_TESTING) {
return;
}
String message = getCacheMessage(summary) + statusString(summary.getStatus());