radeonsi: don't crash if input_usage_mask is 0 for a VS input
[mesa.git] / src / gallium / tests / unit / meson.build
index afde9840c370d6ec4dba2cdf5797c229869e1053..f94e1058d2cdef3200f11ecc3886e6f2ea71e1d6 100644 (file)
 # SOFTWARE.
 
 foreach t : ['pipe_barrier_test', 'u_cache_test', 'u_half_test',
-             'u_format_test', 'u_format_compatible_test', 'translate_test',
-             'u_prim_verts_test' ]
+             'translate_test', 'u_prim_verts_test']
   exe = executable(
     t,
     '@0@.c'.format(t),
-    include_directories : inc_common,
+    include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
     link_with : libgallium,
     dependencies : idep_mesautil,
     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')
+    test(t, exe, suite: 'gallium',
+         should_fail : meson.get_cross_property('xfail', '').contains(t),
+    )
   endif
 endforeach