glsl/tests: changes to test_disk_cache_create test
authorTapani Pälli <tapani.palli@intel.com>
Thu, 1 Feb 2018 07:08:52 +0000 (09:08 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 7 Feb 2018 12:45:34 +0000 (14:45 +0200)
commite8495646afb06a9dd7786e9d11f4cdd7ac49279a
treef4a52f9ab2491fd755609f27d9de80874a209869
parent83c81b6cce761ea6f202f222bde568f0bc006f3f
glsl/tests: changes to test_disk_cache_create test

Next patch will allow disk_cache instance to be created without
path set for it, modify some test cases that assume disk_cache
creation to fail with invalid path. Creation should succeed but
simple put/get test fail.

v2: leave tests as is but check that both cache struct exists
    and try simple put/get that should fail with invalid path set
    (Emil)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> (v1)
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/glsl/tests/cache_test.c