OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 String getProcessTestFileName() { |
| 6 var names = ['out/Release_ia32/process_test', |
| 7 'out/Debug_ia32/process_test', |
| 8 'xcodebuild/Release_ia32/process_test', |
| 9 'xcodebuild/Debug_ia32/process_test', |
| 10 'Release_ia32/process_test.exe', |
| 11 'Debug_ia32/process_test.exe']; |
| 12 for (var name in names) { |
| 13 if (FileUtil.fileExists(name)) { |
| 14 return name; |
| 15 } |
| 16 } |
| 17 Expect.fail('Could not find the process_test program.'); |
| 18 } |
OLD | NEW |