Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(917)

Unified Diff: testing/test_env.py

Issue 10413055: Adjust Commands Paths for Result File on Windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/isolate/run_test_from_archive.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/test_env.py
diff --git a/testing/test_env.py b/testing/test_env.py
index 4e60dbd0b4dc308ada3d28bb94432d49e00d65a2..84967d16fcd9122944c99cacc4a2e90568620159 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:
« no previous file with comments | « no previous file | tools/isolate/run_test_from_archive.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698