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

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

Issue 1806953002: Reverted experiment for ot test (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
« no previous file with comments | « no previous file | no next file » | 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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 Command get lastCommandExecuted { 786 Command get lastCommandExecuted {
787 if (commandOutputs.length == 0) { 787 if (commandOutputs.length == 0) {
788 throw new Exception("CommandOutputs is empty, maybe no command was run? (" 788 throw new Exception("CommandOutputs is empty, maybe no command was run? ("
789 "displayName: '$displayName', " 789 "displayName: '$displayName', "
790 "configurationString: '$configurationString')"); 790 "configurationString: '$configurationString')");
791 } 791 }
792 return commands[commandOutputs.length - 1]; 792 return commands[commandOutputs.length - 1];
793 } 793 }
794 794
795 int get timeout { 795 int get timeout {
796 return configuration['timeout'] * SLOW_TIMEOUT_MULTIPLIER;
797 /*
798 if (expectedOutcomes.contains(Expectation.SLOW)) { 796 if (expectedOutcomes.contains(Expectation.SLOW)) {
799 return configuration['timeout'] * SLOW_TIMEOUT_MULTIPLIER; 797 return configuration['timeout'] * SLOW_TIMEOUT_MULTIPLIER;
800 } else { 798 } else {
801 return configuration['timeout']; 799 return configuration['timeout'];
802 } 800 }
803 */
804 } 801 }
805 802
806 String get configurationString { 803 String get configurationString {
807 final compiler = configuration['compiler']; 804 final compiler = configuration['compiler'];
808 final runtime = configuration['runtime']; 805 final runtime = configuration['runtime'];
809 final mode = configuration['mode']; 806 final mode = configuration['mode'];
810 final arch = configuration['arch']; 807 final arch = configuration['arch'];
811 final checked = configuration['checked'] ? '-checked' : ''; 808 final checked = configuration['checked'] ? '-checked' : '';
812 return "$compiler-$runtime$checked ${mode}_$arch"; 809 return "$compiler-$runtime$checked ${mode}_$arch";
813 } 810 }
(...skipping 2155 matching lines...) Expand 10 before | Expand all | Expand 10 after
2969 } 2966 }
2970 } 2967 }
2971 2968
2972 void eventAllTestsDone() { 2969 void eventAllTestsDone() {
2973 for (var listener in _eventListener) { 2970 for (var listener in _eventListener) {
2974 listener.allDone(); 2971 listener.allDone();
2975 } 2972 }
2976 _allDone(); 2973 _allDone();
2977 } 2974 }
2978 } 2975 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698