diff options
author | Steven Knight <knight@baldmt.com> | 2004-09-21 22:29:07 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-09-21 22:29:07 (GMT) |
commit | 51fee8699e9d5f64a9ae5e06c0c1acaa7c084185 (patch) | |
tree | 27545b59a33400658211928d8c8e55efcfd9084d /test/option-n.py | |
parent | 7700eb55bbf0da1e084ea4bd29212a8560376f55 (diff) | |
download | SCons-51fee8699e9d5f64a9ae5e06c0c1acaa7c084185.zip SCons-51fee8699e9d5f64a9ae5e06c0c1acaa7c084185.tar.gz SCons-51fee8699e9d5f64a9ae5e06c0c1acaa7c084185.tar.bz2 |
Better test infrastructure for cleaning (-c) messages. (Kevin Quick)
Diffstat (limited to 'test/option-n.py')
-rw-r--r-- | test/option-n.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/option-n.py b/test/option-n.py index 8730c83..aa0b8f2 100644 --- a/test/option-n.py +++ b/test/option-n.py @@ -125,14 +125,7 @@ test.write('f1.out', "X1.out\n") test.run(arguments = '-n f1.out', stdout = expect) test.run(arguments = '-n f1.out', stdout = expect) -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") +expect = test.wrap_stdout("Removed f1.out\nRemoved f2.out\n", cleaning=1) test.run(arguments = '-n -c ' + args, stdout = expect) |