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

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

Issue 11817012: Migration of testing scripts in tools/ to libv2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: added binaries Created 7 years, 11 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 /** 5 /**
6 * Tool for identifying stale test lines. Used when updating co19. 6 * Tool for identifying stale test lines. Used when updating co19.
7 * 7 *
8 * Usage: 8 * Usage:
9 * [: ./tools/testing/bin/$OS/dart tools/testing/dart/scrub_status_file.dart :] 9 * [: ./tools/testing/bin/$OS/dart tools/testing/dart/scrub_status_file.dart :]
10 */ 10 */
11 11
12 // TODO(ahe): Consider generalizing this. 12 // TODO(ahe): Consider generalizing this.
13 13
14 import "dart:async";
Bill Hesse 2013/01/09 17:06:33 What uses dart:async in this file?
kustermann 2013/01/09 18:02:25 Done.
14 import 'dart:io'; 15 import 'dart:io';
15 16
16 import 'status_file_parser.dart'; 17 import 'status_file_parser.dart';
17 18
18 const List<String> CO19_STATUS_FILES = const <String>[ 19 const List<String> CO19_STATUS_FILES = const <String>[
19 'tests/co19/co19-compiler.status', 20 'tests/co19/co19-compiler.status',
20 'tests/co19/co19-dart2dart.status', 21 'tests/co19/co19-dart2dart.status',
21 'tests/co19/co19-dart2js.status', 22 'tests/co19/co19-dart2js.status',
22 'tests/co19/co19-runtime.status']; 23 'tests/co19/co19-runtime.status'];
23 24
(...skipping 14 matching lines...) Expand all
38 void readStatusFile(String path) { 39 void readStatusFile(String path) {
39 var sections = []; 40 var sections = [];
40 ReadConfigurationInto(path, 41 ReadConfigurationInto(path,
41 sections, 42 sections,
42 () => onSectionsRead(path, sections)); 43 () => onSectionsRead(path, sections));
43 } 44 }
44 45
45 void main() { 46 void main() {
46 CO19_STATUS_FILES.forEach(readStatusFile); 47 CO19_STATUS_FILES.forEach(readStatusFile);
47 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698