meson/util: Don't run string_buffer tests on mingw

They succeed with MSVC but not with MinGW. I don't understand why they
fail.

Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
Dylan Baker
2019-10-08 13:38:01 -07:00
parent 09d21b554a
commit 1bf5e5a011
+4 -1
View File
@@ -270,7 +270,10 @@ if with_tests
subdir('tests/fast_idiv_by_const')
subdir('tests/fast_urem_by_const')
subdir('tests/hash_table')
subdir('tests/string_buffer')
if not (host_machine.system() == 'windows' and cc.get_id() == 'gcc')
# FIXME: These tests fail with mingw, but not with msvc.
subdir('tests/string_buffer')
endif
if cc.has_header('sys/time.h') # MinGW has this, but Vanilla windows doesn't
subdir('tests/timespec')
endif