util/disk_cache: move cache tests to the util directory
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 1 Mar 2021 04:26:36 +0000 (15:26 +1100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Mar 2021 02:39:05 +0000 (02:39 +0000)
commit7186da8e38a40b692267d4c8c1ac6dc420ad0c51
treea60ba372f2235864ed30f8855864d10b16e039af
parent20bd9fc54700950cab88bc13f0446b2c14f86033
util/disk_cache: move cache tests to the util directory

The cache has been detangled from glsl and used outside it (with Vulkan drivers)
for years now.

This also cleans up the dependancies in the build file. The test doesn't
depend on the glsl lib but rather the util lib.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9327>
src/compiler/glsl/tests/meson.build
src/util/meson.build
src/util/tests/cache/cache_test.c [moved from src/compiler/glsl/tests/cache_test.c with 100% similarity]
src/util/tests/cache/meson.build [new file with mode: 0644]