summaryrefslogtreecommitdiff
path: root/test/option--C.py
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2009-12-05 02:39:27 +0000
committerGary Oberbrunner <garyo@oberbrunner.com>2009-12-05 02:39:27 +0000
commitb223160fc00816f99afe1d47d012742af67ab659 (patch)
tree187d65ca657c533e56625daffc8154dddccd9408 /test/option--C.py
parent71f3e243abe0b920f4e35dc5e94b50eae963a43d (diff)
downloadscons-b223160fc00816f99afe1d47d012742af67ab659.tar.gz
Integrate patch from issue #2436: fix regression from r3691 which stopped printing "Entering Directory" with -C/-u.
Diffstat (limited to 'test/option--C.py')
-rw-r--r--test/option--C.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/test/option--C.py b/test/option--C.py
index fac75486..3d93d2f7 100644
--- a/test/option--C.py
+++ b/test/option--C.py
@@ -68,24 +68,28 @@ print env.GetBuildPath('../$FOO/$BAR')
""")
test.run(arguments = '-C sub .',
- stdout = test.wrap_stdout(read_str = '%s\n' % wpath,
- build_str = "scons: `.' is up to date.\n"))
+ stdout = "scons: Entering directory `%s'\n" % wpath_sub \
+ + test.wrap_stdout(read_str = '%s\n' % wpath,
+ build_str = "scons: `.' is up to date.\n"))
test.run(arguments = '-C sub -C dir .',
- stdout = test.wrap_stdout(read_str = '%s\n' % wpath_sub_foo_bar,
- build_str = "scons: `.' is up to date.\n"))
+ stdout = "scons: Entering directory `%s'\n" % wpath_sub_dir \
+ + test.wrap_stdout(read_str = '%s\n' % wpath_sub_foo_bar,
+ build_str = "scons: `.' is up to date.\n"))
test.run(arguments = ".",
stdout = test.wrap_stdout(read_str = 'SConstruct %s\n' % wpath,
build_str = "scons: `.' is up to date.\n"))
test.run(arguments = '--directory=sub/dir .',
- stdout = test.wrap_stdout(read_str = '%s\n' % wpath_sub_foo_bar,
- build_str = "scons: `.' is up to date.\n"))
+ stdout = "scons: Entering directory `%s'\n" % wpath_sub_dir \
+ + test.wrap_stdout(read_str = '%s\n' % wpath_sub_foo_bar,
+ build_str = "scons: `.' is up to date.\n"))
test.run(arguments = '-C %s -C %s .' % (wpath_sub_dir, wpath_sub),
- stdout = test.wrap_stdout(read_str = '%s\n' % wpath,
- build_str = "scons: `.' is up to date.\n"))
+ stdout = "scons: Entering directory `%s'\n" % wpath_sub \
+ + test.wrap_stdout(read_str = '%s\n' % wpath,
+ build_str = "scons: `.' is up to date.\n"))
test.pass_test()