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

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

Issue 10828077: Rerun each CL 10 times to smooth out noise in perf testing. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
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("drt_updater"); 5 #library("drt_updater");
6 6
7 #import("dart:io"); 7 #import("dart:io");
8 8
9 class _DartiumUpdater { 9 class _DartiumUpdater {
10 String name; 10 String name;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 _DartiumUpdater _dumpRenderTreeUpdater; 52 _DartiumUpdater _dumpRenderTreeUpdater;
53 _DartiumUpdater _dartiumUpdater; 53 _DartiumUpdater _dartiumUpdater;
54 54
55 _DartiumUpdater runtimeUpdater(Map configuration) { 55 _DartiumUpdater runtimeUpdater(Map configuration) {
56 String runtime = configuration['runtime']; 56 String runtime = configuration['runtime'];
57 if (runtime == 'drt' && configuration['drt'] == '') { 57 if (runtime == 'drt' && configuration['drt'] == '') {
58 // Download the default DumpRenderTree from Google Storage. 58 // Download the default DumpRenderTree from Google Storage.
59 if (_dumpRenderTreeUpdater === null) { 59 if (_dumpRenderTreeUpdater === null) {
60 _dumpRenderTreeUpdater = new _DartiumUpdater('DumpRenderTree', 60 _dumpRenderTreeUpdater = new _DartiumUpdater('DumpRenderTree',
61 'get_drt.py'); 61 'get_archive.py', 'drt');
62 } 62 }
63 return _dumpRenderTreeUpdater; 63 return _dumpRenderTreeUpdater;
64 } else if (runtime == 'dartium' && configuration['dartium'] == '') { 64 } else if (runtime == 'dartium' && configuration['dartium'] == '') {
65 // Download the default Dartium from Google Storage. 65 // Download the default Dartium from Google Storage.
66 if (_dartiumUpdater === null) { 66 if (_dartiumUpdater === null) {
67 _dartiumUpdater = new _DartiumUpdater('Dartium Chrome', 'get_drt.py', 67 _dartiumUpdater = new _DartiumUpdater('Dartium Chrome', 'get_archive.py',
68 '--dartium'); 68 'dartium');
69 } 69 }
70 return _dartiumUpdater; 70 return _dartiumUpdater;
71 } else { 71 } else {
72 return null; 72 return null;
73 } 73 }
74 } 74 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698