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

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

Issue 2981223002: Remove Dartium support from test.dart. (Closed)
Patch Set: Remove "dartium" from status files. Created 3 years, 5 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/runtime_updater.dart ('k') | tools/testing/dart/test_runner.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 import 'dart:io'; 5 import 'dart:io';
6 import 'dart:convert'; 6 import 'dart:convert';
7 7
8 final _combinations = { 8 final _combinations = {
9 'linux': [ 9 'linux': [
10 { 10 {
11 'runtimes': ['none'], 11 'runtimes': ['none'],
12 'modes': ['release'], 12 'modes': ['release'],
13 'archs': ['x64'], 13 'archs': ['x64'],
14 'compiler': 'dart2analyzer' 14 'compiler': 'dart2analyzer'
15 }, 15 },
16 { 16 {
17 'runtimes': ['vm'], 17 'runtimes': ['vm'],
18 'modes': ['debug', 'release'], 18 'modes': ['debug', 'release'],
19 'archs': ['ia32', 'x64', 'simarm'], 19 'archs': ['ia32', 'x64', 'simarm'],
20 'compiler': 'none' 20 'compiler': 'none'
21 }, 21 },
22 { 22 {
23 'runtimes': ['d8', 'jsshell', 'chrome', 'ff'], 23 'runtimes': ['d8', 'jsshell', 'chrome', 'ff'],
24 'modes': ['release'], 24 'modes': ['release'],
25 'archs': ['ia32'], 25 'archs': ['ia32'],
26 'compiler': 'dart2js' 26 'compiler': 'dart2js'
27 }, 27 },
28 { 28 {
29 'runtimes': ['dartium'],
30 'modes': ['release', 'debug'],
31 'archs': ['ia32'],
32 'compiler': 'none'
33 },
34 {
35 'runtimes': ['flutter_engine'], 29 'runtimes': ['flutter_engine'],
36 'modes': ['debug', 'release'], 30 'modes': ['debug', 'release'],
37 'archs': ['x64'], 31 'archs': ['x64'],
38 'compiler': 'none' 32 'compiler': 'none'
39 }, 33 },
40 ], 34 ],
41 'windows': [ 35 'windows': [
42 { 36 {
43 'runtimes': ['vm'], 37 'runtimes': ['vm'],
44 'modes': ['debug', 'release'], 38 'modes': ['debug', 'release'],
45 'archs': ['ia32', 'x64'], 39 'archs': ['ia32', 'x64'],
46 'compiler': 'none' 40 'compiler': 'none'
47 }, 41 },
48 { 42 {
49 'runtimes': ['chrome', 'ff', 'ie11', 'ie10'], 43 'runtimes': ['chrome', 'ff', 'ie11', 'ie10'],
50 'modes': ['release'], 44 'modes': ['release'],
51 'archs': ['ia32'], 45 'archs': ['ia32'],
52 'compiler': 'dart2js' 46 'compiler': 'dart2js'
53 }, 47 },
54 {
55 'runtimes': ['dartium'],
56 'modes': ['release', 'debug'],
57 'archs': ['ia32'],
58 'compiler': 'none'
59 },
60 ], 48 ],
61 'macos': [ 49 'macos': [
62 { 50 {
63 'runtimes': ['vm'], 51 'runtimes': ['vm'],
64 'modes': ['debug', 'release'], 52 'modes': ['debug', 'release'],
65 'archs': ['ia32', 'x64'], 53 'archs': ['ia32', 'x64'],
66 'compiler': 'none' 54 'compiler': 'none'
67 }, 55 },
68 { 56 {
69 'runtimes': ['safari', 'safarimobilesim'], 57 'runtimes': ['safari', 'safarimobilesim'],
70 'modes': ['release'], 58 'modes': ['release'],
71 'archs': ['ia32'], 59 'archs': ['ia32'],
72 'compiler': 'dart2js' 60 'compiler': 'dart2js'
73 }, 61 },
74 {
75 'runtimes': ['dartium'],
76 'modes': ['release', 'debug'],
77 'archs': ['ia32'],
78 'compiler': 'none'
79 },
80 ] 62 ]
81 }; 63 };
82 64
83 void ensureBuild(Iterable<String> modes, Iterable<String> archs) { 65 void ensureBuild(Iterable<String> modes, Iterable<String> archs) {
84 print('Building many platforms. Please be patient.'); 66 print('Building many platforms. Please be patient.');
85 67
86 var archString = '-a${archs.join(',')}'; 68 var archString = '-a${archs.join(',')}';
87 var modeString = '-m${modes.join(',')}'; 69 var modeString = '-m${modes.join(',')}';
88 70
89 var args = [ 71 var args = [
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 var pct = 100 * (value / total); 189 var pct = 100 * (value / total);
208 values.add('${pct.toStringAsFixed(3)}%'); 190 values.add('${pct.toStringAsFixed(3)}%');
209 } 191 }
210 192
211 print(values.join(',')); 193 print(values.join(','));
212 } 194 }
213 } 195 }
214 } 196 }
215 } 197 }
216 } 198 }
OLDNEW
« no previous file with comments | « tools/testing/dart/runtime_updater.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698