aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/unit')
-rw-r--r--src/gallium/tests/unit/meson.build12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gallium/tests/unit/meson.build b/src/gallium/tests/unit/meson.build
index 4a97810dfaa..eacbd39b882 100644
--- a/src/gallium/tests/unit/meson.build
+++ b/src/gallium/tests/unit/meson.build
@@ -20,12 +20,16 @@
foreach t : ['pipe_barrier_test', 'u_cache_test', 'u_half_test',
'u_format_test', 'u_format_compatible_test', 'translate_test']
- executable(
+ exe = executable(
t,
'@[email protected]'.format(t),
- include_directories : [inc_common, inc_gallium_drivers, inc_gallium_winsys],
- link_with : [libgallium, libmesa_util, libws_null],
- dependencies : [driver_swrast, dep_thread],
+ include_directories : inc_common,
+ link_with : [libgallium, libmesa_util],
+ dependencies : [dep_thread],
install : false,
)
+ # u_cache_test is slow, and translate_test fails.
+ if not ['u_cache_test', 'translate_test'].contains(t)
+ test(t, exe, suite: 'gallium')
+ endif
endforeach