summaryrefslogtreecommitdiffstats
path: root/test/option-n.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-n.py')
-rw-r--r--test/option-n.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/option-n.py b/test/option-n.py
index 348c20c..b71648d 100644
--- a/test/option-n.py
+++ b/test/option-n.py
@@ -111,7 +111,14 @@ 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 = test.wrap_stdout("Removed f1.out\nRemoved f2.out\n")
+def wrap_clean_stdout(string):
+ return "scons: Reading SConscript files ...\n" + \
+ "scons: done reading SConscript files.\n" + \
+ "scons: Cleaning targets ...\n" + \
+ string + \
+ "scons: done cleaning targets.\n"
+
+expect = wrap_clean_stdout("Removed f1.out\nRemoved f2.out\n")
test.run(arguments = '-n -c ' + args, stdout = expect)