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

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

Issue 2685303002: Significantly reduce the timeout app_jit is given on the buildbot (Closed)
Patch Set: Created 3 years, 10 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 3239 matching lines...) Expand 10 before | Expand all | Expand 10 after
3250 var testCaseCompleter = 3250 var testCaseCompleter =
3251 new TestCaseCompleter(_graph, testCaseEnqueuer, commandQueue); 3251 new TestCaseCompleter(_graph, testCaseEnqueuer, commandQueue);
3252 testCaseCompleter.finishedTestCases.listen((TestCase finishedTestCase) { 3252 testCaseCompleter.finishedTestCases.listen((TestCase finishedTestCase) {
3253 resetDebugTimer(); 3253 resetDebugTimer();
3254 3254
3255 // If we're recording, we don't report any TestCases to listeners. 3255 // If we're recording, we don't report any TestCases to listeners.
3256 if (!recording) { 3256 if (!recording) {
3257 eventFinishedTestCase(finishedTestCase); 3257 eventFinishedTestCase(finishedTestCase);
3258 } 3258 }
3259 }, onDone: () { 3259 }, onDone: () {
3260 // Wait until the commandQueue/execturo is done (it may need to stop 3260 // Wait until the commandQueue/exectutor is done (it may need to stop
3261 // batch runners, browser controllers, ....) 3261 // batch runners, browser controllers, ....)
3262 commandQueue.done.then((_) { 3262 commandQueue.done.then((_) {
3263 cancelDebugTimer(); 3263 cancelDebugTimer();
3264 eventAllTestsDone(); 3264 eventAllTestsDone();
3265 }); 3265 });
3266 }); 3266 });
3267 3267
3268 resetDebugTimer(); 3268 resetDebugTimer();
3269 } 3269 }
3270 3270
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
3307 } 3307 }
3308 } 3308 }
3309 3309
3310 void eventAllTestsDone() { 3310 void eventAllTestsDone() {
3311 for (var listener in _eventListener) { 3311 for (var listener in _eventListener) {
3312 listener.allDone(); 3312 listener.allDone();
3313 } 3313 }
3314 _allDone(); 3314 _allDone();
3315 } 3315 }
3316 } 3316 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698