summaryrefslogtreecommitdiff
path: root/test/option-n.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/option-n.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/option-n.py')
-rw-r--r--test/option-n.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option-n.py b/test/option-n.py
index 7c796dfb..0fed3d00 100644
--- a/test/option-n.py
+++ b/test/option-n.py
@@ -51,7 +51,7 @@ test.write('f1.in', "f1.in\n")
test.write('f2.in', "f2.in\n")
args = 'f1.out f2.out'
-expect = "%s build.py f1.out\n%s build.py f2.out\n" % (python, python)
+expect = test.wrap_stdout("%s build.py f1.out\n%s build.py f2.out\n" % (python, python))
test.run(arguments = args, stdout = expect)
test.fail_test(not os.path.exists(test.workpath('f1.out')))
@@ -84,7 +84,7 @@ test.run(arguments = args)
test.fail_test(not os.path.exists(test.workpath('f1.out')))
test.fail_test(not os.path.exists(test.workpath('f2.out')))
-expect = "Removed f1.out\nRemoved f2.out\n"
+expect = test.wrap_stdout("Removed f1.out\nRemoved f2.out\n")
test.run(arguments = '-n -c ' + args, stdout = expect)