summaryrefslogtreecommitdiffstats
path: root/test/option--C.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-12-19 00:22:35 (GMT)
committerSteven Knight <knight@baldmt.com>2001-12-19 00:22:35 (GMT)
commita6d72b6c03911a3a3142aded746d74353dc6b98d (patch)
tree2092b5999b67e551df6d3527341b798c05cfc854 /test/option--C.py
parentf524ceca04f12a1186e6c003281197ef77dc397c (diff)
downloadSCons-a6d72b6c03911a3a3142aded746d74353dc6b98d.zip
SCons-a6d72b6c03911a3a3142aded746d74353dc6b98d.tar.gz
SCons-a6d72b6c03911a3a3142aded746d74353dc6b98d.tar.bz2
Bug fixes from Charles Crain.
Diffstat (limited to 'test/option--C.py')
-rw-r--r--test/option--C.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/option--C.py b/test/option--C.py
index ffff484..cb8c01c 100644
--- a/test/option--C.py
+++ b/test/option--C.py
@@ -43,27 +43,27 @@ print "SConstruct", os.getcwd()
test.write(['sub', 'SConstruct'], """
import os
-print "sub/SConstruct", os.getcwd()
+print GetBuildPath('..')
""")
test.write(['sub', 'dir', 'SConstruct'], """
import os
-print "sub/dir/SConstruct", os.getcwd()
+print GetBuildPath('..')
""")
test.run(arguments = '-C sub',
- stdout = "sub/SConstruct %s\n" % wpath_sub)
+ stdout = "%s\n" % wpath)
test.run(arguments = '-C sub -C dir',
- stdout = "sub/dir/SConstruct %s\n" % wpath_sub_dir)
+ stdout = "%s\n" % wpath_sub)
test.run(stdout = "SConstruct %s\n" % wpath)
test.run(arguments = '--directory=sub/dir',
- stdout = "sub/dir/SConstruct %s\n" % wpath_sub_dir)
+ stdout = "%s\n" % wpath_sub)
test.run(arguments = '-C %s -C %s' % (wpath_sub_dir, wpath_sub),
- stdout = "sub/SConstruct %s\n" % wpath_sub)
+ stdout = "%s\n" % wpath)
test.pass_test()