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

Unified Diff: tests/isolate/isolate2_negative_test.dart

Issue 11574032: Make unit testing of the compiler work with the new isolate helper library. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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
Index: tests/isolate/isolate2_negative_test.dart
===================================================================
--- tests/isolate/isolate2_negative_test.dart (revision 16156)
+++ tests/isolate/isolate2_negative_test.dart (working copy)
@@ -14,4 +14,9 @@
main() {
SendPort port = spawnFunction(entry);
+ // TODO(ngeoffray): Remove this code and update dart2js to wait for
kasperl 2012/12/14 10:13:42 File bug for this.
+ // all ports to be closed.
+ // Make sure the main thread stays alive so that the spawned isolate
+ // can run.
+ port.receive((msg) {});
ahe 2012/12/14 10:13:52 I would be more comfortable if this modification w
}

Powered by Google App Engine
This is Rietveld 408576698