summaryrefslogtreecommitdiffstats
path: root/test/WhereIs.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-09-30 16:53:47 (GMT)
committerSteven Knight <knight@baldmt.com>2002-09-30 16:53:47 (GMT)
commit752502105f63c91ee1f87cc35b83634c6bc42c3b (patch)
tree0b603afdbd7d32b8aa3e7482dc72badf69345874 /test/WhereIs.py
parentf6141b3f503c8f78fca191bfd59d9785cd81bf10 (diff)
downloadSCons-752502105f63c91ee1f87cc35b83634c6bc42c3b.zip
SCons-752502105f63c91ee1f87cc35b83634c6bc42c3b.tar.gz
SCons-752502105f63c91ee1f87cc35b83634c6bc42c3b.tar.bz2
Add output to tell people when we're reading SConscript files versus when we're building targets.
Diffstat (limited to 'test/WhereIs.py')
-rw-r--r--test/WhereIs.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/WhereIs.py b/test/WhereIs.py
index f8c7b94..f052909 100644
--- a/test/WhereIs.py
+++ b/test/WhereIs.py
@@ -103,10 +103,11 @@ 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(arguments = ".", stdout = string.join(expect, "\n") + "\n")
+test.run(arguments = ".",
+ stdout = test.wrap_stdout(read_str = string.join(expect, "\n") + "\n",
+ build_str = 'scons: "." is up to date.\n'))
os.environ['PATH'] = string.join(pathdirs_1243, os.pathsep)
@@ -120,9 +121,10 @@ 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(arguments = ".", stdout = string.join(expect, "\n") + "\n")
+test.run(arguments = ".",
+ stdout = test.wrap_stdout(read_str = string.join(expect, "\n") + "\n",
+ build_str = 'scons: "." is up to date.\n'))
test.pass_test()