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

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

Issue 1805383002: Test now passes and try test for timeouts on DRTs Mac Full BOT (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 | « tests/html/html.status ('k') | 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 /*
796 if (expectedOutcomes.contains(Expectation.SLOW)) { 798 if (expectedOutcomes.contains(Expectation.SLOW)) {
797 return configuration['timeout'] * SLOW_TIMEOUT_MULTIPLIER; 799 return configuration['timeout'] * SLOW_TIMEOUT_MULTIPLIER;
798 } else { 800 } else {
799 return configuration['timeout']; 801 return configuration['timeout'];
800 } 802 }
803 */
801 } 804 }
802 805
803 String get configurationString { 806 String get configurationString {
804 final compiler = configuration['compiler']; 807 final compiler = configuration['compiler'];
805 final runtime = configuration['runtime']; 808 final runtime = configuration['runtime'];
806 final mode = configuration['mode']; 809 final mode = configuration['mode'];
807 final arch = configuration['arch']; 810 final arch = configuration['arch'];
808 final checked = configuration['checked'] ? '-checked' : ''; 811 final checked = configuration['checked'] ? '-checked' : '';
809 return "$compiler-$runtime$checked ${mode}_$arch"; 812 return "$compiler-$runtime$checked ${mode}_$arch";
810 } 813 }
(...skipping 2155 matching lines...) Expand 10 before | Expand all | Expand 10 after
2966 } 2969 }
2967 } 2970 }
2968 2971
2969 void eventAllTestsDone() { 2972 void eventAllTestsDone() {
2970 for (var listener in _eventListener) { 2973 for (var listener in _eventListener) {
2971 listener.allDone(); 2974 listener.allDone();
2972 } 2975 }
2973 _allDone(); 2976 _allDone();
2974 } 2977 }
2975 } 2978 }
OLDNEW
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698