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

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

Issue 1697203002: Switch to downloaded SDK executable, drop executables in testing/bin. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « tools/testing/dart/http_server.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 285 }
286 286
287 bool _equal(BrowserTestCommand other) => 287 bool _equal(BrowserTestCommand other) =>
288 super._equal(other) && 288 super._equal(other) &&
289 browser == other.browser && 289 browser == other.browser &&
290 url == other.url && 290 url == other.url &&
291 identical(configuration, other.configuration) && 291 identical(configuration, other.configuration) &&
292 retry == other.retry; 292 retry == other.retry;
293 293
294 String get reproductionCommand { 294 String get reproductionCommand {
295 var parts = [TestUtils.dartTestExecutable.toString(), 295 var parts = [Platform.resolvedExecutable,
296 'tools/testing/dart/launch_browser.dart', 296 'tools/testing/dart/launch_browser.dart',
297 browser, 297 browser,
298 url]; 298 url];
299 return parts.map(escapeCommandLineArgument).join(' '); 299 return parts.map(escapeCommandLineArgument).join(' ');
300 } 300 }
301 301
302 int get maxNumRetries => 4; 302 int get maxNumRetries => 4;
303 } 303 }
304 304
305 class BrowserHtmlTestCommand extends BrowserTestCommand { 305 class BrowserHtmlTestCommand extends BrowserTestCommand {
(...skipping 2660 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 | « tools/testing/dart/http_server.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698