summaryrefslogtreecommitdiffstats
path: root/test/Execute.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-04-08 03:21:45 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-04-08 03:21:45 (GMT)
commitc98ae452ff8c03190005739023ff5ba11755aab2 (patch)
treef3efd7fd377fa815e908e5f9519965326ed46e79 /test/Execute.py
parentaf54b28d29b7c1474ba0c35c47783b67709f2702 (diff)
parent8f9ad5d0e91468cbe918a7e67affae6be63ac6d5 (diff)
downloadSCons-c98ae452ff8c03190005739023ff5ba11755aab2.zip
SCons-c98ae452ff8c03190005739023ff5ba11755aab2.tar.gz
SCons-c98ae452ff8c03190005739023ff5ba11755aab2.tar.bz2
Merged in thosrtanner/scons-cache-name (pull request #302)
Change the cache to use 2-character directories rather than one. Also makes a lot more tests run on windows
Diffstat (limited to 'test/Execute.py')
-rw-r--r--test/Execute.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Execute.py b/test/Execute.py
index 2e53444..e63cad5 100644
--- a/test/Execute.py
+++ b/test/Execute.py
@@ -45,18 +45,18 @@ sys.exit(exitval)
""")
test.write('SConstruct', """\
-Execute('%(_python_)s my_copy.py a.in a.out')
-Execute(Action('%(_python_)s my_copy.py b.in b.out'))
+Execute(r'%(_python_)s my_copy.py a.in a.out')
+Execute(Action(r'%(_python_)s my_copy.py b.in b.out'))
env = Environment(COPY = 'my_copy.py')
-env.Execute('%(_python_)s my_copy.py c.in c.out')
-env.Execute(Action('%(_python_)s my_copy.py d.in d.out'))
-v = env.Execute('%(_python_)s $COPY e.in e.out')
+env.Execute(r'%(_python_)s my_copy.py c.in c.out')
+env.Execute(Action(r'%(_python_)s my_copy.py d.in d.out'))
+v = env.Execute(r'%(_python_)s $COPY e.in e.out')
assert v == 0, v
-v = env.Execute(Action('%(_python_)s $COPY f.in f.out'))
+v = env.Execute(Action(r'%(_python_)s $COPY f.in f.out'))
assert v == 0, v
-v = env.Execute('%(_python_)s $COPY g.in g.out 1')
+v = env.Execute(r'%(_python_)s $COPY g.in g.out 1')
assert v == 1, v
-v = env.Execute(Action('%(_python_)s $COPY h.in h.out 2'))
+v = env.Execute(Action(r'%(_python_)s $COPY h.in h.out 2'))
assert v == 2, v
import shutil
Execute(lambda target, source, env: shutil.copy('i.in', 'i.out'))