| OLD | NEW |
| 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 | 469 |
| 470 static String buildDir(Map configuration) { | 470 static String buildDir(Map configuration) { |
| 471 var buildDir = ''; | 471 var buildDir = ''; |
| 472 var system = configuration['system']; | 472 var system = configuration['system']; |
| 473 if (system == 'linux') { | 473 if (system == 'linux') { |
| 474 buildDir = 'out/'; | 474 buildDir = 'out/'; |
| 475 } else if (system == 'macos') { | 475 } else if (system == 'macos') { |
| 476 buildDir = 'xcodebuild/'; | 476 buildDir = 'xcodebuild/'; |
| 477 } | 477 } |
| 478 buildDir += (configuration['mode'] == 'debug') ? 'Debug_' : 'Release_'; | 478 buildDir += (configuration['mode'] == 'debug') ? 'Debug_' : 'Release_'; |
| 479 buildDir += configuration['architecture'] + '/'; | 479 buildDir += configuration['arch'] + '/'; |
| 480 return buildDir; | 480 return buildDir; |
| 481 } | 481 } |
| 482 | 482 |
| 483 static List<String> standardOptions(Map configuration) { | 483 static List<String> standardOptions(Map configuration) { |
| 484 List args = ["--ignore-unrecognized-flags"]; | 484 List args = ["--ignore-unrecognized-flags"]; |
| 485 if (configuration["checked"]) { | 485 if (configuration["checked"]) { |
| 486 args.add('--enable_asserts'); | 486 args.add('--enable_asserts'); |
| 487 args.add("--enable_type_checks"); | 487 args.add("--enable_type_checks"); |
| 488 } | 488 } |
| 489 if (configuration["component"] == "leg") { | 489 if (configuration["component"] == "leg") { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 * $noCrash tests are expected to be flaky but not crash | 543 * $noCrash tests are expected to be flaky but not crash |
| 544 * $pass tests are expected to pass | 544 * $pass tests are expected to pass |
| 545 * $failOk tests are expected to fail that we won't fix | 545 * $failOk tests are expected to fail that we won't fix |
| 546 * $fail tests are expected to fail that we should fix | 546 * $fail tests are expected to fail that we should fix |
| 547 * $crash tests are expected to crash that we should fix | 547 * $crash tests are expected to crash that we should fix |
| 548 * $timeout tests are allowed to timeout\ | 548 * $timeout tests are allowed to timeout\ |
| 549 """; | 549 """; |
| 550 print(report); | 550 print(report); |
| 551 } | 551 } |
| 552 } | 552 } |
| OLD | NEW |