diff options
author | Steven Knight <knight@baldmt.com> | 2003-05-19 03:01:10 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-05-19 03:01:10 (GMT) |
commit | a371da732f6b9bdf35639b88b0e6b8370b088261 (patch) | |
tree | c485f67398f32e8851d5e7ecad397c709cbaa464 /test/option-n.py | |
parent | a4a6636bb15d7544abb5ee360aff6c7bb9ee21be (diff) | |
download | SCons-a371da732f6b9bdf35639b88b0e6b8370b088261.zip SCons-a371da732f6b9bdf35639b88b0e6b8370b088261.tar.gz SCons-a371da732f6b9bdf35639b88b0e6b8370b088261.tar.bz2 |
Change the Building message to say Cleaning when the -c option is used.
Diffstat (limited to 'test/option-n.py')
-rw-r--r-- | test/option-n.py | 9 |
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) |