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

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

Issue 10933125: MSVS output to /build/ dir. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comment updated 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 | « tools/gyp/msvs.gypi ('k') | tools/utils.py » ('j') | 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 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 return name; 1324 return name;
1325 } 1325 }
1326 1326
1327 static String outputDir(Map configuration) { 1327 static String outputDir(Map configuration) {
1328 var result = ''; 1328 var result = '';
1329 var system = configuration['system']; 1329 var system = configuration['system'];
1330 if (system == 'linux') { 1330 if (system == 'linux') {
1331 result = 'out/'; 1331 result = 'out/';
1332 } else if (system == 'macos') { 1332 } else if (system == 'macos') {
1333 result = 'xcodebuild/'; 1333 result = 'xcodebuild/';
1334 } else if (system == 'windows') {
1335 result = 'build/';
1334 } 1336 }
1335 return result; 1337 return result;
1336 } 1338 }
1337 1339
1338 static String buildDir(Map configuration) { 1340 static String buildDir(Map configuration) {
1339 String mode = (configuration['mode'] == 'debug') ? 'Debug' : 'Release'; 1341 String mode = (configuration['mode'] == 'debug') ? 'Debug' : 'Release';
1340 String arch = configuration['arch'].toUpperCase(); 1342 String arch = configuration['arch'].toUpperCase();
1341 return "${outputDir(configuration)}$mode$arch"; 1343 return "${outputDir(configuration)}$mode$arch";
1342 } 1344 }
1343 1345
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 * $noCrash tests are expected to be flaky but not crash 1424 * $noCrash tests are expected to be flaky but not crash
1423 * $pass tests are expected to pass 1425 * $pass tests are expected to pass
1424 * $failOk tests are expected to fail that we won't fix 1426 * $failOk tests are expected to fail that we won't fix
1425 * $fail tests are expected to fail that we should fix 1427 * $fail tests are expected to fail that we should fix
1426 * $crash tests are expected to crash that we should fix 1428 * $crash tests are expected to crash that we should fix
1427 * $timeout tests are allowed to timeout 1429 * $timeout tests are allowed to timeout
1428 """; 1430 """;
1429 print(report); 1431 print(report);
1430 } 1432 }
1431 } 1433 }
OLDNEW
« no previous file with comments | « tools/gyp/msvs.gypi ('k') | tools/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698