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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 test.displayName != 'dartc/junit_tests') { | 550 test.displayName != 'dartc/junit_tests') { |
550 _ensureDartcBatchRunnersStarted(test.executablePath); | 551 _ensureDartcBatchRunnersStarted(test.executablePath); |
551 _getDartcBatchRunnerProcess().startTest(test); | 552 _getDartcBatchRunnerProcess().startTest(test); |
552 } else { | 553 } else { |
553 new RunningProcess(test).start(); | 554 new RunningProcess(test).start(); |
554 } | 555 } |
555 _numProcesses++; | 556 _numProcesses++; |
556 } | 557 } |
557 } | 558 } |
558 } | 559 } |
OLD | NEW |