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

Unified Diff: tests/standalone/http_launch_test.dart

Issue 290713004: First step towards asynchronous loading of sources (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/http_launch_test.dart
===================================================================
--- tests/standalone/http_launch_test.dart (revision 36574)
+++ tests/standalone/http_launch_test.dart (working copy)
@@ -74,10 +74,18 @@
// Exited cleanly.
for (int i = 0; i < results.length; i++) {
ProcessResult result = results[i];
+ if (result.exitCode != 0) {
+ print("Exit code for process $i = ${result.exitCode}");
+ print("---stdout:---\n${result.stdout}");
+ print("---stderr:---\n${result.stderr}\n---");
+ }
Expect.equals(0, result.exitCode);
}
String stdout = results[0].stdout;
// Output is the string 'hello'. Use startsWith to avoid new line differences.
+ if (!stdout.startsWith('hello')) {
+ print("---- stdout of remote process:\n$stdout\n----");
+ }
Expect.isTrue(stdout.startsWith('hello'));
// Same output from all three process runs.
for (int i = 0; i < results.length; i++) {
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698