summaryrefslogtreecommitdiffstats
path: root/test/scan-once.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-12-28 05:31:39 (GMT)
committerSteven Knight <knight@baldmt.com>2002-12-28 05:31:39 (GMT)
commit474383d6f14d1594ad394c22afd837d1522175e9 (patch)
treed19629c2db3846ac88b80467547d5e89c15dcb37 /test/scan-once.py
parent38d41c10db89f34f72a62d6ada1a4122d4a1cc3f (diff)
downloadSCons-474383d6f14d1594ad394c22afd837d1522175e9.zip
SCons-474383d6f14d1594ad394c22afd837d1522175e9.tar.gz
SCons-474383d6f14d1594ad394c22afd837d1522175e9.tar.bz2
Refactor FunctionAction objects to support -n and -s.
Diffstat (limited to 'test/scan-once.py')
-rw-r--r--test/scan-once.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/scan-once.py b/test/scan-once.py
index 19cb495..a1674e6 100644
--- a/test/scan-once.py
+++ b/test/scan-once.py
@@ -64,9 +64,12 @@ test.write('file1.s', 'file1.s\n')
test.run(arguments = '.',
stdout = test.wrap_stdout("""scanning file1.s for file2.s
+echo("file2.s", "file1.s")
create file2.s from file1.s
scanning file1.s for file2.s
+echo("file3.s", "file2.s")
create file3.s from file2.s
+echo("file4.s", "file3.s")
create file4.s from file3.s
"""))
@@ -75,8 +78,10 @@ test.write('file2.s', 'file2.s\n')
test.run(arguments = '.',
stdout = test.wrap_stdout("""scanning file1.s for file2.s
scanning file2.s for file3.s
+echo("file3.s", "file2.s")
create file3.s from file2.s
scanning file2.s for file3.s
+echo("file4.s", "file3.s")
create file4.s from file3.s
"""))
@@ -86,6 +91,7 @@ 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
+echo("file4.s", "file3.s")
create file4.s from file3.s
"""))