summaryrefslogtreecommitdiffstats
path: root/test/chained-build.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/chained-build.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/chained-build.py')
-rw-r--r--test/chained-build.py24
1 files changed, 16 insertions, 8 deletions
diff --git a/test/chained-build.py b/test/chained-build.py
index 1a7daf9..94277fd 100644
--- a/test/chained-build.py
+++ b/test/chained-build.py
@@ -48,18 +48,26 @@ env.B('foo.out', 'foo.mid')
test.write('foo.in', "foo.in")
-test.run(arguments="--max-drift=0 -f SConstruct1 foo.mid", stdout='built foo.mid\n')
-test.run(arguments="--max-drift=0 -f SConstruct2 foo.out", stdout='built foo.out\n')
+test.run(arguments="--max-drift=0 -f SConstruct1 foo.mid",
+ stdout = test.wrap_stdout('built foo.mid\n'))
+test.run(arguments="--max-drift=0 -f SConstruct2 foo.out",
+ stdout = test.wrap_stdout('built foo.out\n'))
-test.run(arguments="--max-drift=0 -f SConstruct1 foo.mid", stdout='scons: "foo.mid" is up to date.\n')
-test.run(arguments="--max-drift=0 -f SConstruct2 foo.out", stdout='scons: "foo.out" is up to date.\n')
+test.run(arguments="--max-drift=0 -f SConstruct1 foo.mid",
+ stdout = test.wrap_stdout('scons: "foo.mid" is up to date.\n'))
+test.run(arguments="--max-drift=0 -f SConstruct2 foo.out",
+ stdout = test.wrap_stdout('scons: "foo.out" is up to date.\n'))
test.write('foo.in', "foo.in 2")
-test.run(arguments="--max-drift=0 -f SConstruct1 foo.mid", stdout='built foo.mid\n')
-test.run(arguments="--max-drift=0 -f SConstruct2 foo.out", stdout='built foo.out\n')
+test.run(arguments="--max-drift=0 -f SConstruct1 foo.mid",
+ stdout = test.wrap_stdout('built foo.mid\n'))
+test.run(arguments="--max-drift=0 -f SConstruct2 foo.out",
+ stdout = test.wrap_stdout('built foo.out\n'))
-test.run(arguments="--max-drift=0 -f SConstruct1 foo.mid", stdout='scons: "foo.mid" is up to date.\n')
-test.run(arguments="--max-drift=0 -f SConstruct2 foo.out", stdout='scons: "foo.out" is up to date.\n')
+test.run(arguments="--max-drift=0 -f SConstruct1 foo.mid",
+ stdout = test.wrap_stdout('scons: "foo.mid" is up to date.\n'))
+test.run(arguments="--max-drift=0 -f SConstruct2 foo.out",
+ stdout = test.wrap_stdout('scons: "foo.out" is up to date.\n'))
test.pass_test()