| Index: tests/standalone/src/TestRunnerTest.dart
|
| diff --git a/tests/standalone/src/TestRunnerTest.dart b/tests/standalone/src/TestRunnerTest.dart
|
| index 85668b0d999d77d017d412e27b2d2f5b16b31216..cdc68b1c8892b331ece3896db6a5ee6109ec9d1f 100644
|
| --- a/tests/standalone/src/TestRunnerTest.dart
|
| +++ b/tests/standalone/src/TestRunnerTest.dart
|
| @@ -44,7 +44,7 @@ TestCase MakeTestCase(String testName, List<String> expectations) {
|
| }
|
|
|
| return new TestCase(testName,
|
| - getDartShellFileName(),
|
| + getDartBinName(),
|
| <String>["--ignore-unrecognized-flags",
|
| "--enable_type_checks",
|
| test_path],
|
| @@ -52,6 +52,22 @@ TestCase MakeTestCase(String testName, List<String> expectations) {
|
| new Set<String>.from(expectations));
|
| }
|
|
|
| +
|
| +String getDartBinName() {
|
| + var names = ["out/Debug_ia32/dart_bin",
|
| + "out/Release_ia32/dart_bin",
|
| + "xcodebuild/Debug_ia32/dart_bin",
|
| + "xcodebuild/Release_ia32/dart_bin",
|
| + "Debug_ia32/dart_bin.exe",
|
| + "Release_ia32/dart_bin.exe"];
|
| + for (var name in names) {
|
| + if (new File(name).existsSync()) {
|
| + return name;
|
| + }
|
| + }
|
| +}
|
| +
|
| +
|
| String getProcessTestFileName() {
|
| var names = ['out/Release_ia32/process_test',
|
| 'out/Debug_ia32/process_test',
|
|
|