diff options
author | Steven Knight <knight@baldmt.com> | 2004-12-29 21:04:56 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-12-29 21:04:56 (GMT) |
commit | a2b119edf2fdd972c426f08f9898fb2efbe36646 (patch) | |
tree | 12b6722f049211b37574477e82ab5c49a0521052 /test/DirSource.py | |
parent | 9113805b081ef58fdf56bd5b5a9be6afad0b7a41 (diff) | |
download | SCons-a2b119edf2fdd972c426f08f9898fb2efbe36646.zip SCons-a2b119edf2fdd972c426f08f9898fb2efbe36646.tar.gz SCons-a2b119edf2fdd972c426f08f9898fb2efbe36646.tar.bz2 |
Add a Memoizer metaclass to collect the logic for caching values in one location. Convert by-hand caching to use of Memoizer. (Kevin Quick)
Diffstat (limited to 'test/DirSource.py')
-rw-r--r-- | test/DirSource.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DirSource.py b/test/DirSource.py index 5c0291e..84d8185 100644 --- a/test/DirSource.py +++ b/test/DirSource.py @@ -69,8 +69,8 @@ env_csig.TestDir(source='csig', target='csig.out') """) test.run(arguments=".", stderr=None) -test.fail_test(test.read('bsig.out') != 'stuff\n') -test.fail_test(test.read('csig.out') != 'stuff\n') +test.must_match('bsig.out', 'stuff\n') +test.must_match('csig.out', 'stuff\n') test.up_to_date(arguments='bsig.out') test.up_to_date(arguments='csig.out') |