- test('u_atomic', u_atomic_test)
- test('roundeven', roundeven_test)
+ test(
+ 'roundeven',
+ executable(
+ 'roundeven_test',
+ files('roundeven_test.c'),
+ include_directories : inc_common,
+ 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_common,
+ 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_common,
+ dependencies : [idep_mesautil, idep_gtest],
+ ),
+ suite : ['util'],
+ )