From 1bf5e5a011a53cdb561eb2d66163c05aacba7a2c Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 8 Oct 2019 13:38:01 -0700 Subject: [PATCH] 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 --- src/util/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2