Chromium Code Reviews| Index: tools/test_wrapper.py |
| diff --git a/tools/test_wrapper.py b/tools/test_wrapper.py |
| index 51f945d9cf923973ae3b12ce9bebd89f3bc76fef..93dd09fcf4a67e6be781ecf9b1a90c64131f5596 100755 |
| --- a/tools/test_wrapper.py |
| +++ b/tools/test_wrapper.py |
| @@ -22,7 +22,14 @@ def Main(): |
| current_directory = os.path.abspath(''); |
| client = os.path.abspath(os.path.join(tools_dir, '..')); |
| if current_directory == os.path.join(client, 'runtime'): |
|
ngeoffray
2012/01/12 16:52:15
Add TODO to remove these lines?
|
| - dart_script_name = 'test-runtime.dart' |
| + if GuessOS() == "win32": |
| + dart_script_name = 'test.py' |
| + dart_binary = 'python' |
| + elif GuessOS() == "macos": |
| + dart_script_name = 'test.py' |
| + dart_binary = 'python' |
| + else: |
| + dart_script_name = 'test-runtime.dart' |
| elif current_directory == os.path.join(client, 'compiler'): |
| dart_script_name = 'test-compiler.dart' |
| else: |