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

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

Issue 1507943002: Add ./tools/test.py -c precompiler -r dart_precompiled. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 5 /**
6 * Classes and methods for executing tests. 6 * Classes and methods for executing tests.
7 * 7 *
8 * This module includes: 8 * This module includes:
9 * - Managing parallel execution of tests, including timeout checks. 9 * - Managing parallel execution of tests, including timeout checks.
10 * - Evaluating the output of each test as pass/fail/crash/timeout. 10 * - Evaluating the output of each test as pass/fail/crash/timeout.
(...skipping 1661 matching lines...) Expand 10 before | Expand all | Expand 10 after
1672 command, exitCode, timedOut, stdout, stderr, 1672 command, exitCode, timedOut, stdout, stderr,
1673 time, compilationSkipped); 1673 time, compilationSkipped);
1674 } else if (command is AnalysisCommand) { 1674 } else if (command is AnalysisCommand) {
1675 return new AnalysisCommandOutputImpl( 1675 return new AnalysisCommandOutputImpl(
1676 command, exitCode, timedOut, stdout, stderr, 1676 command, exitCode, timedOut, stdout, stderr,
1677 time, compilationSkipped); 1677 time, compilationSkipped);
1678 } else if (command is VmCommand) { 1678 } else if (command is VmCommand) {
1679 return new VmCommandOutputImpl( 1679 return new VmCommandOutputImpl(
1680 command, exitCode, timedOut, stdout, stderr, time, pid); 1680 command, exitCode, timedOut, stdout, stderr, time, pid);
1681 } else if (command is CompilationCommand) { 1681 } else if (command is CompilationCommand) {
1682 if (command.displayName == 'precompiler.dart') {
1683 return new VmCommandOutputImpl(
1684 command, exitCode, timedOut, stdout, stderr, time, pid);
1685 }
1682 return new CompilationCommandOutputImpl( 1686 return new CompilationCommandOutputImpl(
1683 command, exitCode, timedOut, stdout, stderr, time, compilationSkipped); 1687 command, exitCode, timedOut, stdout, stderr, time, compilationSkipped);
1684 } else if (command is JSCommandlineCommand) { 1688 } else if (command is JSCommandlineCommand) {
1685 return new JsCommandlineOutputImpl( 1689 return new JsCommandlineOutputImpl(
1686 command, exitCode, timedOut, stdout, stderr, time); 1690 command, exitCode, timedOut, stdout, stderr, time);
1687 } else if (command is PubCommand) { 1691 } else if (command is PubCommand) {
1688 return new PubCommandOutputImpl( 1692 return new PubCommandOutputImpl(
1689 command, exitCode, timedOut, stdout, stderr, time); 1693 command, exitCode, timedOut, stdout, stderr, time);
1690 } 1694 }
1691 1695
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
2961 } 2965 }
2962 } 2966 }
2963 2967
2964 void eventAllTestsDone() { 2968 void eventAllTestsDone() {
2965 for (var listener in _eventListener) { 2969 for (var listener in _eventListener) {
2966 listener.allDone(); 2970 listener.allDone();
2967 } 2971 }
2968 _allDone(); 2972 _allDone();
2969 } 2973 }
2970 } 2974 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698