+ test(
+ 'rb_tree',
+ executable(
+ 'rb_tree_test',
+ files('rb_tree_test.c'),
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
+ dependencies : idep_mesautil,
+ c_args : [c_msvc_compat_args],
+ ),
+ suite : ['util'],
+ )
+
+ test(
+ 'roundeven',
+ executable(
+ 'roundeven_test',
+ files('roundeven_test.c'),
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
+ c_args : [c_msvc_compat_args],
+ dependencies : [dep_m],
+ ),
+ suite : ['util'],
+ should_fail : meson.get_cross_property('xfail', '').contains('roundeven'),
+ )
+
+ # FIXME: this test crashes on windows
+ if host_machine.system() != 'windows'
+ test(
+ 'mesa-sha1',
+ executable(
+ 'mesa-sha1_test',
+ files('mesa-sha1_test.c'),
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
+ link_with : _libmesa_util,
+ c_args : [c_msvc_compat_args],
+ ),
+ suite : ['util'],
+ )
+ endif
+
+ test(
+ 'bitset',
+ executable(
+ 'bitset_test',
+ files('bitset_test.cpp'),
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
+ dependencies : [idep_mesautil, idep_gtest],
+ ),
+ suite : ['util'],
+ )
+
+ process_test_exe = executable(
+ 'process_test',
+ files('process_test.c'),
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
+ dependencies : idep_mesautil,