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

Unified Diff: test/intermediate_dir/src/script.py

Issue 10829252: Fix usage of shlex in unit tests on windows. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 4 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 | test/same-rule-output-file-name/src/touch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/intermediate_dir/src/script.py
===================================================================
--- test/intermediate_dir/src/script.py (revision 1452)
+++ test/intermediate_dir/src/script.py (working copy)
@@ -12,7 +12,7 @@
import sys
if len(sys.argv) == 3 and ' ' in sys.argv[2]:
- sys.argv[2], fourth = shlex.split(sys.argv[2])
+ sys.argv[2], fourth = shlex.split(sys.argv[2].replace('\\', '\\\\'))
sys.argv.append(fourth)
#print >>sys.stderr, sys.argv
« no previous file with comments | « no previous file | test/same-rule-output-file-name/src/touch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698