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

Side by Side Diff: tools/testing/dart/test_progress.dart

Issue 12087130: Added '--package-root' to http_server.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test_progress; 5 library test_progress;
6 6
7 import "dart:io"; 7 import "dart:io";
8 import "dart:io" as io; 8 import "dart:io" as io;
9 import "http_server.dart" as http_server; 9 import "http_server.dart" as http_server;
10 import "status_file_parser.dart"; 10 import "status_file_parser.dart";
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 output.add(''); 199 output.add('');
200 output.add('stderr:'); 200 output.add('stderr:');
201 output.add(decodeUtf8(test.lastCommandOutput.stderr)); 201 output.add(decodeUtf8(test.lastCommandOutput.stderr));
202 } 202 }
203 if (test is BrowserTestCase) { 203 if (test is BrowserTestCase) {
204 // Additional command for rerunning the steps locally after the fact. 204 // Additional command for rerunning the steps locally after the fact.
205 output.add('To retest, run: ' 205 output.add('To retest, run: '
206 '${TestUtils.dartTestExecutable.toNativePath()} ' 206 '${TestUtils.dartTestExecutable.toNativePath()} '
207 '${TestUtils.dartDir().toNativePath()}/tools/testing/dart/' 207 '${TestUtils.dartDir().toNativePath()}/tools/testing/dart/'
208 'http_server.dart -m ${test.configuration["mode"]} ' 208 'http_server.dart -m ${test.configuration["mode"]} '
209 '-a ${test.configuration["arch"]} ' 209 '-a ${test.configuration["arch"]} '
ahe 2013/02/01 10:28:59 -a and -m are unused.
210 '-p ${http_server.TestingServerRunner.serverList[0].port} ' 210 '-p ${http_server.TestingServerRunner.serverList[0].port} '
211 '-c ${http_server.TestingServerRunner.serverList[1].port}'); 211 '-c ${http_server.TestingServerRunner.serverList[1].port} '
212 '--package-root=${http_server.TestingServerRunner.packageRootDir}');
212 } 213 }
213 for (Command c in test.commands) { 214 for (Command c in test.commands) {
214 output.add(''); 215 output.add('');
215 String message = (c == test.commands.last 216 String message = (c == test.commands.last
216 ? "Command line" : "Compilation command"); 217 ? "Command line" : "Compilation command");
217 output.add('$message: ${c.commandLine}'); 218 output.add('$message: ${c.commandLine}');
218 } 219 }
219 return output; 220 return output;
220 } 221 }
221 222
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 print(''); 496 print('');
496 print('$config:'); 497 print('$config:');
497 statuses.sort((a, b) => a.compareTo(b)); 498 statuses.sort((a, b) => a.compareTo(b));
498 for (String status in statuses) { 499 for (String status in statuses) {
499 print(' $status'); 500 print(' $status');
500 } 501 }
501 }); 502 });
502 _printStatus(); 503 _printStatus();
503 } 504 }
504 } 505 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698