OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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_runner"); | 5 #library("test_runner"); |
6 | 6 |
| 7 #import("dart:io"); |
7 #import("status_file_parser.dart"); | 8 #import("status_file_parser.dart"); |
8 #import("test_progress.dart"); | 9 #import("test_progress.dart"); |
9 #import("test_suite.dart"); | 10 #import("test_suite.dart"); |
10 | 11 |
11 /** | 12 /** |
12 * Classes and methods for executing tests. | 13 * Classes and methods for executing tests. |
13 * | 14 * |
14 * This module includes: | 15 * This module includes: |
15 * - Managing parallel execution of tests, including timeout checks. | 16 * - Managing parallel execution of tests, including timeout checks. |
16 * - Evaluating the output of each test as pass/fail/crash/timeout. | 17 * - Evaluating the output of each test as pass/fail/crash/timeout. |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 test.displayName != 'dartc/junit_tests') { | 536 test.displayName != 'dartc/junit_tests') { |
536 _ensureDartcBatchRunnersStarted(test.executablePath); | 537 _ensureDartcBatchRunnersStarted(test.executablePath); |
537 _getDartcBatchRunnerProcess().startTest(test); | 538 _getDartcBatchRunnerProcess().startTest(test); |
538 } else { | 539 } else { |
539 new RunningProcess(test).start(); | 540 new RunningProcess(test).start(); |
540 } | 541 } |
541 _numProcesses++; | 542 _numProcesses++; |
542 } | 543 } |
543 } | 544 } |
544 } | 545 } |
OLD | NEW |