Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
| 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
| 4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 // TODO(ager): Get rid of this version of test.dart when we don't have | 6 // TODO(ager): Get rid of this version of test.dart when we don't have |
| 7 // to worry about the special runtime checkout anymore. | 7 // to worry about the special runtime checkout anymore. |
| 8 // This file is identical to test.dart with test suites in the | 8 // This file is identical to test.dart with test suites in the |
| 9 // directories samples, client, compiler, and utils removed. | 9 // directories samples, client, compiler, and utils removed. |
| 10 | 10 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 98 // Only start the server if we are running browser tests. | 98 // Only start the server if we are running browser tests. |
| 99 var runningBrowserTests = configurations.any((config) { | 99 var runningBrowserTests = configurations.any((config) { |
| 100 return TestUtils.isBrowserRuntime(config['runtime']); | 100 return TestUtils.isBrowserRuntime(config['runtime']); |
| 101 }); | 101 }); |
| 102 if (runningBrowserTests) startHttpServer('127.0.0.1', 9876); | 102 if (runningBrowserTests) startHttpServer('127.0.0.1', 9876); |
| 103 } | 103 } |
| 104 | 104 |
| 105 // Start process queue. | 105 // Start process queue. |
| 106 new ProcessQueue( | 106 new ProcessQueue( |
| 107 maxProcesses, | 107 maxProcesses, |
| 108 maxProcesses, | |
|
ricow1
2013/01/24 09:04:28
this is a little hard to read - could we make a va
kustermann
2013/01/29 08:43:32
Done.
| |
| 108 progressIndicator, | 109 progressIndicator, |
| 109 startTime, | 110 startTime, |
| 110 printTiming, | 111 printTiming, |
| 111 testSuites, | 112 testSuites, |
| 112 () => TestingServerRunner.terminateHttpServers(), | 113 () => TestingServerRunner.terminateHttpServers(), |
| 113 verbose, | 114 verbose, |
| 114 listTests); | 115 listTests); |
| 115 } | 116 } |
| OLD | NEW |