diff options
author | Steven Knight <knight@baldmt.com> | 2001-12-19 00:22:35 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-12-19 00:22:35 (GMT) |
commit | a6d72b6c03911a3a3142aded746d74353dc6b98d (patch) | |
tree | 2092b5999b67e551df6d3527341b798c05cfc854 /test/option--C.py | |
parent | f524ceca04f12a1186e6c003281197ef77dc397c (diff) | |
download | SCons-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.py | 12 |
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() |