summaryrefslogtreecommitdiffstats
path: root/test/scan-once.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/scan-once.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/scan-once.py')
-rw-r--r--test/scan-once.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/test/scan-once.py b/test/scan-once.py
index 76c3451..7ddf9c9 100644
--- a/test/scan-once.py
+++ b/test/scan-once.py
@@ -60,35 +60,39 @@ f3 = env.Echo(source=['file3'], target=['file4'])
Default(f3)
""")
-test.run(arguments = '.', stdout = """create file2.s from file1.s
+test.run(arguments = '.',
+ stdout = test.wrap_stdout("""create file2.s from file1.s
create file3.s from file2.s
create file4.s from file3.s
-""")
+"""))
test.write('file1.s', 'file1.s\n')
-test.run(arguments = '.', stdout = """scanning file1.s for file2.s
+test.run(arguments = '.',
+ stdout = test.wrap_stdout("""scanning file1.s for file2.s
create file2.s from file1.s
scanning file1.s for file2.s
create file3.s from file2.s
create file4.s from file3.s
-""")
+"""))
test.write('file2.s', 'file2.s\n')
-test.run(arguments = '.', stdout = """scanning file1.s for file2.s
+test.run(arguments = '.',
+ stdout = test.wrap_stdout("""scanning file1.s for file2.s
scanning file2.s for file3.s
create file3.s from file2.s
scanning file2.s for file3.s
create file4.s from file3.s
-""")
+"""))
test.write('file3.s', 'file3.s\n')
-test.run(arguments = '.', stdout = """scanning file1.s for file2.s
+test.run(arguments = '.',
+ stdout = test.wrap_stdout("""scanning file1.s for file2.s
scanning file2.s for file3.s
scanning file3.s for file4.s
create file4.s from file3.s
-""")
+"""))
test.pass_test()