diff options
author | Thomas Tanner <trtanner@btinternet.com> | 2016-03-12 23:28:47 (GMT) |
---|---|---|
committer | Thomas Tanner <trtanner@btinternet.com> | 2016-03-12 23:28:47 (GMT) |
commit | a014c40490ca3353d82476ca6a1db2ad80ca57fe (patch) | |
tree | 45ef50d57013cfb7ea0876f5b860e65fac4a1c6d /test/CacheDir/CacheDir.py | |
parent | 56db17b7c0f733d1b33e07148f927149263bfc02 (diff) | |
download | SCons-a014c40490ca3353d82476ca6a1db2ad80ca57fe.zip SCons-a014c40490ca3353d82476ca6a1db2ad80ca57fe.tar.gz SCons-a014c40490ca3353d82476ca6a1db2ad80ca57fe.tar.bz2 |
improve behaviour
Diffstat (limited to 'test/CacheDir/CacheDir.py')
-rw-r--r-- | test/CacheDir/CacheDir.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CacheDir/CacheDir.py b/test/CacheDir/CacheDir.py index 9abe0e0..4c05634 100644 --- a/test/CacheDir/CacheDir.py +++ b/test/CacheDir/CacheDir.py @@ -82,7 +82,8 @@ test.must_not_exist(src_aaa_out) test.must_not_exist(src_bbb_out) test.must_not_exist(src_ccc_out) test.must_not_exist(src_all) -test.fail_test(len(os.listdir(cache))) +# Even if you do -n, the cache will be configured. +test.fail_test(os.listdir(cache) != ['config']) # Verify that a normal build works correctly, and clean up. # This should populate the cache with our derived files. |