summaryrefslogtreecommitdiffstats
path: root/test/TAR.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-09-25 16:56:41 (GMT)
committerSteven Knight <knight@baldmt.com>2002-09-25 16:56:41 (GMT)
commitd23e503a2499c58c9826b3b341ff33f79bc20b10 (patch)
treef9827472eb38e3d2df1af48fae50cfa3043ef4e2 /test/TAR.py
parent72042342ebcbc24c523fb4e1413821c73e585a2a (diff)
downloadSCons-d23e503a2499c58c9826b3b341ff33f79bc20b10.zip
SCons-d23e503a2499c58c9826b3b341ff33f79bc20b10.tar.gz
SCons-d23e503a2499c58c9826b3b341ff33f79bc20b10.tar.bz2
Windows portability
Diffstat (limited to 'test/TAR.py')
-rw-r--r--test/TAR.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/TAR.py b/test/TAR.py
index 0d6f857..ee9e7d4 100644
--- a/test/TAR.py
+++ b/test/TAR.py
@@ -58,7 +58,7 @@ sys.exit(0)
""")
test.write('SConstruct', """
-env = Environment(TAR = r'%s mytar.py')
+env = Environment(tools = ['tar'], TAR = r'%s mytar.py')
env.Tar(target = 'aaa.tar', source = ['file1', 'file2'])
env.Tar(target = 'aaa.tar', source = 'file3')
env.Tar(target = 'bbb', source = 'sub1')
@@ -95,9 +95,9 @@ os.system(string.join(sys.argv[1:], " "))
""" % string.replace(test.workpath('wrapper.out'), '\\', '\\\\'))
test.write('SConstruct', """
-foo = Environment()
+foo = Environment(tools = ['tar'])
tar = foo.Dictionary('TAR')
-bar = Environment(TAR = r'%s wrapper.py ' + tar)
+bar = Environment(tools = ['tar'], TAR = r'%s wrapper.py ' + tar)
foo.Tar(target = 'foo.tar', source = ['file10', 'file11'])
foo.Tar(target = 'foo.tar', source = 'file12')
bar.Tar(target = 'bar.tar', source = ['file13', 'file14'])