summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/tests/meson.build')
-rw-r--r--src/compiler/glsl/tests/meson.build25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/compiler/glsl/tests/meson.build b/src/compiler/glsl/tests/meson.build
index 02f3355c43c..a7a0a5b7c7f 100644
--- a/src/compiler/glsl/tests/meson.build
+++ b/src/compiler/glsl/tests/meson.build
@@ -30,19 +30,20 @@ test(
suite : ['compiler', 'glsl'],
)
-test(
- 'cache_test',
- executable(
+if with_shader_cache
+ test(
'cache_test',
- 'cache_test.c',
- c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
- include_directories : [inc_common, inc_glsl],
- link_with : [libglsl],
- dependencies : [dep_clock, dep_thread],
- ),
- suite : ['compiler', 'glsl'],
-)
-
+ executable(
+ 'cache_test',
+ 'cache_test.c',
+ c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
+ include_directories : [inc_common, inc_glsl],
+ link_with : [libglsl],
+ dependencies : [dep_clock, dep_thread],
+ ),
+ suite : ['compiler', 'glsl'],
+ )
+endif
test(
'general_ir_test',