diff options
Diffstat (limited to 'testing')
-rwxr-xr-x | testing/test_env.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/test_env.py b/testing/test_env.py index 4e60dbd..84967d1 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 separated on windows. + cmd[0] = cmd[0].replace('/', os.path.sep) if cmd[0].endswith('.py'): cmd.insert(0, sys.executable) try: |