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

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

Issue 1732323005: Toward a green tools/build.py -cprecompiler -rdart_precompiled: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months 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
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' || 1682 if (command.displayName == 'precompiler' ||
1683 command.displayName == 'dart2snapshot') { 1683 command.displayName == 'dart2snapshot') {
1684 return new VmCommandOutputImpl( 1684 return new VmCommandOutputImpl(
1685 command, exitCode, timedOut, stdout, stderr, time, pid); 1685 command, exitCode, timedOut, stdout, stderr, time, pid);
1686 } 1686 }
1687 return new CompilationCommandOutputImpl( 1687 return new CompilationCommandOutputImpl(
1688 command, exitCode, timedOut, stdout, stderr, time, compilationSkipped); 1688 command, exitCode, timedOut, stdout, stderr, time, compilationSkipped);
1689 } else if (command is JSCommandlineCommand) { 1689 } else if (command is JSCommandlineCommand) {
1690 return new JsCommandlineOutputImpl( 1690 return new JsCommandlineOutputImpl(
1691 command, exitCode, timedOut, stdout, stderr, time); 1691 command, exitCode, timedOut, stdout, stderr, time);
1692 } else if (command is PubCommand) { 1692 } else if (command is PubCommand) {
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
2966 } 2966 }
2967 } 2967 }
2968 2968
2969 void eventAllTestsDone() { 2969 void eventAllTestsDone() {
2970 for (var listener in _eventListener) { 2970 for (var listener in _eventListener) {
2971 listener.allDone(); 2971 listener.allDone();
2972 } 2972 }
2973 _allDone(); 2973 _allDone();
2974 } 2974 }
2975 } 2975 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698