summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2019-10-08 13:38:01 -0700
committerDylan Baker <[email protected]>2019-10-10 16:33:04 -0700
commit1bf5e5a011a53cdb561eb2d66163c05aacba7a2c (patch)
tree6ca9ee64f9bccfc332f787ca4c10f9ce4709dc13 /src
parent09d21b554aee2bd60b7b50b0da895e37c4ea683a (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/util/meson.build5
1 files changed, 4 insertions, 1 deletions
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