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

Side by Side Diff: tools/test-compiler.dart

Issue 9838068: Rename test.dart component to specify compiler + runtime. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « tools/test.dart ('k') | tools/test-runtime.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 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 #library("test"); 6 #library("test");
7 7
8 #import("testing/dart/test_runner.dart"); 8 #import("testing/dart/test_runner.dart");
9 #import("testing/dart/test_options.dart"); 9 #import("testing/dart/test_options.dart");
10 10
(...skipping 26 matching lines...) Expand all
37 var listTests = firstConf['list']; 37 var listTests = firstConf['list'];
38 var keepGeneratedTests = firstConf['keep-generated-tests']; 38 var keepGeneratedTests = firstConf['keep-generated-tests'];
39 39
40 // Print the configurations being run by this execution of 40 // Print the configurations being run by this execution of
41 // test.dart. However, don't do it if the silent progress indicator 41 // test.dart. However, don't do it if the silent progress indicator
42 // is used. This is only needed because of the junit tests. 42 // is used. This is only needed because of the junit tests.
43 if (progressIndicator != 'silent') { 43 if (progressIndicator != 'silent') {
44 StringBuffer sb = new StringBuffer('Test configuration'); 44 StringBuffer sb = new StringBuffer('Test configuration');
45 sb.add(configurations.length > 1 ? 's:' : ':'); 45 sb.add(configurations.length > 1 ? 's:' : ':');
46 for (Map conf in configurations) { 46 for (Map conf in configurations) {
47 sb.add(' ${conf["component"]}_${conf["mode"]}_${conf["arch"]}'); 47 sb.add(' ${conf["compiler"]}_${conf["runtime"]}_${conf["mode"]}_' +
48 '${conf["arch"]}');
48 if (conf['checked']) sb.add('_checked'); 49 if (conf['checked']) sb.add('_checked');
49 } 50 }
50 print(sb); 51 print(sb);
51 } 52 }
52 53
53 var configurationIterator = configurations.iterator(); 54 var configurationIterator = configurations.iterator();
54 bool enqueueConfiguration(ProcessQueue queue) { 55 bool enqueueConfiguration(ProcessQueue queue) {
55 if (!configurationIterator.hasNext()) { 56 if (!configurationIterator.hasNext()) {
56 return false; 57 return false;
57 } 58 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Start process queue. 95 // Start process queue.
95 var queue = new ProcessQueue(maxProcesses, 96 var queue = new ProcessQueue(maxProcesses,
96 progressIndicator, 97 progressIndicator,
97 startTime, 98 startTime,
98 printTiming, 99 printTiming,
99 enqueueConfiguration, 100 enqueueConfiguration,
100 verbose, 101 verbose,
101 listTests, 102 listTests,
102 keepGeneratedTests); 103 keepGeneratedTests);
103 } 104 }
OLDNEW
« no previous file with comments | « tools/test.dart ('k') | tools/test-runtime.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698