Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: tools/testing/dart/test_runner.dart

Issue 22160002: Check if we're done after the dependency graph was sealed (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index 48fd18656bde708ccbc75310bfc290cf31064317..3d575922dec5b0c85539f0a0c9984de4685bf07e 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -1606,6 +1606,9 @@ class CommandQueue {
Timer.run(() => _tryRunNextCommand());
}
});
+ eventCondition((event) => event is dgraph.GraphSealedEvent).listen((_) {
+ _checkDone();
+ });
}
Stream<CommandOutput> get completedCommands => _commandOutputStream.stream;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698