diff options
author | 2016-03-18 13:32:07 +0000 | |
---|---|---|
committer | 2016-03-21 09:32:54 +0000 | |
commit | a949315e44ecf145bcd43e4a82fe264b9fa34e60 (patch) | |
tree | ee89111ee6697815d9d925376fcdb6945035f93b /src/main/java/com/google/devtools/build | |
parent | 4b2745c5a04ee7b4820b4b0c099417bdc1170f35 (diff) |
Don't print BLAZE_HALTED_BEFORE_TESTING for tests that failed to build because we halted.
RELNOTES: Tests that failed to build because execution was halted no longer print their status.
--
MOS_MIGRATED_REVID=117542221
Diffstat (limited to 'src/main/java/com/google/devtools/build')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java | 4 |
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()); |