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

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

Issue 372983006: Add file-filter flag to polymer deploy (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/lib/src/build/runner.dart ('k') | 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 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 } 1334 }
1335 1335
1336 /** Helper to create a Polymer deploy command for a single HTML file. */ 1336 /** Helper to create a Polymer deploy command for a single HTML file. */
1337 Command _polymerDeployCommand(String inputFile, String outputDir, 1337 Command _polymerDeployCommand(String inputFile, String outputDir,
1338 optionsFromFile) { 1338 optionsFromFile) {
1339 List<String> args = []; 1339 List<String> args = [];
1340 String packageRoot = packageRootArgument(optionsFromFile['packageRoot']); 1340 String packageRoot = packageRootArgument(optionsFromFile['packageRoot']);
1341 if (packageRoot != null) args.add(packageRoot); 1341 if (packageRoot != null) args.add(packageRoot);
1342 args..add('package:polymer/deploy.dart') 1342 args..add('package:polymer/deploy.dart')
1343 ..add('--test')..add(inputFile) 1343 ..add('--test')..add(inputFile)
1344 ..add('--out')..add(outputDir); 1344 ..add('--out')..add(outputDir)
1345 ..add('--file-filter')..add('.svn');
1345 1346
1346 return CommandBuilder.instance.getProcessCommand( 1347 return CommandBuilder.instance.getProcessCommand(
1347 'polymer_deploy', dartVmBinaryFileName, args, environmentOverrides); 1348 'polymer_deploy', dartVmBinaryFileName, args, environmentOverrides);
1348 } 1349 }
1349 1350
1350 String get scriptType { 1351 String get scriptType {
1351 switch (configuration['compiler']) { 1352 switch (configuration['compiler']) {
1352 case 'none': 1353 case 'none':
1353 case 'dart2dart': 1354 case 'dart2dart':
1354 return 'application/dart'; 1355 return 'application/dart';
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
2250 * $pass tests are expected to pass 2251 * $pass tests are expected to pass
2251 * $failOk tests are expected to fail that we won't fix 2252 * $failOk tests are expected to fail that we won't fix
2252 * $fail tests are expected to fail that we should fix 2253 * $fail tests are expected to fail that we should fix
2253 * $crash tests are expected to crash that we should fix 2254 * $crash tests are expected to crash that we should fix
2254 * $timeout tests are allowed to timeout 2255 * $timeout tests are allowed to timeout
2255 * $compileErrorSkip tests are skipped on browsers due to compile-time error 2256 * $compileErrorSkip tests are skipped on browsers due to compile-time error
2256 """; 2257 """;
2257 print(report); 2258 print(report);
2258 } 2259 }
2259 } 2260 }
OLDNEW
« no previous file with comments | « pkg/polymer/lib/src/build/runner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698