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

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

Issue 9162005: Fix test.dart multitest generated_test directory on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « tools/testing/dart/multitest.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_suite"); 5 #library("test_suite");
6 6
7 #import("status_file_parser.dart"); 7 #import("status_file_parser.dart");
8 #import("test_runner.dart"); 8 #import("test_runner.dart");
9 #import("multitest.dart"); 9 #import("multitest.dart");
10 10
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 RegExp pattern = configuration['selectors'][suiteName]; 326 RegExp pattern = configuration['selectors'][suiteName];
327 if (!pattern.hasMatch(filename)) return; 327 if (!pattern.hasMatch(filename)) return;
328 if (filename.endsWith('test_config.dart')) return; 328 if (filename.endsWith('test_config.dart')) return;
329 329
330 var optionsFromFile = optionsFromFile(filename); 330 var optionsFromFile = optionsFromFile(filename);
331 Function createTestCase = makeTestCaseCreator(optionsFromFile); 331 Function createTestCase = makeTestCaseCreator(optionsFromFile);
332 332
333 if (optionsFromFile['isMultitest']) { 333 if (optionsFromFile['isMultitest']) {
334 testGeneratorStarted(); 334 testGeneratorStarted();
335 DoMultitest(filename, 335 DoMultitest(filename,
336 TestUtils.outputDir(configuration), 336 TestUtils.buildDir(configuration),
337 directoryPath, 337 directoryPath,
338 createTestCase, 338 createTestCase,
339 testGeneratorDone); 339 testGeneratorDone);
340 } else { 340 } else {
341 createTestCase(filename, optionsFromFile['isNegative']); 341 createTestCase(filename, optionsFromFile['isNegative']);
342 } 342 }
343 } 343 }
344 344
345 void enqueueBrowserTest(String filename, 345 void enqueueBrowserTest(String filename,
346 String testName, 346 String testName,
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1018 * $noCrash tests are expected to be flaky but not crash 1018 * $noCrash tests are expected to be flaky but not crash
1019 * $pass tests are expected to pass 1019 * $pass tests are expected to pass
1020 * $failOk tests are expected to fail that we won't fix 1020 * $failOk tests are expected to fail that we won't fix
1021 * $fail tests are expected to fail that we should fix 1021 * $fail tests are expected to fail that we should fix
1022 * $crash tests are expected to crash that we should fix 1022 * $crash tests are expected to crash that we should fix
1023 * $timeout tests are allowed to timeout 1023 * $timeout tests are allowed to timeout
1024 """; 1024 """;
1025 print(report); 1025 print(report);
1026 } 1026 }
1027 } 1027 }
OLDNEW
« no previous file with comments | « tools/testing/dart/multitest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698