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

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

Issue 2070513002: Revert "Revert "Make Safari tests more robust."" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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/reset_safari.dart ('k') | tools/testing/dart/test_options.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 library test_configurations; 5 library test_configurations;
6 6
7 import "dart:async"; 7 import "dart:async";
8 import 'dart:io'; 8 import 'dart:io';
9 import "dart:math" as math; 9 import "dart:math" as math;
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 BuildbotProgressIndicator.stepName = firstConf['step_name']; 62 BuildbotProgressIndicator.stepName = firstConf['step_name'];
63 var verbose = firstConf['verbose']; 63 var verbose = firstConf['verbose'];
64 var printTiming = firstConf['time']; 64 var printTiming = firstConf['time'];
65 var listTests = firstConf['list']; 65 var listTests = firstConf['list'];
66 66
67 var reportInJson = firstConf['report_in_json']; 67 var reportInJson = firstConf['report_in_json'];
68 68
69 var recordingPath = firstConf['record_to_file']; 69 var recordingPath = firstConf['record_to_file'];
70 var recordingOutputPath = firstConf['replay_from_file']; 70 var recordingOutputPath = firstConf['replay_from_file'];
71 71
72 Browser.deleteCache = firstConf['clear_browser_cache']; 72 Browser.resetBrowserConfiguration = firstConf['reset_browser_configuration'];
73 73
74 if (recordingPath != null && recordingOutputPath != null) { 74 if (recordingPath != null && recordingOutputPath != null) {
75 print("Fatal: Can't have the '--record_to_file' and '--replay_from_file'" 75 print("Fatal: Can't have the '--record_to_file' and '--replay_from_file'"
76 "at the same time. Exiting ..."); 76 "at the same time. Exiting ...");
77 exit(1); 77 exit(1);
78 } 78 }
79 79
80 if (!firstConf['append_logs']) { 80 if (!firstConf['append_logs']) {
81 var files = [ 81 var files = [
82 new File(TestUtils.flakyFileName()), 82 new File(TestUtils.flakyFileName()),
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 maxBrowserProcesses, 305 maxBrowserProcesses,
306 startTime, 306 startTime,
307 testSuites, 307 testSuites,
308 eventListener, 308 eventListener,
309 allTestsFinished, 309 allTestsFinished,
310 verbose, 310 verbose,
311 recordingPath, 311 recordingPath,
312 recordingOutputPath, 312 recordingOutputPath,
313 adbDevicePool); 313 adbDevicePool);
314 } 314 }
OLDNEW
« no previous file with comments | « tools/testing/dart/reset_safari.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698