summaryrefslogtreecommitdiffstats
path: root/test/ZIP/ZIPCOM.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-11-27 23:25:05 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-11-27 23:25:05 (GMT)
commit30247efa139711be7f2d7342c01b1c817985df0c (patch)
treeb4360925e1c5102aa58c51b5c68e64d0c01ca84f /test/ZIP/ZIPCOM.py
parent3031330216256cbff09b5631fdf68fa75d2439f2 (diff)
parentd938777da7f4b9e908075dabb1554bef9882d60f (diff)
downloadSCons-30247efa139711be7f2d7342c01b1c817985df0c.zip
SCons-30247efa139711be7f2d7342c01b1c817985df0c.tar.gz
SCons-30247efa139711be7f2d7342c01b1c817985df0c.tar.bz2
update from upstream
Diffstat (limited to 'test/ZIP/ZIPCOM.py')
-rw-r--r--test/ZIP/ZIPCOM.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ZIP/ZIPCOM.py b/test/ZIP/ZIPCOM.py
index 4d84ccf..c6c1412 100644
--- a/test/ZIP/ZIPCOM.py
+++ b/test/ZIP/ZIPCOM.py
@@ -34,14 +34,16 @@ _python_ = TestSCons._python_
test = TestSCons.TestSCons()
-test.dir_fixture('ZIPCOM-fixture')
+test.file_fixture('mycompile.py')
test.write('SConstruct', """
env = Environment(TOOLS = ['zip'],
- ZIPCOM = r'%(_python_)s myzip.py $TARGET $SOURCE')
+ ZIPCOM = r'%(_python_)s mycompile.py zip $TARGET $SOURCE')
env.Zip('test1.zip', 'test1.in')
""" % locals())
+test.write('test1.in', 'test1.in\n/*zip*/\n')
+
test.run()
test.must_match('test1.zip', "test1.in\n")