OLD | NEW |
1 // Copyright (c) 2011, 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_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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 test.displayName != 'dartc/junit_tests') { | 544 test.displayName != 'dartc/junit_tests') { |
544 _ensureDartcBatchRunnersStarted(test.executablePath); | 545 _ensureDartcBatchRunnersStarted(test.executablePath); |
545 _getDartcBatchRunnerProcess().startTest(test); | 546 _getDartcBatchRunnerProcess().startTest(test); |
546 } else { | 547 } else { |
547 new RunningProcess(test).start(); | 548 new RunningProcess(test).start(); |
548 } | 549 } |
549 _numProcesses++; | 550 _numProcesses++; |
550 } | 551 } |
551 } | 552 } |
552 } | 553 } |
OLD | NEW |