diff options
author | Thomas Tanner <trtanner@btinternet.com> | 2016-01-30 22:39:17 (GMT) |
---|---|---|
committer | Thomas Tanner <trtanner@btinternet.com> | 2016-01-30 22:39:17 (GMT) |
commit | 7f5d85d7f4428fb2fb7271952a00c87dc8c66533 (patch) | |
tree | 912fb4db4a3e452f811ab3a922a05d76bf4dba10 /test/CacheDir | |
parent | a88dd02a03343dd0a0e17f6ad589148bf77d0493 (diff) | |
download | SCons-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/CacheDir')
-rw-r--r-- | test/CacheDir/option--cs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CacheDir/option--cs.py b/test/CacheDir/option--cs.py index b6bb52a..6d22814 100644 --- a/test/CacheDir/option--cs.py +++ b/test/CacheDir/option--cs.py @@ -35,6 +35,7 @@ import shutil import TestSCons _python_ = TestSCons._python_ + _exe = TestSCons._exe _obj = TestSCons._obj @@ -62,7 +63,7 @@ def cat(env, source, target): f.write(open(str(src), "rb").read()) f.close() env = Environment(BUILDERS={'Internal':Builder(action=cat), - 'External':Builder(action='%(_python_)s build.py $TARGET $SOURCES')}) + 'External':Builder(action=r'%(_python_)s build.py $TARGET $SOURCES')}) env.External('aaa.out', 'aaa.in') env.External('bbb.out', 'bbb.in') env.Internal('ccc.out', 'ccc.in') |