diff options
author | Steven Knight <knight@baldmt.com> | 2002-08-31 04:58:09 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-08-31 04:58:09 (GMT) |
commit | da5fa78a78e4fe36ab5f6dacb1e7938cd1bdbe07 (patch) | |
tree | 09923409e3e511b6d18e0323209f34cda29c2ca7 /test/option--C.py | |
parent | d8b4ea0c9adfb77244f488c338d290c863f2b8b1 (diff) | |
download | SCons-da5fa78a78e4fe36ab5f6dacb1e7938cd1bdbe07.zip SCons-da5fa78a78e4fe36ab5f6dacb1e7938cd1bdbe07.tar.gz SCons-da5fa78a78e4fe36ab5f6dacb1e7938cd1bdbe07.tar.bz2 |
Provide a message if there are no command-line targets specified and no Default() targets.
Diffstat (limited to 'test/option--C.py')
-rw-r--r-- | test/option--C.py | 19 |
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() |