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

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

Issue 10961034: Be sure to use absolute paths in intl web server tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/intl/test/start_web_server.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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 } 680 }
681 681
682 var extraCommand = optionsFromFile['extraCommand']; 682 var extraCommand = optionsFromFile['extraCommand'];
683 if (extraCommand != null) { 683 if (extraCommand != null) {
684 var args = optionsFromFile['extraCommandArgs']; 684 var args = optionsFromFile['extraCommandArgs'];
685 // As a special case, a command of "dart" should run with the same 685 // As a special case, a command of "dart" should run with the same
686 // dart executable that we are using. 686 // dart executable that we are using.
687 if (extraCommand == 'dart') { 687 if (extraCommand == 'dart') {
688 extraCommand = new Options().executable; 688 extraCommand = new Options().executable;
689 } 689 }
690 args= args.map((arg)=>arg.replaceAll(@"$dartDir", dartDir.toString()));
690 commands.add(new Command(extraCommand, args)); 691 commands.add(new Command(extraCommand, args));
691 } 692 }
692 693
693 // Construct the command that executes the browser test 694 // Construct the command that executes the browser test
694 List<String> args; 695 List<String> args;
695 if (runtime == 'ie' || runtime == 'ff' || runtime == 'chrome' || 696 if (runtime == 'ie' || runtime == 'ff' || runtime == 'chrome' ||
696 runtime == 'safari' || runtime == 'opera' || runtime == 'dartium') { 697 runtime == 'safari' || runtime == 'opera' || runtime == 'dartium') {
697 args = [dartDir.append('tools/testing/run_selenium.py').toNativePath(), 698 args = [dartDir.append('tools/testing/run_selenium.py').toNativePath(),
698 '--browser=$runtime', 699 '--browser=$runtime',
699 '--timeout=${configuration["timeout"] - 2}', 700 '--timeout=${configuration["timeout"] - 2}',
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1460 * $noCrash tests are expected to be flaky but not crash 1461 * $noCrash tests are expected to be flaky but not crash
1461 * $pass tests are expected to pass 1462 * $pass tests are expected to pass
1462 * $failOk tests are expected to fail that we won't fix 1463 * $failOk tests are expected to fail that we won't fix
1463 * $fail tests are expected to fail that we should fix 1464 * $fail tests are expected to fail that we should fix
1464 * $crash tests are expected to crash that we should fix 1465 * $crash tests are expected to crash that we should fix
1465 * $timeout tests are allowed to timeout 1466 * $timeout tests are allowed to timeout
1466 """; 1467 """;
1467 print(report); 1468 print(report);
1468 } 1469 }
1469 } 1470 }
OLDNEW
« no previous file with comments | « pkg/intl/test/start_web_server.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698