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/exitfns.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/exitfns.py')
-rw-r--r-- | test/exitfns.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/exitfns.py b/test/exitfns.py index 35fd982..8a9e01e 100644 --- a/test/exitfns.py +++ b/test/exitfns.py @@ -46,7 +46,8 @@ register(x3, "no kwd args") """ -expected_output = """running x3('no kwd args', kwd=None) +expected_output = """scons: "." is up to date. +running x3('no kwd args', kwd=None) running x3(5, kwd='bar') running x2(12) running x1 @@ -55,7 +56,7 @@ running x3('no kwd args', kwd=None) test.write('SConstruct', sconstruct) -test.run(arguments='-f SConstruct', stdout = expected_output) +test.run(arguments='-f SConstruct .', stdout = expected_output) test.write('SConstruct', """import sys def f(): @@ -64,6 +65,6 @@ def f(): sys.exitfunc = f """ + sconstruct) -test.run(arguments='-f SConstruct', stdout = expected_output) +test.run(arguments='-f SConstruct .', stdout = expected_output) test.pass_test() |