summaryrefslogtreecommitdiffstats
path: root/test/scan-once.py
diff options
context:
space:
mode:
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()