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

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

Issue 10825358: Run tests in the pkg sub-directory when running all (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
« no previous file with comments | « no previous file | no next file » | 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_options_parser"); 5 #library("test_options_parser");
6 6
7 #import("dart:io"); 7 #import("dart:io");
8 #import("drt_updater.dart"); 8 #import("drt_updater.dart");
9 #import("test_suite.dart"); 9 #import("test_suite.dart");
10 10
11 List<String> defaultTestSelectors = 11 List<String> defaultTestSelectors =
12 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', 12 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language',
13 'isolate', 'vm', 'html', 'json', 'benchmark_smoke', 13 'isolate', 'vm', 'html', 'json', 'benchmark_smoke',
14 'dartdoc', 'utils', 'pub', 'lib']; 14 'dartdoc', 'utils', 'pub', 'lib', 'pkg'];
15 15
16 /** 16 /**
17 * Specification of a single test option. 17 * Specification of a single test option.
18 * 18 *
19 * The name of the specification is used as the key for the option in 19 * The name of the specification is used as the key for the option in
20 * the Map returned from the [TestOptionParser] parse method. 20 * the Map returned from the [TestOptionParser] parse method.
21 */ 21 */
22 class _TestOptionSpecification { 22 class _TestOptionSpecification {
23 _TestOptionSpecification(this.name, 23 _TestOptionSpecification(this.name,
24 this.description, 24 this.description,
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 return option; 642 return option;
643 } 643 }
644 } 644 }
645 print('Unknown test option $name'); 645 print('Unknown test option $name');
646 exit(1); 646 exit(1);
647 } 647 }
648 648
649 649
650 List<_TestOptionSpecification> _options; 650 List<_TestOptionSpecification> _options;
651 } 651 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698