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/SConsignFile/explicit-file.py | |
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/SConsignFile/explicit-file.py')
-rw-r--r-- | test/SConsignFile/explicit-file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SConsignFile/explicit-file.py b/test/SConsignFile/explicit-file.py index 33963c2..90c2241 100644 --- a/test/SConsignFile/explicit-file.py +++ b/test/SConsignFile/explicit-file.py @@ -49,7 +49,7 @@ file.close() test.write('SConstruct', """ e = Environment(XXX = 'scons') e.SConsignFile('my_${XXX}ign') -B = Builder(action = '%(_python_)s build.py $TARGETS $SOURCES') +B = Builder(action = r'%(_python_)s build.py $TARGETS $SOURCES') env = Environment(BUILDERS = { 'B' : B }) env.B(target = 'f5.out', source = 'f5.in') env.B(target = 'f6.out', source = 'f6.in') |