From 52b146dff95b723158efeb7d36a0fc189af0d226 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 4 Aug 2020 10:26:20 +0100 Subject: [PATCH] tests: Disable Boost extralib test on macOS Since upgrading Boost to version 1.73, this test segfaults on macOS when dynamically linked. Disable it to keep the rest of the CI reliable. Mitigates: #7535 Signed-off-by: Simon McVittie --- test cases/frameworks/1 boost/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test cases/frameworks/1 boost/meson.build b/test cases/frameworks/1 boost/meson.build index 6c2336093..5a2e1a1e9 100644 --- a/test cases/frameworks/1 boost/meson.build +++ b/test cases/frameworks/1 boost/meson.build @@ -54,7 +54,11 @@ python3module = shared_library('python3_module', ['python_module.cpp'], dependen test('Boost linktest', linkexe) test('Boost UTF test', unitexe) test('Boost nomod', nomodexe) -test('Boost extralib test', extralibexe) +if host_machine.system() != 'darwin' or s + # Segfaults on macOS with dynamic linking since Boost 1.73 + # https://github.com/mesonbuild/meson/issues/7535 + test('Boost extralib test', extralibexe) +endif # explicitly use the correct python interpreter so that we don't have to provide two different python scripts that have different shebang lines python2interpreter = find_program(python2.path(), required: false, disabler: true)