summaryrefslogtreecommitdiffstats
path: root/test/Parallel
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2016-01-30 22:39:17 (GMT)
committerThomas Tanner <trtanner@btinternet.com>2016-01-30 22:39:17 (GMT)
commit7f5d85d7f4428fb2fb7271952a00c87dc8c66533 (patch)
tree912fb4db4a3e452f811ab3a922a05d76bf4dba10 /test/Parallel
parenta88dd02a03343dd0a0e17f6ad589148bf77d0493 (diff)
downloadSCons-7f5d85d7f4428fb2fb7271952a00c87dc8c66533.zip
SCons-7f5d85d7f4428fb2fb7271952a00c87dc8c66533.tar.gz
SCons-7f5d85d7f4428fb2fb7271952a00c87dc8c66533.tar.bz2
Fix for backslash being treated as an escape character
On my windows system, my python is in c:\apps\32\python. Theres a lot of places where that \32 gets turned into an ascii character and the unit tests don't run.
Diffstat (limited to 'test/Parallel')
-rw-r--r--test/Parallel/duplicate-children.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parallel/duplicate-children.py b/test/Parallel/duplicate-children.py
index c6c5c29..8b8f4cd 100644
--- a/test/Parallel/duplicate-children.py
+++ b/test/Parallel/duplicate-children.py
@@ -53,8 +53,8 @@ test.write('SConstruct', """
# Test case for SCons issue #1608
# Create a file "foo.in" in the current directory before running scons.
env = Environment()
-env.Command('foo.out', ['foo.in'], '%(_python_)s cat.py $TARGET $SOURCE && %(_python_)s sleep.py 3')
-env.Command('foobar', ['foo.out'], '%(_python_)s cat.py $TARGET $SOURCES')
+env.Command('foo.out', ['foo.in'], r'%(_python_)s cat.py $TARGET $SOURCE && %(_python_)s sleep.py 3')
+env.Command('foobar', ['foo.out'], r'%(_python_)s cat.py $TARGET $SOURCES')
env.Depends('foobar', 'foo.out')
""" % locals())