Skip to content

Commit

Permalink
tests: Disable Boost extralib test on macOS
Browse files Browse the repository at this point in the history
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: mesonbuild#7535
Signed-off-by: Simon McVittie <smcv@debian.org>
  • Loading branch information
smcv authored and nirbheek committed Aug 4, 2020
1 parent 2447a11 commit 2d218c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test cases/frameworks/1 boost/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2d218c2

Please sign in to comment.