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

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

Issue 10700056: Test Scripts: Fix Windows path error in layout tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « tests/html/html.status ('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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 var dartFlags = ['--ignore-unrecognized-flags']; 642 var dartFlags = ['--ignore-unrecognized-flags'];
643 if (configuration["checked"]) { 643 if (configuration["checked"]) {
644 dartFlags.add('--enable_asserts'); 644 dartFlags.add('--enable_asserts');
645 dartFlags.add("--enable_type_checks"); 645 dartFlags.add("--enable_type_checks");
646 } 646 }
647 dartFlags.addAll(vmOptions); 647 dartFlags.addAll(vmOptions);
648 args.add('--dart-flags=${Strings.join(dartFlags, " ")}'); 648 args.add('--dart-flags=${Strings.join(dartFlags, " ")}');
649 } 649 }
650 args.add(htmlPath); 650 args.add(htmlPath);
651 if (expectedOutput != null) { 651 if (expectedOutput != null) {
652 args.add('--out-expectation=$expectedOutput'); 652 args.add('--out-expectation=${expectedOutput.toNativePath()}');
653 } 653 }
654 } 654 }
655 commands.add(new Command('python', args)); 655 commands.add(new Command('python', args));
656 656
657 // Create BrowserTestCase and queue it. 657 // Create BrowserTestCase and queue it.
658 var testCase = new BrowserTestCase('$suiteName/$testName', 658 var testCase = new BrowserTestCase('$suiteName/$testName',
659 commands, configuration, completeHandler, expectations, 659 commands, configuration, completeHandler, expectations,
660 optionsFromFile['isNegative']); 660 optionsFromFile['isNegative']);
661 doTest(testCase); 661 doTest(testCase);
662 } 662 }
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 * $noCrash tests are expected to be flaky but not crash 1394 * $noCrash tests are expected to be flaky but not crash
1395 * $pass tests are expected to pass 1395 * $pass tests are expected to pass
1396 * $failOk tests are expected to fail that we won't fix 1396 * $failOk tests are expected to fail that we won't fix
1397 * $fail tests are expected to fail that we should fix 1397 * $fail tests are expected to fail that we should fix
1398 * $crash tests are expected to crash that we should fix 1398 * $crash tests are expected to crash that we should fix
1399 * $timeout tests are allowed to timeout 1399 * $timeout tests are allowed to timeout
1400 """; 1400 """;
1401 print(report); 1401 print(report);
1402 } 1402 }
1403 } 1403 }
OLDNEW
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698