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

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

Issue 1802383003: Temporarily double timeout to test Mac fullbots timing out with DRT (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 10 matching lines...) Expand all
21 import 'dependency_graph.dart' as dgraph; 21 import 'dependency_graph.dart' as dgraph;
22 import "browser_controller.dart"; 22 import "browser_controller.dart";
23 import "path.dart"; 23 import "path.dart";
24 import "status_file_parser.dart"; 24 import "status_file_parser.dart";
25 import "test_progress.dart"; 25 import "test_progress.dart";
26 import "test_suite.dart"; 26 import "test_suite.dart";
27 import "utils.dart"; 27 import "utils.dart";
28 import 'record_and_replay.dart'; 28 import 'record_and_replay.dart';
29 29
30 const int CRASHING_BROWSER_EXITCODE = -10; 30 const int CRASHING_BROWSER_EXITCODE = -10;
31 const int SLOW_TIMEOUT_MULTIPLIER = 4; 31 const int SLOW_TIMEOUT_MULTIPLIER = 8;
32 32
33 const MESSAGE_CANNOT_OPEN_DISPLAY = 'Gtk-WARNING **: cannot open display'; 33 const MESSAGE_CANNOT_OPEN_DISPLAY = 'Gtk-WARNING **: cannot open display';
34 const MESSAGE_FAILED_TO_RUN_COMMAND = 'Failed to run command. return code=1'; 34 const MESSAGE_FAILED_TO_RUN_COMMAND = 'Failed to run command. return code=1';
35 35
36 typedef void TestCaseEvent(TestCase testCase); 36 typedef void TestCaseEvent(TestCase testCase);
37 typedef void ExitCodeEvent(int exitCode); 37 typedef void ExitCodeEvent(int exitCode);
38 typedef void EnqueueMoreWork(ProcessQueue queue); 38 typedef void EnqueueMoreWork(ProcessQueue queue);
39 39
40 // Some IO tests use these variables and get confused if the host environment 40 // Some IO tests use these variables and get confused if the host environment
41 // variables are inherited so they are excluded. 41 // variables are inherited so they are excluded.
(...skipping 2924 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
« 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