summaryrefslogtreecommitdiffstats
path: root/test/option--I.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-08-31 04:58:09 (GMT)
committerSteven Knight <knight@baldmt.com>2002-08-31 04:58:09 (GMT)
commitda5fa78a78e4fe36ab5f6dacb1e7938cd1bdbe07 (patch)
tree09923409e3e511b6d18e0323209f34cda29c2ca7 /test/option--I.py
parentd8b4ea0c9adfb77244f488c338d290c863f2b8b1 (diff)
downloadSCons-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--I.py')
-rw-r--r--test/option--I.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/option--I.py b/test/option--I.py
index 5acdb59..b315a60 100644
--- a/test/option--I.py
+++ b/test/option--I.py
@@ -51,10 +51,11 @@ import bar
print bar.variable
""")
-test.run(arguments = '-I sub1 -I sub2', stdout = "sub1/foo\nsub2/bar\n")
+test.run(arguments = '-I sub1 -I sub2 .',
+ stdout = 'sub1/foo\nsub2/bar\nscons: "." is up to date.\n')
-test.run(arguments = '--include-dir=sub2 --include-dir=sub1',
- stdout = "sub2/foo\nsub2/bar\n")
+test.run(arguments = '--include-dir=sub2 --include-dir=sub1 .',
+ stdout = 'sub2/foo\nsub2/bar\nscons: "." is up to date.\n')
test.pass_test()