On 14/03/17 11:08 AM, Timothy Arceri wrote:
> From: Alan Swanson <[email protected]>
> 
> Currently only a one in one out eviction so if at max_size and
> cache files were to constantly increase in size then so would the
> cache. Restrict to limit of 8 evictions per new cache entry.
> 
> V2: (Timothy Arceri) fix make check tests

This still broke make check for me (on 64-bit):

FAIL: glsl/tests/cache-test
===========================

Failed to create ./cache-test-tmp/xdg-cache-home for shader cache (No such file 
or directory)---disabling.
Failed to create ./cache-test-tmp/mesa-glsl-cache-dir for shader cache (No such 
file or directory)---disabling.
Error: Test 'disk_cache_put eviction with MAX_SIZE=1K' failed: Expected=1, 
Actual=2
Error: Test 'eviction after overflow with MAX_SIZE=1M' failed: Expected=1, 
Actual=2
FAIL glsl/tests/cache-test (exit status: 1)


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to