util: Enable tests that disabled for msvc/mingw

mesa-sha1_test.cpp and string_buffer_test.cpp are working fine now

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18001>
This commit is contained in:
Yonggang Luo 2022-03-31 07:48:50 +08:00 committed by Marge Bot
parent dec40ea4da
commit 007d979dbe

View file

@ -341,10 +341,12 @@ if with_tests
'tests/fast_urem_by_const_test.cpp',
'tests/half_float_test.cpp',
'tests/int_min_max.cpp',
'tests/mesa-sha1_test.cpp',
'tests/rb_tree_test.cpp',
'tests/register_allocate_test.cpp',
'tests/roundeven_test.cpp',
'tests/set_test.cpp',
'tests/string_buffer_test.cpp',
'tests/timespec_test.cpp',
'tests/u_atomic_test.cpp',
'tests/u_debug_stack_test.cpp',
@ -353,20 +355,6 @@ if with_tests
'tests/vector_test.cpp',
)
if not (host_machine.system() == 'windows' and cc.get_id() == 'gcc')
# FIXME: These tests fail with mingw, but not with msvc.
files_util_tests += files(
'tests/string_buffer_test.cpp',
)
endif
# FIXME: this test crashes on windows
if host_machine.system() != 'windows'
files_util_tests += files(
'tests/mesa-sha1_test.cpp',
)
endif
# FIXME: this test cause a big timeout on MacOS
if host_machine.system() != 'darwin'
files_util_tests += files(