From: Dylan Baker Date: Tue, 8 Oct 2019 20:38:01 +0000 (-0700) Subject: meson/util: Don't run string_buffer tests on mingw X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bf5e5a011a53cdb561eb2d66163c05aacba7a2c;p=mesa.git 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 --- diff --git a/src/util/meson.build b/src/util/meson.build index 096a3d9f902..f69ebe9cab3 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -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