summaryrefslogtreecommitdiff
path: root/test/SideEffect.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-09-30 16:53:47 +0000
committerSteven Knight <knight@baldmt.com>2002-09-30 16:53:47 +0000
commit752502105f63c91ee1f87cc35b83634c6bc42c3b (patch)
tree0b603afdbd7d32b8aa3e7482dc72badf69345874 /test/SideEffect.py
parentf6141b3f503c8f78fca191bfd59d9785cd81bf10 (diff)
downloadscons-752502105f63c91ee1f87cc35b83634c6bc42c3b.tar.gz
Add output to tell people when we're reading SConscript files versus when we're building targets.
Diffstat (limited to 'test/SideEffect.py')
-rw-r--r--test/SideEffect.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/SideEffect.py b/test/SideEffect.py
index 7d379478..6e374203 100644
--- a/test/SideEffect.py
+++ b/test/SideEffect.py
@@ -54,10 +54,10 @@ test.write('foo.in', 'foo.in\n')
test.write('bar.in', 'bar.in\n')
test.write('blat.in', 'blat.in\n')
-test.run(arguments = 'foo.out bar.out', stdout="""\
+test.run(arguments = 'foo.out bar.out', stdout=test.wrap_stdout("""\
copy() < foo.in > foo.out
copy() < bar.in > bar.out
-""")
+"""))
expect = """\
foo.in -> foo.out
@@ -67,10 +67,10 @@ assert test.read('log.txt') == expect
test.write('bar.in', 'bar.in 2 \n')
-test.run(arguments = 'log.txt', stdout="""\
+test.run(arguments = 'log.txt', stdout=test.wrap_stdout("""\
copy() < bar.in > bar.out
copy() < blat.in > blat.out
-""")
+"""))
expect = """\
foo.in -> foo.out
@@ -82,10 +82,10 @@ assert test.read('log.txt') == expect
test.write('foo.in', 'foo.in 2 \n')
-test.run(arguments = ".", stdout="""\
+test.run(arguments = ".", stdout=test.wrap_stdout("""\
copy() < foo.in > foo.out
copy() < log.txt > log.out
-""")
+"""))
expect = """\
foo.in -> foo.out
@@ -103,12 +103,12 @@ test.fail_test(os.path.exists(test.workpath('bar.out')))
test.fail_test(os.path.exists(test.workpath('blat.out')))
test.fail_test(os.path.exists(test.workpath('log.txt')))
-test.run(arguments = "-j 4 .", stdout="""\
+test.run(arguments = "-j 4 .", stdout=test.wrap_stdout("""\
copy() < bar.in > bar.out
copy() < blat.in > blat.out
copy() < foo.in > foo.out
copy() < log.txt > log.out
-""")
+"""))
expect = """\
bar.in -> bar.out