summaryrefslogtreecommitdiffstats
path: root/test/CacheDir/CacheDir.py
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2016-03-12 23:28:47 (GMT)
committerThomas Tanner <trtanner@btinternet.com>2016-03-12 23:28:47 (GMT)
commita014c40490ca3353d82476ca6a1db2ad80ca57fe (patch)
tree45ef50d57013cfb7ea0876f5b860e65fac4a1c6d /test/CacheDir/CacheDir.py
parent56db17b7c0f733d1b33e07148f927149263bfc02 (diff)
downloadSCons-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.py3
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.