aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamer.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamer.java b/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamer.java
index 069044cbe4..189ce3fb06 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamer.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamer.java
@@ -57,6 +57,7 @@ import com.google.devtools.build.lib.collect.nestedset.NestedSetView;
import com.google.devtools.build.lib.events.Event;
import com.google.devtools.build.lib.events.EventHandler;
import com.google.devtools.build.lib.events.Reporter;
+import com.google.devtools.build.lib.runtime.commands.NoTestsFound;
import com.google.devtools.build.lib.util.Pair;
import java.util.ArrayList;
import java.util.Collection;
@@ -374,6 +375,11 @@ public class BuildEventStreamer implements EventHandler {
}
@Subscribe
+ public void noTestsFound(NoTestsFound event) {
+ buildComplete();
+ }
+
+ @Subscribe
public void buildEvent(BuildEvent event) {
if (isActionWithoutError(event)
|| bufferUntilPrerequisitesReceived(event)