summaryrefslogtreecommitdiffstats
path: root/test/option--C.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option--C.py')
-rw-r--r--test/option--C.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/test/option--C.py b/test/option--C.py
index 8fbb457..5bbbd31 100644
--- a/test/option--C.py
+++ b/test/option--C.py
@@ -65,19 +65,20 @@ import os
print GetBuildPath('..')
""")
-test.run(arguments = '-C sub',
- stdout = "%s\n" % wpath)
+test.run(arguments = '-C sub .',
+ stdout = '%s\nscons: "." is up to date.\n' % wpath)
-test.run(arguments = '-C sub -C dir',
- stdout = "%s\n" % wpath_sub)
+test.run(arguments = '-C sub -C dir .',
+ stdout = '%s\nscons: "." is up to date.\n' % wpath_sub)
-test.run(stdout = "SConstruct %s\n" % wpath)
+test.run(arguments = ".",
+ stdout = 'SConstruct %s\nscons: "." is up to date.\n' % wpath)
-test.run(arguments = '--directory=sub/dir',
- stdout = "%s\n" % wpath_sub)
+test.run(arguments = '--directory=sub/dir .',
+ stdout = '%s\nscons: "." is up to date.\n' % wpath_sub)
-test.run(arguments = '-C %s -C %s' % (wpath_sub_dir, wpath_sub),
- stdout = "%s\n" % wpath)
+test.run(arguments = '-C %s -C %s .' % (wpath_sub_dir, wpath_sub),
+ stdout = '%s\nscons: "." is up to date.\n' % wpath)
test.pass_test()