summaryrefslogtreecommitdiff
path: root/test/option--I.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-08-31 04:58:09 +0000
committerSteven Knight <knight@baldmt.com>2002-08-31 04:58:09 +0000
commitda5fa78a78e4fe36ab5f6dacb1e7938cd1bdbe07 (patch)
tree09923409e3e511b6d18e0323209f34cda29c2ca7 /test/option--I.py
parentd8b4ea0c9adfb77244f488c338d290c863f2b8b1 (diff)
downloadscons-da5fa78a78e4fe36ab5f6dacb1e7938cd1bdbe07.tar.gz
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 5acdb598..b315a60f 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()