summaryrefslogtreecommitdiffstats
path: root/test/WhereIs.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/WhereIs.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/WhereIs.py')
-rw-r--r--test/WhereIs.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/WhereIs.py b/test/WhereIs.py
index 515be14..f8c7b94 100644
--- a/test/WhereIs.py
+++ b/test/WhereIs.py
@@ -103,9 +103,10 @@ expect = [ test.workpath(sub3_xxx_exe),
test.workpath(sub4_xxx_exe),
test.workpath(sub3_xxx_exe),
test.workpath(sub4_xxx_exe),
+ 'scons: "." is up to date.',
]
-test.run(stdout = string.join(expect, "\n") + "\n")
+test.run(arguments = ".", stdout = string.join(expect, "\n") + "\n")
os.environ['PATH'] = string.join(pathdirs_1243, os.pathsep)
@@ -119,8 +120,9 @@ expect = [ test.workpath(sub4_xxx_exe),
test.workpath(sub4_xxx_exe),
test.workpath(sub3_xxx_exe),
test.workpath(sub4_xxx_exe),
+ 'scons: "." is up to date.',
]
-test.run(stdout = string.join(expect, "\n") + "\n")
+test.run(arguments = ".", stdout = string.join(expect, "\n") + "\n")
test.pass_test()