Index: testing/test_env.py |
diff --git a/testing/test_env.py b/testing/test_env.py |
index 4e60dbd0b4dc308ada3d28bb94432d49e00d65a2..9604e755eb64ab093a4270f7924701c5a60104bf 100755 |
--- a/testing/test_env.py |
+++ b/testing/test_env.py |
@@ -23,6 +23,8 @@ def run_executable(cmd, env): |
env['LANGUAGE'] = 'en_US.UTF-8' |
# Used by base/base_paths_linux.cc |
env['CR_SOURCE_ROOT'] = os.path.abspath(ROOT_DIR).encode('utf-8') |
+ # Ensure paths are correctly separatored on windows. |
M-A Ruel
2012/05/23 14:26:15
separated.
csharp
2012/05/23 14:29:47
Done.
|
+ cmd[0] = cmd[0].replace('/', os.path.sep) |
if cmd[0].endswith('.py'): |
cmd.insert(0, sys.executable) |
try: |