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

Unified Diff: tests/standalone/io/signal_test_script.dart

Issue 196133003: Update mips test status files for new mips build slaves. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add issue number Created 6 years, 9 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 | « tests/co19/co19-runtime.status ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/signal_test_script.dart
diff --git a/tests/standalone/io/signal_test_script.dart b/tests/standalone/io/signal_test_script.dart
index 7f43c5a2bae9616b3db0ffc6a6eb9117d5407a1b..02b2c25f6d933ceaebe3c417cfecf8968493f622 100644
--- a/tests/standalone/io/signal_test_script.dart
+++ b/tests/standalone/io/signal_test_script.dart
@@ -3,9 +3,12 @@
// BSD-style license that can be found in the LICENSE file.
import "dart:io";
+import "dart:async";
void main(args) {
var signal;
+ // This process should die if it never receives a signal.
+ var timeout = new Timer(new Duration(seconds: 25), () => exit(1));
switch (args[0]) {
case 'SIGHUP': signal = ProcessSignal.SIGHUP; break;
case 'SIGINT': signal = ProcessSignal.SIGINT; break;
@@ -18,7 +21,7 @@ void main(args) {
if (signal != s) exit(1);
if (signal.toString() != args[0]) exit(1);
print('got signal');
+ timeout.cancel();
});
print("ready");
}
-
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698